comparison MassTraceExtractor.xml @ 13:29d893e855c6 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author galaxyp
date Thu, 01 Dec 2022 19:00:15 +0000
parents d7e537b28220
children 02e876ada338
comparison
equal deleted inserted replaced
12:eafeba6b54fe 13:29d893e855c6
1 <?xml version='1.0' encoding='UTF-8'?> 1 <?xml version='1.0' encoding='UTF-8'?>
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
3 <!--Proposed Tool Section: [Signal processing and preprocessing]--> 3 <!--Proposed Tool Section: [Signal processing and preprocessing]-->
4 <tool id="MassTraceExtractor" name="MassTraceExtractor" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> 4 <tool id="MassTraceExtractor" name="MassTraceExtractor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Detects mass traces in centroided LC-MS data.</description> 5 <description>Detects mass traces in centroided LC-MS data.</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">MassTraceExtractor</token> 7 <token name="@EXECUTABLE@">MassTraceExtractor</token>
8 <import>macros.xml</import> 8 <import>macros.xml</import>
9 <import>macros_autotest.xml</import>
10 <import>macros_test.xml</import>
11 </macros> 9 </macros>
12 <expand macro="requirements"/> 10 <expand macro="requirements"/>
13 <expand macro="stdio"/> 11 <expand macro="stdio"/>
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ 12 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
15 @EXT_FOO@ 13 @EXT_FOO@
39 <configfiles> 37 <configfiles>
40 <inputs name="args_json" data_style="paths"/> 38 <inputs name="args_json" data_style="paths"/>
41 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 39 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
42 </configfiles> 40 </configfiles>
43 <inputs> 41 <inputs>
44 <param name="in" argument="-in" type="data" format="mzml" optional="false" label="input centroided mzML file" help=" select mzml data sets(s)"/> 42 <param argument="-in" type="data" format="mzml" optional="false" label="input centroided mzML file" help=" select mzml data sets(s)"/>
45 <param name="out_type" argument="-out_type" display="radio" type="select" optional="false" label="output file type -- default: determined from file extension or content" help=""> 43 <param argument="-out_type" display="radio" type="select" optional="false" label="output file type -- default: determined from file extension or content" help="">
46 <option value="consensusXML">consensusxml</option> 44 <option value="consensusXML">consensusxml</option>
47 <option value="featureXML">featurexml</option> 45 <option value="featureXML">featurexml</option>
48 <expand macro="list_string_san"/> 46 <expand macro="list_string_san" name="out_type"/>
49 </param> 47 </param>
50 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false"> 48 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false">
51 <section name="common" title="" help="" expanded="false"> 49 <section name="common" title="" help="" expanded="false">
52 <param name="noise_threshold_int" argument="-algorithm:common:noise_threshold_int" type="float" optional="true" value="10.0" label="Intensity threshold below which peaks are regarded as noise" help=""/> 50 <param name="noise_threshold_int" argument="-algorithm:common:noise_threshold_int" type="float" optional="true" value="10.0" label="Intensity threshold below which peaks are regarded as noise" help=""/>
53 <param name="chrom_peak_snr" argument="-algorithm:common:chrom_peak_snr" type="float" optional="true" value="3.0" label="Minimum signal-to-noise a mass trace should have" help=""/> 51 <param name="chrom_peak_snr" argument="-algorithm:common:chrom_peak_snr" type="float" optional="true" value="3.0" label="Minimum signal-to-noise a mass trace should have" help=""/>
54 <param name="chrom_fwhm" argument="-algorithm:common:chrom_fwhm" type="float" optional="true" value="5.0" label="Expected chromatographic peak width (in seconds)" help=""/> 52 <param name="chrom_fwhm" argument="-algorithm:common:chrom_fwhm" type="float" optional="true" value="5.0" label="Expected chromatographic peak width (in seconds)" help=""/>
55 </section> 53 </section>
56 <section name="mtd" title="" help="" expanded="false"> 54 <section name="mtd" title="" help="" expanded="false">
57 <param name="mass_error_ppm" argument="-algorithm:mtd:mass_error_ppm" type="float" optional="true" value="20.0" label="Allowed mass deviation (in ppm)" help=""/> 55 <param name="mass_error_ppm" argument="-algorithm:mtd:mass_error_ppm" type="float" optional="true" value="20.0" label="Allowed mass deviation (in ppm)" help=""/>
58 <param name="reestimate_mt_sd" argument="-algorithm:mtd:reestimate_mt_sd" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Enables dynamic re-estimation of m/z variance during mass trace collection stage" help=""/> 56 <param name="reestimate_mt_sd" argument="-algorithm:mtd:reestimate_mt_sd" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Enables dynamic re-estimation of m/z variance during mass trace collection stage" help=""/>
59 <param name="quant_method" argument="-algorithm:mtd:quant_method" display="radio" type="select" optional="false" label="Method of quantification for mass traces" help="For LC data 'area' is recommended, 'median' for direct injection data. 'max_height' simply uses the most intense peak in the trace"> 57 <param name="quant_method" argument="-algorithm:mtd:quant_method" type="select" optional="true" label="Method of quantification for mass traces" help="For LC data 'area' is recommended, 'median' for direct injection data. 'max_height' simply uses the most intense peak in the trace">
60 <option value="area" selected="true">area</option> 58 <option value="area" selected="true">area</option>
61 <option value="median">median</option> 59 <option value="median">median</option>
62 <option value="max_height">max_height</option> 60 <option value="max_height">max_height</option>
63 <expand macro="list_string_san"/> 61 <expand macro="list_string_san" name="quant_method"/>
64 </param> 62 </param>
65 <param name="trace_termination_criterion" argument="-algorithm:mtd:trace_termination_criterion" display="radio" type="select" optional="false" label="Termination criterion for the extension of mass traces" help="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"> 63 <param name="trace_termination_criterion" argument="-algorithm:mtd:trace_termination_criterion" type="select" optional="true" label="Termination criterion for the extension of mass traces" help="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">
66 <option value="outlier" selected="true">outlier</option> 64 <option value="outlier" selected="true">outlier</option>
67 <option value="sample_rate">sample_rate</option> 65 <option value="sample_rate">sample_rate</option>
68 <expand macro="list_string_san"/> 66 <expand macro="list_string_san" name="trace_termination_criterion"/>
69 </param> 67 </param>
70 <param name="trace_termination_outliers" argument="-algorithm:mtd:trace_termination_outliers" type="integer" optional="true" value="5" label="Mass trace extension in one direction cancels if this number of consecutive spectra with no detectable peaks is reached" help=""/> 68 <param name="trace_termination_outliers" argument="-algorithm:mtd:trace_termination_outliers" type="integer" optional="true" value="5" label="Mass trace extension in one direction cancels if this number of consecutive spectra with no detectable peaks is reached" help=""/>
71 <param name="min_sample_rate" argument="-algorithm:mtd:min_sample_rate" type="float" optional="true" value="0.5" label="Minimum fraction of scans along the mass trace that must contain a peak" help=""/> 69 <param name="min_sample_rate" argument="-algorithm:mtd:min_sample_rate" type="float" optional="true" value="0.5" label="Minimum fraction of scans along the mass trace that must contain a peak" help=""/>
72 <param name="min_trace_length" argument="-algorithm:mtd:min_trace_length" type="float" optional="true" value="5.0" label="Minimum expected length of a mass trace (in seconds)" help=""/> 70 <param name="min_trace_length" argument="-algorithm:mtd:min_trace_length" type="float" optional="true" value="5.0" label="Minimum expected length of a mass trace (in seconds)" help=""/>
73 <param name="max_trace_length" argument="-algorithm:mtd:max_trace_length" type="float" optional="true" value="-1.0" label="Maximum expected length of a mass trace (in seconds)" help="Set to a negative value to disable maximal length check during mass trace detection"/> 71 <param name="max_trace_length" argument="-algorithm:mtd:max_trace_length" type="float" optional="true" value="-1.0" label="Maximum expected length of a mass trace (in seconds)" help="Set to a negative value to disable maximal length check during mass trace detection"/>
74 </section> 72 </section>
75 <section name="epd" title="" help="" expanded="false"> 73 <section name="epd" title="" help="" expanded="false">
76 <param name="width_filtering" argument="-algorithm:epd:width_filtering" display="radio" type="select" optional="false" label="Enable filtering of unlikely peak widths" help="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"> 74 <param name="width_filtering" argument="-algorithm:epd:width_filtering" type="select" optional="true" label="Enable filtering of unlikely peak widths" help="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">
77 <option value="off">off</option> 75 <option value="off">off</option>
78 <option value="fixed" selected="true">fixed</option> 76 <option value="fixed" selected="true">fixed</option>
79 <option value="auto">auto</option> 77 <option value="auto">auto</option>
80 <expand macro="list_string_san"/> 78 <expand macro="list_string_san" name="width_filtering"/>
81 </param> 79 </param>
82 <param name="min_fwhm" argument="-algorithm:epd:min_fwhm" type="float" optional="true" value="1.0" label="Minimum full-width-at-half-maximum of chromatographic peaks (in seconds)" help="Ignored if parameter width_filtering is off or auto"/> 80 <param name="min_fwhm" argument="-algorithm:epd:min_fwhm" type="float" optional="true" value="1.0" label="Minimum full-width-at-half-maximum of chromatographic peaks (in seconds)" help="Ignored if parameter width_filtering is off or auto"/>
83 <param name="max_fwhm" argument="-algorithm:epd:max_fwhm" type="float" optional="true" value="60.0" label="Maximum full-width-at-half-maximum of chromatographic peaks (in seconds)" help="Ignored if parameter width_filtering is off or auto"/> 81 <param name="max_fwhm" argument="-algorithm:epd:max_fwhm" type="float" optional="true" value="60.0" label="Maximum full-width-at-half-maximum of chromatographic peaks (in seconds)" help="Ignored if parameter width_filtering is off or auto"/>
84 <param name="masstrace_snr_filtering" argument="-algorithm:epd:masstrace_snr_filtering" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Apply post-filtering by signal-to-noise ratio after smoothing" help=""/> 82 <param name="masstrace_snr_filtering" argument="-algorithm:epd:masstrace_snr_filtering" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Apply post-filtering by signal-to-noise ratio after smoothing" help=""/>
85 <param name="enabled" argument="-algorithm:epd:enabled" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Enables/disables the chromatographic peak detection of mass traces" help=""/> 83 <param name="enabled" argument="-algorithm:epd:enabled" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Enables/disables the chromatographic peak detection of mass traces" help=""/>
86 </section> 84 </section>
87 </section> 85 </section>
88 <expand macro="adv_opts_macro"> 86 <expand macro="adv_opts_macro">
89 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 87 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
90 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 88 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
91 <expand macro="list_string_san"/> 89 <expand macro="list_string_san" name="test"/>
92 </param> 90 </param>
93 </expand> 91 </expand>
94 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 92 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
95 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 93 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
96 </param> 94 </param>
97 </inputs> 95 </inputs>
98 <outputs> 96 <outputs>
99 <data name="out" label="${tool.name} on ${on_string}: out"> 97 <data name="out" label="${tool.name} on ${on_string}: out" format="consensusxml">
100 <change_format> 98 <change_format>
101 <when input="out_type" value="consensusXML" format="consensusxml"/>
102 <when input="out_type" value="featureXML" format="featurexml"/> 99 <when input="out_type" value="featureXML" format="featurexml"/>
103 </change_format> 100 </change_format>
104 </data> 101 </data>
105 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 102 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
106 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 103 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
107 </data> 104 </data>
108 </outputs> 105 </outputs>
109 <tests> 106 <tests><!-- TOPP_MassTraceExtractor_1 -->
110 <expand macro="autotest_MassTraceExtractor"/> 107 <test expect_num_outputs="2">
111 <expand macro="manutest_MassTraceExtractor"/> 108 <section name="adv_opts">
109 <param name="force" value="false"/>
110 <param name="test" value="true"/>
111 </section>
112 <param name="in" value="MassTraceExtractor_1_input.mzML"/>
113 <output name="out" file="MassTraceExtractor_1_output.featureXML" compare="sim_size" delta_frac="0.7" ftype="featurexml"/>
114 <param name="out_type" value="featureXML"/>
115 <section name="algorithm">
116 <section name="common">
117 <param name="noise_threshold_int" value="10.0"/>
118 <param name="chrom_peak_snr" value="3.0"/>
119 <param name="chrom_fwhm" value="5.0"/>
120 </section>
121 <section name="mtd">
122 <param name="mass_error_ppm" value="20.0"/>
123 <param name="reestimate_mt_sd" value="true"/>
124 <param name="quant_method" value="area"/>
125 <param name="trace_termination_criterion" value="outlier"/>
126 <param name="trace_termination_outliers" value="5"/>
127 <param name="min_sample_rate" value="0.5"/>
128 <param name="min_trace_length" value="5.0"/>
129 <param name="max_trace_length" value="-1.0"/>
130 </section>
131 <section name="epd">
132 <param name="width_filtering" value="off"/>
133 <param name="min_fwhm" value="3.0"/>
134 <param name="max_fwhm" value="60.0"/>
135 <param name="masstrace_snr_filtering" value="false"/>
136 <param name="enabled" value="true"/>
137 </section>
138 </section>
139 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/>
140 <output name="ctd_out" ftype="xml">
141 <assert_contents>
142 <is_valid_xml/>
143 </assert_contents>
144 </output>
145 </test>
146 <!-- TOPP_MassTraceExtractor_2 -->
147 <test expect_num_outputs="2">
148 <section name="adv_opts">
149 <param name="force" value="false"/>
150 <param name="test" value="true"/>
151 </section>
152 <param name="in" value="MassTraceExtractor_1_input.mzML"/>
153 <output name="out" file="MassTraceExtractor_2_output.featureXML" compare="sim_size" delta_frac="0.7" ftype="featurexml"/>
154 <param name="out_type" value="featureXML"/>
155 <section name="algorithm">
156 <section name="common">
157 <param name="noise_threshold_int" value="10.0"/>
158 <param name="chrom_peak_snr" value="3.0"/>
159 <param name="chrom_fwhm" value="5.0"/>
160 </section>
161 <section name="mtd">
162 <param name="mass_error_ppm" value="20.0"/>
163 <param name="reestimate_mt_sd" value="true"/>
164 <param name="quant_method" value="area"/>
165 <param name="trace_termination_criterion" value="outlier"/>
166 <param name="trace_termination_outliers" value="5"/>
167 <param name="min_sample_rate" value="0.5"/>
168 <param name="min_trace_length" value="6.0"/>
169 <param name="max_trace_length" value="12.0"/>
170 </section>
171 <section name="epd">
172 <param name="width_filtering" value="off"/>
173 <param name="min_fwhm" value="3.0"/>
174 <param name="max_fwhm" value="60.0"/>
175 <param name="masstrace_snr_filtering" value="false"/>
176 <param name="enabled" value="true"/>
177 </section>
178 </section>
179 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/>
180 <output name="ctd_out" ftype="xml">
181 <assert_contents>
182 <is_valid_xml/>
183 </assert_contents>
184 </output>
185 </test>
112 </tests> 186 </tests>
113 <help><![CDATA[Detects mass traces in centroided LC-MS data. 187 <help><![CDATA[Detects mass traces in centroided LC-MS data.
114 188
115 189
116 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_MassTraceExtractor.html]]></help> 190 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_MassTraceExtractor.html]]></help>
117 <expand macro="references"/> 191 <expand macro="references"/>
118 </tool> 192 </tool>