0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="MassTraceExtractor" name="MassTraceExtractor" version="2.0.0">
|
|
3 <description>Detects mass traces in centroided LC-MS data.</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">MassTraceExtractor</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>MassTraceExtractor
|
|
11
|
|
12 #if $param_in:
|
|
13 -in $param_in
|
|
14 #end if
|
|
15 #if $param_out:
|
|
16 -out $param_out
|
|
17 #end if
|
|
18 #if $param_out_type:
|
|
19 -out_type
|
|
20 #if " " in str($param_out_type):
|
|
21 "$param_out_type"
|
|
22 #else
|
|
23 $param_out_type
|
|
24 #end if
|
|
25 #end if
|
|
26 -threads \${GALAXY_SLOTS:-24}
|
|
27 #if $param_algorithm_common_noise_threshold_int:
|
|
28 -algorithm:common:noise_threshold_int $param_algorithm_common_noise_threshold_int
|
|
29 #end if
|
|
30 #if $param_algorithm_common_chrom_peak_snr:
|
|
31 -algorithm:common:chrom_peak_snr $param_algorithm_common_chrom_peak_snr
|
|
32 #end if
|
|
33 #if $param_algorithm_common_chrom_fwhm:
|
|
34 -algorithm:common:chrom_fwhm $param_algorithm_common_chrom_fwhm
|
|
35 #end if
|
|
36 #if $param_algorithm_mtd_mass_error_ppm:
|
|
37 -algorithm:mtd:mass_error_ppm $param_algorithm_mtd_mass_error_ppm
|
|
38 #end if
|
|
39 #if $param_algorithm_mtd_reestimate_mt_sd:
|
|
40 -algorithm:mtd:reestimate_mt_sd
|
|
41 #end if
|
|
42 #if $param_algorithm_epd_width_filtering:
|
|
43 -algorithm:epd:width_filtering
|
|
44 #if " " in str($param_algorithm_epd_width_filtering):
|
|
45 "$param_algorithm_epd_width_filtering"
|
|
46 #else
|
|
47 $param_algorithm_epd_width_filtering
|
|
48 #end if
|
|
49 #end if
|
|
50 #if $param_algorithm_epd_enabled:
|
|
51 -algorithm:epd:enabled
|
|
52 #end if
|
|
53 #if $adv_opts.adv_opts_selector=='advanced':
|
|
54 #if $adv_opts.param_force:
|
|
55 -force
|
|
56 #end if
|
|
57 #if $adv_opts.param_algorithm_mtd_trace_termination_criterion:
|
|
58 -algorithm:mtd:trace_termination_criterion
|
|
59 #if " " in str($adv_opts.param_algorithm_mtd_trace_termination_criterion):
|
|
60 "$adv_opts.param_algorithm_mtd_trace_termination_criterion"
|
|
61 #else
|
|
62 $adv_opts.param_algorithm_mtd_trace_termination_criterion
|
|
63 #end if
|
|
64 #end if
|
|
65 #if $adv_opts.param_algorithm_mtd_trace_termination_outliers:
|
|
66 -algorithm:mtd:trace_termination_outliers $adv_opts.param_algorithm_mtd_trace_termination_outliers
|
|
67 #end if
|
|
68 #if $adv_opts.param_algorithm_mtd_min_sample_rate:
|
|
69 -algorithm:mtd:min_sample_rate $adv_opts.param_algorithm_mtd_min_sample_rate
|
|
70 #end if
|
|
71 #if $adv_opts.param_algorithm_mtd_min_trace_length:
|
|
72 -algorithm:mtd:min_trace_length $adv_opts.param_algorithm_mtd_min_trace_length
|
|
73 #end if
|
|
74 #if $adv_opts.param_algorithm_mtd_max_trace_length:
|
|
75 -algorithm:mtd:max_trace_length $adv_opts.param_algorithm_mtd_max_trace_length
|
|
76 #end if
|
|
77 #if $adv_opts.param_algorithm_epd_min_fwhm:
|
|
78 -algorithm:epd:min_fwhm $adv_opts.param_algorithm_epd_min_fwhm
|
|
79 #end if
|
|
80 #if $adv_opts.param_algorithm_epd_max_fwhm:
|
|
81 -algorithm:epd:max_fwhm $adv_opts.param_algorithm_epd_max_fwhm
|
|
82 #end if
|
|
83 #if $adv_opts.param_algorithm_epd_masstrace_snr_filtering:
|
|
84 -algorithm:epd:masstrace_snr_filtering
|
|
85 #end if
|
|
86 #end if
|
|
87 </command>
|
|
88 <inputs>
|
|
89 <param name="param_in" type="data" format="mzml" optional="False" label="input centroided mzML file" help="(-in) "/>
|
|
90 <param name="param_out_type" type="select" optional="True" label="output file type -- default: determined from file extension or content" help="(-out_type) ">
|
|
91 <option value="featureXML">featureXML</option>
|
|
92 <option value="consensusXML">consensusXML</option>
|
|
93 </param>
|
|
94 <param name="param_algorithm_common_noise_threshold_int" type="float" value="10.0" label="Intensity threshold below which peaks are regarded as noise" help="(-noise_threshold_int) "/>
|
|
95 <param name="param_algorithm_common_chrom_peak_snr" type="float" value="3.0" label="Minimum signal-to-noise a mass trace should have" help="(-chrom_peak_snr) "/>
|
|
96 <param name="param_algorithm_common_chrom_fwhm" type="float" value="5.0" label="Expected chromatographic peak width (in seconds)" help="(-chrom_fwhm) "/>
|
|
97 <param name="param_algorithm_mtd_mass_error_ppm" type="float" value="20.0" label="Allowed mass deviation (in ppm)" help="(-mass_error_ppm) "/>
|
|
98 <param name="param_algorithm_mtd_reestimate_mt_sd" type="boolean" truevalue="-algorithm:mtd:reestimate_mt_sd" falsevalue="" checked="true" optional="True" label="Enables dynamic re-estimation of m/z variance during mass trace collection stage" help="(-reestimate_mt_sd) "/>
|
|
99 <param name="param_algorithm_epd_width_filtering" type="select" optional="True" value="fixed" label="Enable filtering of unlikely peak widths" help="(-width_filtering) The fixed setting filters out mass traces outside the [min_fwhm, max_fwhm] interval (set parameters accordingly!). The auto setting filters with the 5 and 95% quantiles of the peak width distribution">
|
|
100 <option value="off">off</option>
|
|
101 <option value="fixed">fixed</option>
|
|
102 <option value="auto">auto</option>
|
|
103 </param>
|
|
104 <param name="param_algorithm_epd_enabled" type="boolean" truevalue="-algorithm:epd:enabled" falsevalue="" checked="true" optional="True" label="Enables/disables the chromatographic peak detection of mass traces" help="(-enabled) "/>
|
|
105 <expand macro="advanced_options">
|
|
106 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
107 <param name="param_algorithm_mtd_trace_termination_criterion" type="select" optional="True" value="outlier" label="Termination criterion for the extension of mass traces" help="(-trace_termination_criterion) In 'outlier' mode, trace extension cancels if a predefined number of consecutive outliers are found (see trace_termination_outliers parameter). In 'sample_rate' mode, trace extension in both directions stops if ratio of found peaks versus visited spectra falls below the 'min_sample_rate' threshold">
|
|
108 <option value="outlier">outlier</option>
|
|
109 <option value="sample_rate">sample_rate</option>
|
|
110 </param>
|
|
111 <param name="param_algorithm_mtd_trace_termination_outliers" type="integer" value="5" label="Mass trace extension in one direction cancels if this number of consecutive spectra with no detectable peaks is reached" help="(-trace_termination_outliers) "/>
|
|
112 <param name="param_algorithm_mtd_min_sample_rate" type="float" value="0.5" label="Minimum fraction of scans along the mass trace that must contain a peak" help="(-min_sample_rate) "/>
|
|
113 <param name="param_algorithm_mtd_min_trace_length" type="float" value="5.0" label="Minimum expected length of a mass trace (in seconds)" help="(-min_trace_length) "/>
|
|
114 <param name="param_algorithm_mtd_max_trace_length" type="float" value="300.0" label="Minimum expected length of a mass trace (in seconds)" help="(-max_trace_length) "/>
|
|
115 <param name="param_algorithm_epd_min_fwhm" type="float" value="3.0" label="Minimum full-width-at-half-maximum of chromatographic peaks (in seconds)" help="(-min_fwhm) Ignored if paramter width_filtering is off or auto"/>
|
|
116 <param name="param_algorithm_epd_max_fwhm" type="float" value="60.0" label="Maximum full-width-at-half-maximum of chromatographic peaks (in seconds)" help="(-max_fwhm) Ignored if paramter width_filtering is off or auto"/>
|
|
117 <param name="param_algorithm_epd_masstrace_snr_filtering" type="boolean" truevalue="-algorithm:epd:masstrace_snr_filtering" falsevalue="" checked="false" optional="True" label="Apply post-filtering by signal-to-noise ratio after smoothing" help="(-masstrace_snr_filtering) "/>
|
|
118 </expand>
|
|
119 </inputs>
|
|
120 <outputs>
|
|
121 <data name="param_out" format="featurexml"/>
|
|
122 </outputs>
|
|
123 <help>**What it does**
|
|
124
|
|
125 Detects mass traces in centroided LC-MS data.
|
|
126
|
|
127
|
|
128 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_MassTraceExtractor.html</help>
|
|
129 <expand macro="references"/>
|
|
130 </tool>
|