timsCompare

MIT License Python 3.8+ Latest Release

A desktop application for mass spectrometry users to load, view, compare, and export methods from Bruker’s .d or .m method directories.

Main_window


About The Project

timsCompare is a desktop application developed for mass spectrometry users to efficiently analyze instrument method files. Built with Python and customtkinter, it provides an intuitive graphical interface to parse, visualize, and compare metadata from Bruker’s .d and .m method directories.

The application can handle various acquisition modes, including PASEF, dia-PASEF, diagonal-PASEF, and more.

Key Features


Getting Started

The recommended way to use timsCompare is to download the pre-compiled installer via the release page.

Installation

  1. Download: Go to the Releases Page and download the timsCompare_Setup_vX.X.zip file from the latest release.
  2. Extract: Unzip the downloaded file and run the installer.
  3. Run: Open timsCompare from the start menu or a shortcut to start the application.

How to Use

Loading Data

The parameter values of the loaded datasets are compared, and differences are highlighted in bold text.

Adding Parameters

After loading your data, you can add more parameters to the comparison table:

  1. Click the Add Parameters button in the top toolbar.
  2. In the new window, search or scroll to find the parameters you wish to add.
  3. Select the desired parameters using the checkboxes.
  4. Click Apply to add them to the main view.

Parameters

Session Management

timsCompare allows you to save your current work as a “Snapshot”:

  1. Load your data and configure your view (add parameters, select segments).
  2. Click the Save Session button.
  3. This creates a .tcs file which embeds all necessary metadata and scan geometry.
  4. You can send this file to colleagues or open it later to resume analysis, even if you no longer have access to the original raw data drives.

Generating Reports

The Report Wizard handles both batch documentation and comparison overviews.

  1. Load your datasets.
  2. Click the Export button and select Report Wizard.
  3. Select Datasets: Choose which loaded files to include.
  4. Select Parameters: The current view is selected by default, but you can customize it here.
  5. Output Settings:
    • Report Type: Choose between Method Report (individual file details) or Comparison Report (side-by-side comparison table).
    • Format: PDF or CSV.
    • Options: Toggle Plots, Filename Headers, or export All Segments vs. Active Segment.

Report_Wizard

Exporting Scan Windows

This feature is available for PASEF, dia-PASEF, and diagonal-PASEF methods and allows you to save the scan window definitions to a text file.

  1. Load the dataset containing the scan windows you wish to export.
  2. In the bottom-left corner of the window, select the correct dataset from the File dropdown menu.
  3. Click the Export button and select Windows from the menu.
  4. A save dialog will open, allowing you to choose a location and name for the exported .txt file.
  5. Exported diagonal-PASEF and dia-PASEF windows can directly be imported into timsControl. For PASEF methods, the polygon has to be created manually in timsControl using the x,y coordinates from the exported .txt

Customizing the Default View

You can change the default set of parameters that are loaded for each scan mode:

  1. Click the Manage Views button in the top toolbar.
  2. In the new window, select the Scan Mode (e.g., “General”, “dia-PASEF”) you wish to edit.
  3. Use the Group and Search filters to find parameters in the “Available Parameters” list.
  4. Use the > and < buttons (or double-click) to move parameters to the “Default View Parameters” list.
  5. Reorder the parameters in the right-hand list using drag-and-drop or the Up/Down buttons.
  6. Click Save Changes. The application will now use this new layout as the default for that scan mode (a restart may be required).

Manage_Views


Disclaimer

timsCompare is an independent, third-party tool and is not an official Bruker product, nor is it affiliated with or supported by Bruker. If you encounter bugs or wrong values being displayed, please let me know via the Issues section.

License

Distributed under the MIT License. See LICENSE for more information.