OpenMS
OpenSwathChromatogramExtractor

Extracts chromatograms (XICs) from a file containing spectra.

potential predecessor tools → OpenSwathChromatogramExtractor → potential successor tools
FileFilter OpenSwathAnalyzer
OpenSwathRTNormalizer

This module extracts ion traces (extracted ion chromatograms or XICs) from a file containing spectra. The masses at which the chromatograms should be extracted are stored in a TraML file and the result is stored in a mzML file holding chromatograms. This tool is designed to extract chromatograms from either SWATH (data independent acquisition) data (see ref[1]) or from MS1 data. For SWATH data it will extract the m/z found in the product ion section of the TraML transitions, returning as many chromatograms as input transitions were provided – while for MS1 data it will extract at the precursor ion m/z.

The input assay library or transition list is provided via the -tr flag and needs to be in TraML format. More information about the input filetype can be found in TraML.

The input MS file (MS1 file or DIA / SWATH file) is provided through the -in flag. If you are extracting MS1 data, use the -extract_MS1 flag, otherwise use the -is_swath flag. If you are extracting MS1 XIC only, make sure you do not have any MS2 spectra in your input, filter them out using the FileFilter.

For SWATH data, the -is_swath flag which will check the precursor isolation window of the first scan and assume all scans in that file were recorded with this precursor window (thus making it necessary to provide one input file per SWATH window). The module will then only extract transitions whose precursors fall into the corresponding isolation window.

By default, the whole RT range is extracted, however the -rt_window parameter allows extraction of a subset of the RT range. In case the assay library RT values are not absolute retention times but normalized ones, an optional transformation function can be provided with -rt_norm parameter, mapping the normalized RT space to the experimental RT space. See OpenSwathRTNormalizer for further information.

For the extraction method, two convolution functions are available: top-hat and bartlett. While top-hat will just sum up the signal within a quadratic window, bartlett will weigh the signal in the center of the window more than the signal on the edge.

[1] Gillet LC, Navarro P, Tate S, Rost H, Selevsek N, Reiter L, Bonner R, Aebersold R.
Targeted data extraction of the MS/MS spectra generated by data-independent acquisition: a new concept for consistent and accurate proteome analysis.
Mol Cell Proteomics. 2012 Jun;11(6):O111.016717.

The command line parameters of this tool are:

OpenSwathChromatogramExtractor -- Extract chromatograms (XIC) from a MS2 map file.
Full documentation: http://www.openms.de/doxygen/release/3.2.0/html/TOPP_OpenSwathChromatogramExtractor.html
Version: 3.2.0 Nov 18 2024, 16:14:00, Revision: 03223c3
To cite OpenMS:
 + Pfeuffer, J., Bielow, C., Wein, S. et al.. OpenMS 3 enables reproducible analysis of large-scale mass spec
   trometry data. Nat Methods (2024). doi:10.1038/s41592-024-02197-7.

Usage:
  OpenSwathChromatogramExtractor <options>

Options (mandatory options marked with '*'):
  -in <files>*                   Input files separated by blank (valid formats: 'mzML')
  -tr <file>*                    Transition file ('TraML' or 'csv') (valid formats: 'csv', 'traML')
  -rt_norm <file>                RT normalization file (how to map the RTs of this run to the ones stored in 
                                 the library) (valid formats: 'trafoXML')
  -out <file>*                   Output file (valid formats: 'mzML')
  -min_upper_edge_dist <double>  Minimal distance to the edge to still consider a precursor, in Thomson (defa
                                 ult: '0.0')
  -rt_window <double>            Extraction window in RT dimension (-1 means extract over the whole range). 
                                 This is the full window size, e.g. a value of 1000 seconds would extract 
                                 500 seconds on either side. (default: '-1.0')
  -ion_mobility_window <double>  Extraction window in ion mobility dimension (in milliseconds). This is the 
                                 full window size, e.g. a value of 10 milliseconds would extract 5 millisecon
                                 ds on either side. (default: '-1.0')
  -mz_window <double>            Extraction window in m/z dimension (in Thomson, to use ppm see -ppm flag). 
                                 This is the full window size, e.g. 100 ppm would extract 50 ppm on either 
                                 side. (default: '0.05') (min: '0.0')
  -ppm                           M/z extraction_window is in ppm
  -is_swath                      Set this flag if the data is SWATH data
  -extract_MS1                   Extract the MS1 transitions based on the precursor values in the TraML file 
                                 (useful for extracting MS1 XIC)
                                 
Common TOPP options:
  -ini <file>                    Use the given TOPP INI file
  -threads <n>                   Sets the number of threads allowed to be used by the TOPP tool (default: 
                                 '1')
  -write_ini <file>              Writes the default configuration file
  --help                         Shows options
  --helphelp                     Shows all options (including advanced)

INI file documentation of this tool:

Legend:
required parameter
advanced parameter
+OpenSwathChromatogramExtractorExtract chromatograms (XIC) from a MS2 map file.
version3.2.0 Version of the tool that generated this parameters file.
++1Instance '1' section for 'OpenSwathChromatogramExtractor'
in[] Input files separated by blankinput file*.mzML
tr transition file ('TraML' or 'csv')input file*.csv, *.traML
rt_norm RT normalization file (how to map the RTs of this run to the ones stored in the library)input file*.trafoXML
out output fileoutput file*.mzML
min_upper_edge_dist0.0 Minimal distance to the edge to still consider a precursor, in Thomson
rt_window-1.0 Extraction window in RT dimension (-1 means extract over the whole range). This is the full window size, e.g. a value of 1000 seconds would extract 500 seconds on either side.
ion_mobility_window-1.0 Extraction window in ion mobility dimension (in milliseconds). This is the full window size, e.g. a value of 10 milliseconds would extract 5 milliseconds on either side.
mz_window0.05 Extraction window in m/z dimension (in Thomson, to use ppm see -ppm flag). This is the full window size, e.g. 100 ppm would extract 50 ppm on either side.0.0:∞
ppmfalse m/z extraction_window is in ppmtrue, false
is_swathfalse Set this flag if the data is SWATH datatrue, false
extract_MS1false Extract the MS1 transitions based on the precursor values in the TraML file (useful for extracting MS1 XIC)true, false
extraction_functiontophat Function used to extract the signaltophat, bartlett
log Name of log file (created only when specified)
debug0 Sets the debug level
threads1 Sets the number of threads allowed to be used by the TOPP tool
no_progressfalse Disables progress logging to command linetrue, false
forcefalse Overrides tool-specific checkstrue, false
testfalse Enables the test mode (needed for internal use only)true, false
+++modelOptions to control the modeling of retention time transformations from data
typelinear Type of modellinear, b_spline, interpolated, lowess
symmetric_regressionfalse Only for 'linear' model: Perform linear regression on 'y - x' vs. 'y + x', instead of on 'y' vs. 'x'.true, false