0
|
1 <tool id="mzmatch_extract_mass_chromatograms" version="0.1.0" name="Extract Mass Chromatograms">
|
|
2 <description>
|
|
3 </description>
|
|
4 <macros>
|
|
5 <import>macros.xml</import>
|
|
6 </macros>
|
|
7 <expand macro="stdio" />
|
|
8 <expand macro="requires" />
|
|
9 <command interpreter="python">
|
|
10 mzmatch_wrapper.py
|
|
11 --executable '__SHELL__' --config $setup
|
|
12 --executable 'ExtractMassChromatograms' --config $config
|
|
13 </command>
|
|
14 <configfiles>
|
|
15 <configfile name="setup">ln -s $input1 input.${input1.ext}</configfile>
|
|
16 <configfile name="config">-ppm $ppm -i input.${input1.ext} -o $output #if $threshold.specify# -threshold $threshold.threshold #end if#</configfile>
|
|
17 </configfiles>
|
|
18 <inputs>
|
|
19 <param name="input1" label="Input" type="data" format="mzml,mzxml" />
|
|
20 <param name="ppm" label="ppm" value="3" type="float" help="The accuracy of the measurement in parts-per-milion. This value is used for the collection of the data-points belonging to a mass trace and needs to be reasonable for the equipment used to make the measurement (the LTQ-Orbitrap manages approximatetly 3 ppm)." />
|
|
21 <conditional name="threshold">
|
|
22 <param name="specify" type="boolean" label="Specify Threshold" />
|
|
23 <when value="false">
|
|
24 </when>
|
|
25 <when value="true">
|
|
26 <param name="threshold" type="float" value="0.02" label="Treshold" help="The percentage threshold value for breaking the mass traces up, as a percentage of the most intense portion of a mass trace. The threshold value is a percentage and required to be between 0 and 1." />
|
|
27 </when>
|
|
28 </conditional>
|
|
29 </inputs>
|
|
30 <outputs>
|
|
31 <data format="peakml" name="output" />
|
|
32 </outputs>
|
|
33 <help>
|
|
34 **What it does**
|
|
35
|
|
36 Extracts mass chromatograms (x-axis: RT; y-axis: Intensity) from 2D mass spectrometry data (LC/MS or GC/MS). The raw data is loaded from the open standard file formats (mzML, mzXML or mzData) and all of the individidual mass traces (M/Z +/- ppm over the whole scan range) are retrieved. When the option 'threshold' is defined, the individual mass traces are broken up into individual mass chromatograms (ie the isomers are separated). This is achieved by cutting peaks out of the mass trace where the threshold is reached (as a percentage of the most intense portion of the mass trace). This is an iterative process, where the sides are then analyzed in the same fashion.
|
|
37
|
|
38 The method employed here for retrieving mass chromatograms is greedy and extracts everything (although a modicum of noise reduction is applied to reduce the amount of fragments from broken up mass chromatograms). In order to reduce the resulting noise patterns, tools like 'mzmatch.filter.NoiseFilter' and 'mzmatch.filter.RSDFilter' can be employed.
|
|
39
|
|
40 The resulting output file is in PeakML-format, containing a list of all the extracted mass chromatograms. When the cutoff value has been selected, one can also specify a file (option 'masstraces') where the extracted mass chromatograms are overlaid on the mass traces they have been cut from.
|
|
41
|
|
42 **Citation**
|
|
43
|
|
44 For the underlying tool, please cite ``PeakML/mzMatch: A File Format, Java Library, R Library, and Tool-Chain for Mass Spectrometry Data Analysis. Richard A. Scheltema, Andris Jankevics, Ritsert C. Jansen, Morris A. Swertz, and Rainer Breitling. Analytical Chemistry 2011 83 (7), pp 2786-2793``
|
|
45
|
|
46 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-mzmatch
|
|
47 </help>
|
|
48 </tool>
|