annotate extract_mass_chromatograms.xml @ 0:201a15633354 draft default tip

Initial commit.
author galaxyp
date Fri, 10 May 2013 17:28:02 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
1 <tool id="mzmatch_extract_mass_chromatograms" version="0.1.0" name="Extract Mass Chromatograms">
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
2 <description>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
3 </description>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
4 <macros>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
5 <import>macros.xml</import>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
6 </macros>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
7 <expand macro="stdio" />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
8 <expand macro="requires" />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
9 <command interpreter="python">
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
10 mzmatch_wrapper.py
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
11 --executable '__SHELL__' --config $setup
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
12 --executable 'ExtractMassChromatograms' --config $config
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
13 </command>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
14 <configfiles>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
15 <configfile name="setup">ln -s $input1 input.${input1.ext}</configfile>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
16 <configfile name="config">-ppm $ppm -i input.${input1.ext} -o $output #if $threshold.specify# -threshold $threshold.threshold #end if#</configfile>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
17 </configfiles>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
18 <inputs>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
19 <param name="input1" label="Input" type="data" format="mzml,mzxml" />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
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)." />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
21 <conditional name="threshold">
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
22 <param name="specify" type="boolean" label="Specify Threshold" />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
23 <when value="false">
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
24 </when>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
25 <when value="true">
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
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." />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
27 </when>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
28 </conditional>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
29 </inputs>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
30 <outputs>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
31 <data format="peakml" name="output" />
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
32 </outputs>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
33 <help>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
34 **What it does**
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
35
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
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.
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
37
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
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.
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
39
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
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.
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
41
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
42 **Citation**
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
43
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
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``
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
45
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
46 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-mzmatch
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
47 </help>
201a15633354 Initial commit.
galaxyp
parents:
diff changeset
48 </tool>