comparison abims_xcms_xcmsSet.xml @ 33:c363b9f1caef draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 7b226c3ba91a3cf654ec1c14b3ef85090968bb0f
author lecorguille
date Mon, 05 Mar 2018 04:15:34 -0500
parents 2bf1cb023c94
children efd23113d5f4
comparison
equal deleted inserted replaced
32:2bf1cb023c94 33:c363b9f1caef
16 #else 16 #else
17 zipfile '$input' 17 zipfile '$input'
18 #end if 18 #end if
19 19
20 BPPARAM \${GALAXY_SLOTS:-1} 20 BPPARAM \${GALAXY_SLOTS:-1}
21
22 #if $filterSection.filterAcquisitionNum != "":
23 filterAcquisitionNum "c($filterSection.filterAcquisitionNum)"
24 #end if
25 #if $filterSection.filterRt != "":
26 filterRt "c($filterSection.filterRt)"
27 #end if
28 #if $filterSection.filterMz != "":
29 filterMz "c($filterSection.filterMz)"
30 #end if
31
21 method $methods.method 32 method $methods.method
22 33
23 #if $methods.method == "CentWave": 34 #if $methods.method == "CentWave":
24 ppm $methods.ppm 35 ppm $methods.ppm
25 peakwidth "c($methods.peakwidth)" 36 peakwidth "c($methods.peakwidth)"
62 73
63 <inputs> 74 <inputs>
64 75
65 <param name="input" type="data" format="mzxml,mzml,mzdata,netcdf,no_unzip.zip,zip" label="File(s) from your history containing your chromatograms" help="Single file mode for the format: mzxml, mzml, mzdata and netcdf. Zip file mode for the format: no_unzip.zip, zip. See the help section below." /> 76 <param name="input" type="data" format="mzxml,mzml,mzdata,netcdf,no_unzip.zip,zip" label="File(s) from your history containing your chromatograms" help="Single file mode for the format: mzxml, mzml, mzdata and netcdf. Zip file mode for the format: no_unzip.zip, zip. See the help section below." />
66 77
67 <!--@TODO <param argument="scanrange" type="text" value="" label="scanrange" help="scan range to process, for example (16,365)" > 78 <section name="filterSection" title="Spectra Filters" expanded="False">
68 Should be replaced by MSnBase::filterAcquisition 79 <param argument="filterAcquisitionNum" type="text" value="" optional="true" label="Filter on Acquisition Numbers" help="min,max">
69 --> 80 <expand macro="input_validator_range_integer"/>
81 </param>
82 <param argument="filterRt" type="text" value="" optional="true" label="Filter on Retention Time" help="min,max">
83 <expand macro="input_validator_range_integer"/>
84 </param>
85 <param argument="filterMz" type="text" value="" optional="true" label="Filter on Mz" help="min,max">
86 <expand macro="input_validator_range_integer"/>
87 </param>
88 </section>
70 89
71 <conditional name="methods"> 90 <conditional name="methods">
72 <param name="method" type="select" label="Extraction method for peaks detection" help="[method] See the help section below"> 91 <param name="method" type="select" label="Extraction method for peaks detection" help="See the help section below">
73 <option value="MatchedFilter" selected="true">MatchedFilter - peak detection in chromatographic space</option> 92 <option value="MatchedFilter" selected="true">MatchedFilter - peak detection in chromatographic space</option>
74 <option value="CentWave">CentWave - chromatographic peak detection using the centWave method</option> 93 <option value="CentWave">CentWave - chromatographic peak detection using the centWave method</option>
75 <option value="MSW">MSW - single-spectrum non-chromatography MS data peak detection</option> 94 <option value="MSW">MSW - single-spectrum non-chromatography MS data peak detection</option>
76 </param> 95 </param>
77 96
78 <!-- centWave Filter options --> 97 <!-- centWave Filter options -->
79 <when value="CentWave"> 98 <when value="CentWave">
80 <param argument="ppm" type="integer" value="25" label="Max tolerated ppm m/z deviation in consecutive scans in ppm" help="for the initial ROI definition." /> 99 <param argument="ppm" type="integer" value="25" label="Max tolerated ppm m/z deviation in consecutive scans in ppm" help="for the initial ROI definition." />
81 <param argument="peakwidth" type="text" value="20,50" label="Min,Max peak width in seconds" help="with the expected approximate peak width in chromatographic space." /> 100 <param argument="peakwidth" type="text" value="20,50" label="Min,Max peak width in seconds" help="with the expected approximate peak width in chromatographic space.">
101 <expand macro="input_validator_range_float"/>
102 </param>
82 103
83 <section name="CentWaveAdv" title="Advanced Options" expanded="False"> 104 <section name="CentWaveAdv" title="Advanced Options" expanded="False">
84 <param argument="snthresh" type="integer" value="10" label="Signal to Noise ratio cutoff" /> 105 <param argument="snthresh" type="integer" value="10" label="Signal to Noise ratio cutoff" />
85 <param argument="prefilter" type="text" value="3,100" label="Prefilter step for for the first analysis step (ROI detection)" help="Separate by coma k, I. Mass traces are only retained if they contain at least ‘k‘ peaks with intensity ‘>= I‘." /> 106 <param argument="prefilter" type="text" value="3,100" label="Prefilter step for for the first analysis step (ROI detection)" help="Separate by coma k, I. Mass traces are only retained if they contain at least ‘k‘ peaks with intensity ‘>= I‘.">
107 <expand macro="input_validator_range_integer"/>
108 </param>
86 <param argument="mzCenterFun" type="select" label="Name of the function to calculate the m/z center of the chromatographic peak" > 109 <param argument="mzCenterFun" type="select" label="Name of the function to calculate the m/z center of the chromatographic peak" >
87 <option value="wMean">intensity weighted mean of the peak's m/z values</option> 110 <option value="wMean">intensity weighted mean of the peak's m/z values</option>
88 <option value="mean">mean of the peak's m/z values</option> 111 <option value="mean">mean of the peak's m/z values</option>
89 <option value="apex">use the m/z value at the peak apex</option> 112 <option value="apex">use the m/z value at the peak apex</option>
90 <option value="wMeanApex3">ntensity weighted mean of the m/z value at the peak apex and the m/z values left and right of it</option> 113 <option value="wMeanApex3">ntensity weighted mean of the m/z value at the peak apex and the m/z values left and right of it</option>
136 <!-- MSW Filter options --> 159 <!-- MSW Filter options -->
137 <when value="MSW"> 160 <when value="MSW">
138 <!---@TODO <param argument="winSize_noise" type="integer" value="500" label="The local window size to estimate the noise level" help="[winSize.noise]" />--> 161 <!---@TODO <param argument="winSize_noise" type="integer" value="500" label="The local window size to estimate the noise level" help="[winSize.noise]" />-->
139 <param argument="snthresh" type="integer" value="3" label="Signal to Noise ratio cutoff" help="" /> 162 <param argument="snthresh" type="integer" value="3" label="Signal to Noise ratio cutoff" help="" />
140 <param argument="verboseColumns" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="verbose Columns" help="whether additional peak meta data columns should be returned" /> 163 <param argument="verboseColumns" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="verbose Columns" help="whether additional peak meta data columns should be returned" />
141 <param argument="scales" type="text" value="1,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64" label="Scales of the Continuous Wavelet Transform (CWT)" help="Scales are linked to the width of the peaks that are to be detected." /> 164 <param argument="scales" type="text" value="1,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64" label="Scales of the Continuous Wavelet Transform (CWT)" help="Scales are linked to the width of the peaks that are to be detected." >
165 <expand macro="input_validator_list_integer"/>
166 </param>
142 <param argument="nearbyPeak" type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="Determine whether to include the nearby small peaks of major peaks" /> 167 <param argument="nearbyPeak" type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="Determine whether to include the nearby small peaks of major peaks" />
143 <!-- peakScaleRange --> 168 <!-- peakScaleRange -->
144 <param argument="ampTh" type="float" value="0.01" label="Minimum required relative amplitude of the peak" help="Ratio to the maximum of CWT coefficients" /> 169 <param argument="ampTh" type="float" value="0.01" label="Minimum required relative amplitude of the peak" help="Ratio to the maximum of CWT coefficients" />
145 <!-- minNoiseLevel --> 170 <!-- minNoiseLevel -->
146 <!-- ridgeLength --> 171 <!-- ridgeLength -->
163 188
164 <tests> 189 <tests>
165 190
166 <test> 191 <test>
167 <param name="input" value="faahKO_reduce.zip" ftype="zip" /> 192 <param name="input" value="faahKO_reduce.zip" ftype="zip" />
193 <section name="filterSection">
194 <param name="filterAcquisitionNum" value="100,5000" />
195 <param name="filterRt" value="3000,4000" />
196 <param name="filterMz" value="300,400" />
197 </section>
168 <conditional name="methods"> 198 <conditional name="methods">
169 <param name="method" value="CentWave" /> 199 <param name="method" value="CentWave" />
170 <param name="ppm" value="25" /> 200 <param name="ppm" value="25" />
171 <param name="peakwidth" value="20,50" /> 201 <param name="peakwidth" value="20,50" />
172 </conditional> 202 </conditional>
173 <assert_stdout> 203 <assert_stdout>
174 <has_text text="ppm: 25" /> 204 <has_text text="ppm: 25" />
175 <has_text text="peakwidth: 20, 50" /> 205 <has_text text="peakwidth: 20, 50" />
176 <has_text text="object with 4 samples" /> 206 <has_text text="object with 4 samples" />
177 <has_text text="Time range: 2506.1-4477.9 seconds (41.8-74.6 minutes)" /> 207 <has_text text="Time range: 3006.9-3978.7 seconds (50.1-66.3 minutes)" />
178 <has_text text="Mass range: 200.1-600 m/z" /> 208 <has_text text="Mass range: 300-400 m/z" />
179 <has_text text="Peaks: 9251 (about 2313 per sample)" /> 209 <has_text text="Peaks: 1311 (about 328 per sample)" />
180 <has_text text="Peak Groups: 0" /> 210 <has_text text="Peak Groups: 0" />
181 <has_text text="Sample classes: KO, WT" /> 211 <has_text text="Sample classes: KO, WT" />
182 </assert_stdout> 212 </assert_stdout>
183 </test> 213 </test>
184 <test> 214 <test>
592 622
593 **Version 3.0.0.0 - 14/02/2018** 623 **Version 3.0.0.0 - 14/02/2018**
594 624
595 - UPGRADE: upgrade the xcms version from 1.46.0 to 3.0.0. So refactoring of a lot of underlining codes and methods 625 - UPGRADE: upgrade the xcms version from 1.46.0 to 3.0.0. So refactoring of a lot of underlining codes and methods
596 626
597 - NEW: a bunch of new options: CentWave.mzCenterFun, CentWave.fitgauss, CentWave.verboseColumns, MatchedFilter.sigma 627 - NEW: a bunch of new options: Spectra Filters, CentWave.mzCenterFun, CentWave.fitgauss, CentWave.verboseColumns, MatchedFilter.sigma
598 628
599 - UPDATE: since xcms 3.0.0, some options are no more available: scanrange, profmethod, MatchedFilter.step, MatchedFilter.sigma, MSW.winSize.noise, MSW.SNR.method 629 - UPDATE: since xcms 3.0.0, some options are no more available: scanrange, profmethod, MatchedFilter.step, MatchedFilter.sigma, MSW.winSize.noise, MSW.SNR.method
600 630
601 **Version 2.1.1 - 29/11/2017** 631 **Version 2.1.1 - 29/11/2017**
602 632