Mercurial > repos > lecorguille > ipo
comparison ipo4xcmsSet.xml @ 1:ae8de756dfcf draft
"planemo upload for repository https://github.com/rietho/IPO commit 5083f3b5800bdd8515519f2f6398046b41e1df97"
author | workflow4metabolomics |
---|---|
date | Mon, 16 Dec 2019 05:26:42 -0500 |
parents | ac5f2936575b |
children | 8e5f667359cb |
comparison
equal
deleted
inserted
replaced
0:ac5f2936575b | 1:ae8de756dfcf |
---|---|
1 <tool id="ipo4xcmsSet" name="IPO for xcmsSet" version="0.0.3"> | 1 <tool id="ipo4xcmsSet" name="IPO for xcmsSet" version="@TOOL_VERSION@+galaxy0"> |
2 | 2 |
3 <description>IPO optimization process for xcms.xcmsSet</description> | 3 <description>IPO optimization process for xcms.findChromPeaks</description> |
4 | 4 |
5 <macros> | 5 <macros> |
6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
7 | |
8 <macro name="centwave_ppm_fixed"> | |
9 <param name="ppm" type="integer" value="25" label="Max tolerated ppm m/z deviation in consecutive scans in ppm" help="[ppm]" /> | |
10 </macro> | |
11 <macro name="centwave_peakwidth_fixed"> | |
12 <param name="min_peakwidth" type="float" value="20" label="Min peak width range in seconds" optional="true" help="[min_peakwidth]" /> | |
13 <param name="max_peakwidth" type="float" value="50" label="Max peak width range in seconds" optional="true" help="[max_peakwidth]" /> | |
14 </macro> | |
15 <macro name="centwave_mzdiff_fixed"> | |
16 <param name="mzdiff" type="float" value="-0.001" label="Minimum difference in m/z for peaks with overlapping Retention Times" help="[mzdiff] Can be negative to allow overlap" /> | |
17 </macro> | |
18 | |
19 <macro name="matchedfilter_fwhm_fixed"> | |
20 <param name="fwhm" type="integer" value="30" label="Full width at half maximum of matched filtration gaussian model peak" help="[fwhm] Only used to calculate the actual sigma" /> | |
21 </macro> | |
22 <macro name="matchedfilter_mzdiff_fixed"> | |
23 <param name="mzdiff" type="float" value="0.6" label="Minimum difference in m/z for peaks with overlapping Retention Times" help="[mzdiff] By default: 0.8-step*steps " /> | |
24 </macro> | |
25 </macros> | 7 </macros> |
26 | 8 |
27 <expand macro="requirements"/> | 9 <expand macro="requirements"/> |
28 <expand macro="stdio"/> | 10 |
29 | 11 <command detect_errors="exit_code"><![CDATA[ |
30 <command><![CDATA[ | 12 LANG=C Rscript '$__tool_directory__/ipo4xcmsSet.r' |
31 LANG=C Rscript $__tool_directory__/ipo4xcmsSet.r | 13 |
32 | 14 singlefile_galaxyPath '$input' singlefile_sampleName '$input.name' |
33 #if $input.is_of_type("mzxml") or $input.is_of_type("mzml") or $input.is_of_type("mzdata") or $input.is_of_type("netcdf"): | |
34 singlefile_galaxyPath '$input' singlefile_sampleName '$input.name' | |
35 #else | |
36 zipfile '$input' | |
37 #end if | |
38 | |
39 parametersOutput $parametersOutput | |
40 xsetRdataOutput $xsetRData | |
41 | 15 |
42 samplebyclass $samplebyclass | 16 samplebyclass $samplebyclass |
43 | 17 |
44 ## profmethod $profmethod | 18 ## profmethod $profmethod |
45 @COMMAND_NSLAVES@ | 19 @COMMAND_NSLAVES@ |
46 method $methods.method | 20 method $methods.method |
47 #if $methods.method == "centWave": | 21 #if $methods.method == "centWave": |
48 ppm "c($methods.section_centwave_optiomizable.conditional_parameter.ppm)" | 22 ppm "c($methods.section_centwave_optiomizable.ppm)" |
49 min_peakwidth "c($methods.section_centwave_optiomizable.conditional_parameter.min_peakwidth)" | 23 min_peakwidth "c($methods.section_centwave_optiomizable.min_peakwidth)" |
50 max_peakwidth "c($methods.section_centwave_optiomizable.conditional_parameter.max_peakwidth)" | 24 max_peakwidth "c($methods.section_centwave_optiomizable.max_peakwidth)" |
51 mzdiff "c($methods.section_centwave_optiomizable.conditional_parameter.mzdiff)" | 25 mzdiff "c($methods.section_centwave_optiomizable.mzdiff)" |
52 | 26 |
53 snthresh $methods.section_centwave_non_optiomizable.snthresh | 27 snthresh $methods.section_centwave_non_optiomizable.snthresh |
54 integrate $methods.section_centwave_non_optiomizable.integrate | 28 integrate $methods.section_centwave_non_optiomizable.integrate |
55 noise $methods.section_centwave_non_optiomizable.noise | 29 noise $methods.section_centwave_non_optiomizable.noise |
56 prefilter "c($methods.section_centwave_non_optiomizable.prefilter)" | 30 prefilter "c($methods.section_centwave_non_optiomizable.prefilter)" |
57 | 31 |
58 #elif $methods.method == "matchedFilter": | 32 #elif $methods.method == "matchedFilter": |
59 fwhm "c($methods.section_matchedfilter_optiomizable.conditional_parameter.fwhm)" | 33 fwhm "c($methods.section_matchedfilter_optiomizable.fwhm)" |
60 mzdiff "c($methods.section_matchedfilter_optiomizable.conditional_parameter.mzdiff)" | 34 mzdiff "c($methods.section_matchedfilter_optiomizable.mzdiff)" |
61 | 35 |
62 step $methods.section_matchedfilter_non_optimizable.step | 36 step $methods.section_matchedfilter_non_optimizable.step |
63 steps $methods.section_matchedfilter_non_optimizable.steps | 37 steps $methods.section_matchedfilter_non_optimizable.steps |
64 max $methods.section_matchedfilter_non_optimizable.max | 38 max $methods.section_matchedfilter_non_optimizable.max |
65 snthresh $methods.section_matchedfilter_non_optimizable.snthresh | 39 snthresh $methods.section_matchedfilter_non_optimizable.snthresh |
66 #end if | 40 #end if |
67 | |
68 @COMMAND_LOG_EXIT@ | |
69 ]]></command> | 41 ]]></command> |
70 | 42 |
71 <inputs> | 43 <inputs> |
72 | 44 |
73 <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." /> | 45 <param name="input" type="data" format="mzxml,mzml,mzdata,netcdf" label="File(s) from your history containing your chromatograms" help="Single file mode for the format: mzxml, mzml, mzdata and netcdf. See the help section below." /> |
74 | 46 |
75 <param name="samplebyclass" type="integer" value="2" label="Number of samples used per class to estimate the best parameters" help="Set to 0 to use the whole dataset. To save time, reduce this number" /> | 47 <param name="samplebyclass" type="integer" value="2" label="Number of samples used per class to estimate the best parameters" help="Set to 0 to use the whole dataset. To save time, reduce this number" /> |
76 | 48 |
77 <conditional name="methods"> | 49 <conditional name="methods"> |
78 <param name="method" type="select" label="Extraction method for peaks detection" help="[method] See the help section below"> | 50 <param argument="method" type="select" label="Extraction method for peaks detection (findChromPeaks)" help="See the help section below"> |
79 <option value="centWave" >centWave</option> | 51 <option value="centWave" >centWave</option> |
80 <option value="matchedFilter" selected="true">matchedFilter</option> | 52 <option value="matchedFilter" selected="true">matchedFilter</option> |
81 </param> | 53 </param> |
82 | 54 |
83 <!-- centWave Filter options --> | 55 <!-- centWave Filter options --> |
84 <when value="centWave"> | 56 <when value="centWave"> |
85 <section name="section_centwave_optiomizable" title="Optimizable parameters" expanded="True"> | 57 <section name="section_centwave_optiomizable" title="Optimizable parameters" expanded="True"> |
86 <conditional name="conditional_parameter"> | 58 <param argument="ppm" type="text" value="17,32" label="Range or a fixed value for Max tolerated ppm m/z deviation in consecutive scans in ppm" optional="false" help="(ex: 25 or 17,32)"> |
87 <param name="select_parameter" type="select" label="Which parameter do you want to optimize?" help="Only one paramter can be optimized at once. The other will require fixed values"> | 59 <expand macro="input_validator_range_integer"/> |
88 <option value="ppm">Max tolerated ppm m/z deviation in consecutive scans in ppm [ppm]</option> | 60 </param> |
89 <option value="peakwidth">Min,Max peak width in seconds [peakwidth]</option> | 61 <param argument="min_peakwidth" type="text" value="12,18" label="Range or a fixed value for Min peak width range in seconds" optional="true" help="(ex: 12,18)"> |
90 <option value="mzdiff">Minimum difference in m/z for peaks with overlapping Retention Times [mzdiff]</option> | 62 <expand macro="input_validator_range_float"/> |
91 </param> | 63 </param> |
92 <when value="ppm"> | 64 <param argument="max_peakwidth" type="text" value="35,65" label="Range or a fixed value for Max peak width range in seconds" optional="true" help="(ex: 35,65)"> |
93 <param name="ppm" type="text" value="17,32" label="Range for Max tolerated ppm m/z deviation in consecutive scans in ppm" optional="false" help="[ppm] (ex: 25 or 17,32)"> | 65 <expand macro="input_validator_range_float"/> |
94 <validator type="regex" message="Should be this format XX,YY">[0-9]+,[0-9]+</validator> | 66 </param> |
95 </param> | 67 <param argument="mzdiff" type="text" value="-0.001,0.010" label="Range or a fixed value for Minimum difference in m/z for peaks with overlapping retention times" help="Can be negative to allow overlap (ex: -0.001,0.010)"> |
96 <expand macro="centwave_peakwidth_fixed" /> | 68 <expand macro="input_validator_range_float_neg"/> |
97 <expand macro="centwave_mzdiff_fixed" /> | 69 </param> |
98 </when> | |
99 <when value="peakwidth"> | |
100 <param name="min_peakwidth" type="text" value="12,18" label="Range for Min peak width range in seconds" optional="true" help="[min_peakwidth] (ex: 12,18)"> | |
101 <validator type="regex" message="Should be one combinaison of those format: XX,YY or XX.XX,YY.YY">[0-9]+[\.]?[0-9]*,[0-9]+[\.]?[0-9]*</validator> | |
102 </param> | |
103 <param name="max_peakwidth" type="text" value="35,65" label="Range for Max peak width range in seconds" optional="true" help="[max_peakwidth] (ex: 35,65)"> | |
104 <validator type="regex" message="Should be one combinaison of those format: XX,YY or XX.XX,YY.YY">[0-9]+[\.]?[0-9]*,[0-9]+[\.]?[0-9]*</validator> | |
105 </param> | |
106 <expand macro="centwave_ppm_fixed" /> | |
107 <expand macro="centwave_mzdiff_fixed" /> | |
108 </when> | |
109 <when value="mzdiff"> | |
110 <param name="mzdiff" type="text" value="-0.001,0.010" label="Range for Minimum difference in m/z for peaks with overlapping retention times" help="[mzdiff] Can be negative to allow overlap (ex: -0.001,0.010)"> | |
111 <validator type="regex" message="Should be one combinaison of those format: XX,YY or -XX,YY or XX.XX,YY.YY">[\-]?[0-9]+[\.]?[0-9]*,[\-]?[0-9]+[\.]?[0-9]*</validator> | |
112 </param> | |
113 <expand macro="centwave_ppm_fixed" /> | |
114 <expand macro="centwave_peakwidth_fixed" /> | |
115 </when> | |
116 </conditional> | |
117 </section> | 70 </section> |
118 | 71 |
119 <section name="section_centwave_non_optiomizable" title="Non optimizable parameters" expanded="True"> | 72 <section name="section_centwave_non_optiomizable" title="Non optimizable parameters" expanded="True"> |
120 <param name="snthresh" type="integer" value="10" label="Signal/Noise threshold" help="[snthresh] Signal to noise ratio cutoff" /> | 73 <param argument="snthresh" type="integer" value="10" label="Signal/Noise threshold" help="Signal to noise ratio cutoff" /> |
121 <param name="integrate" type="select" label="Peak limits method" help="[integrate]" > | 74 <param argument="integrate" type="select" label="Peak limits method" > |
122 <option value="1">peak limits based on smoothed 2nd derivative (less precise)</option> | 75 <option value="1">peak limits based on smoothed 2nd derivative (less precise)</option> |
123 <option value="2">peak limits based on real data (more sensitive to noise)</option> | 76 <option value="2">peak limits based on real data (more sensitive to noise)</option> |
124 </param> | 77 </param> |
125 <param name="prefilter" type="text" value="3,100" label="Prefilter step for the first phase" help="[prefilter] Separate by coma k,I. Mass traces are only retained if they contain at least ‘k’ peaks with intensity >= ‘I’"/> | 78 <param argument="prefilter" type="text" value="3,100" label="Prefilter step for the first phase" help="Separate by coma k,I. Mass traces are only retained if they contain at least ‘k’ peaks with intensity >= ‘I’"/> |
126 <param name="noise" type="integer" value="0" label="Noise filter" help="[noise] optional argument which is useful for data that was centroided without any intensity threshold, centroids with intensity smaller than ‘noise’ are omitted from ROI detection"/> | 79 <param argument="noise" type="integer" value="0" label="Noise filter" help="optional argument which is useful for data that was centroided without any intensity threshold, centroids with intensity smaller than ‘noise’ are omitted from ROI detection"/> |
127 </section> | 80 </section> |
128 </when> | 81 </when> |
129 | 82 |
130 <!-- matched Filter options --> | 83 <!-- matched Filter options --> |
131 <when value="matchedFilter"> | 84 <when value="matchedFilter"> |
132 <section name="section_matchedfilter_optiomizable" title="Optimizable parameters" expanded="True"> | 85 <section name="section_matchedfilter_optiomizable" title="Optimizable parameters" expanded="True"> |
133 <conditional name="conditional_parameter"> | 86 <param argument="fwhm" type="text" value="25,35" label="Range or a fixed value for Full width at half maximum of matched filtration gaussian model peak" optional="true" help="Only used to calculate the actual sigma (ex: 25,35)"> |
134 <param name="select_parameter" type="select" label="Which parameter do you want to optimize?" help="Only one paramter can be optimized at once. The other will require fixed values"> | 87 <expand macro="input_validator_range_integer"/> |
135 <option value="fwhm">Full width at half maximum of matched filtration gaussian model peak [fwhm]</option> | 88 </param> |
136 <option value="mzdiff">Minimum difference in m/z for peaks with overlapping Retention Times [mzdiff]</option> | 89 <param argument="mzdiff" type="text" value="0.4,0.7" label="Range or a fixed value for Minimum difference in m/z for peaks with overlapping Retention Times" help="By default: 0.8-step*steps (ex: 0.4,0.7)"> |
137 </param> | 90 <expand macro="input_validator_range_float_neg"/> |
138 <when value="fwhm"> | 91 </param> |
139 <param name="fwhm" type="text" value="25,35" label="Range for Full width at half maximum of matched filtration gaussian model peak" optional="true" help="[fwhm] Only used to calculate the actual sigma (ex: 25,35)"> | |
140 <validator type="regex" message="Should be this format: XX,YY">[0-9]+,[0-9]+</validator> | |
141 </param> | |
142 <expand macro="matchedfilter_mzdiff_fixed" /> | |
143 </when> | |
144 <when value="mzdiff"> | |
145 <param name="mzdiff" type="text" value="0.4,0.7" label="Range for Minimum difference in m/z for peaks with overlapping Retention Times" help="[mzdiff] By default: 0.8-step*steps (ex: 0.4,0.7)"> | |
146 <validator type="regex" message="Should be one combinaison of those format: XX,YY or -XX,YY or XX.XX,YY.YY">[\-]?[0-9]+[\.]?[0-9]*,[\-]?[0-9]+[\.]?[0-9]*</validator> | |
147 </param> | |
148 <expand macro="matchedfilter_fwhm_fixed" /> | |
149 </when> | |
150 </conditional> | |
151 </section> | 92 </section> |
152 | 93 |
153 <section name="section_matchedfilter_non_optimizable" title="Non optimizable parameters" expanded="True"> | 94 <section name="section_matchedfilter_non_optimizable" title="Non optimizable parameters" expanded="True"> |
154 <param name="step" type="float" value="0.1" label="Step size to use for profile generation" help="[step] The peak detection algorithm creates extracted ion base peak chromatograms (EIBPC) on a fixed step size" /> | 95 <param argument="step" type="float" value="0.1" label="Step size to use for profile generation" help="The peak detection algorithm creates extracted ion base peak chromatograms (EIBPC) on a fixed step size" /> |
155 <param name="steps" type="integer" value="2" label="Number of steps to merge prior to filtration" help="[steps] The peak identification algorithm combines a given number of EIBPCs prior to filtration and peak detection, as defined by the steps argument" /> | 96 <param argument="steps" type="integer" value="2" label="Number of steps to merge prior to filtration" help="The peak identification algorithm combines a given number of EIBPCs prior to filtration and peak detection, as defined by the steps argument" /> |
156 <param name="max" type="integer" value="5" label="Maximum number of peaks per extracted ion chromatogram" help="[max]" /> | 97 <param argument="max" type="integer" value="5" label="Maximum number of peaks per extracted ion chromatogram" /> |
157 <param name="snthresh" type="integer" value="10" label="Signal to noise ratio cutoff" help="[snthresh]" /> | 98 <param argument="snthresh" type="integer" value="10" label="Signal to noise ratio cutoff" /> |
158 </section> | 99 </section> |
159 </when> | 100 </when> |
160 </conditional> | 101 </conditional> |
161 | 102 |
162 | 103 |
163 </inputs> | 104 </inputs> |
164 | 105 |
165 <outputs> | 106 <outputs> |
166 <data name="xsetRData" format="rdata.xcms.raw" label="xset.RData" /> | 107 <data name="xsetRData" format="rdata.xcms.raw" label="ipo4xcmsSet.RData" from_work_dir="ipo4xcmsSet.RData" /> |
167 <data name="parametersOutput" format="tabular" label="IPO_parameters4xcmsSet.tsv" /> | 108 <data name="parametersOutput" format="tabular" label="IPO_parameters4xcmsSet.tsv" from_work_dir="IPO_parameters4xcmsSet.tsv" /> |
168 <data name="log" format="txt" label="ipo4xcmsSet.log.txt" /> | |
169 </outputs> | 109 </outputs> |
170 | 110 |
171 <tests> | 111 <tests> |
172 <test> | 112 <test> |
173 <param name="input" value="MM14.mzML" ftype="mzxml" /> | 113 <param name="input" value="MM14.mzML" ftype="mzxml" /> |
174 <param name="samplebyclass" value="0" /> | 114 <param name="samplebyclass" value="0" /> |
175 <conditional name="methods"> | 115 <conditional name="methods"> |
176 <param name="method" value="centWave" /> | 116 <param name="method" value="centWave" /> |
177 <section name="section_centwave_optiomizable" > | 117 <section name="section_centwave_optiomizable" > |
178 <conditional name="conditional_parameter"> | 118 <param name="min_peakwidth" value="3,9.5" /> |
179 <param name="select_parameter" value="peakwidth" /> | 119 <param name="max_peakwidth" value="10,20" /> |
180 <param name="min_peakwidth" value="3,9.5" /> | 120 <param name="ppm" value="56" /> |
181 <param name="max_peakwidth" value="10,20" /> | 121 <param name="mzdiff" value="-0.001" /> |
182 <param name="ppm" value="56" /> | |
183 <param name="mzdiff" value="-0.001" /> | |
184 </conditional> | |
185 </section> | 122 </section> |
186 </conditional> | 123 </conditional> |
187 <output name="parametersOutput" file="MM14_IPO_parameters4xcmsSet_peakwidth.tsv" /> | 124 <output name="parametersOutput" file="MM14_IPO_parameters4xcmsSet_peakwidth.tsv" /> |
188 </test> | 125 </test> |
189 <test> | 126 <test> |
190 <param name="input" value="MM14.mzML" ftype="mzxml" /> | 127 <param name="input" value="MM14.mzML" ftype="mzxml" /> |
191 <param name="samplebyclass" value="0" /> | 128 <param name="samplebyclass" value="0" /> |
192 <conditional name="methods"> | 129 <conditional name="methods"> |
193 <param name="method" value="centWave" /> | 130 <param name="method" value="centWave" /> |
194 <section name="section_centwave_optiomizable" > | 131 <section name="section_centwave_optiomizable" > |
195 <conditional name="conditional_parameter"> | 132 <param name="ppm" value="50,60" /> |
196 <param name="select_parameter" value="ppm" /> | 133 <param name="min_peakwidth" value="3.325" /> |
197 <param name="ppm" value="50,60" /> | 134 <param name="max_peakwidth" value="11.0" /> |
198 <param name="min_peakwidth" value="3.325" /> | 135 <param name="mzdiff" value="-0.001" /> |
199 <param name="max_peakwidth" value="11" /> | |
200 <param name="mzdiff" value="-0.001" /> | |
201 </conditional> | |
202 </section> | 136 </section> |
203 </conditional> | 137 </conditional> |
204 <output name="parametersOutput" file="MM14_IPO_parameters4xcmsSet_ppm.tsv" /> | 138 <output name="parametersOutput"> |
139 <assert_contents> | |
140 <!-- 	 is XML escape code for tab --> | |
141 <has_line line="ppm	60" /> | |
142 <has_line line="min_peakwidth	3.325" /> | |
143 <has_line line="max_peakwidth	11" /> | |
144 <has_line line="mzdiff	-0.001" /> | |
145 <has_line line="prefilter	3" /> | |
146 <has_line line="snthresh	10" /> | |
147 <has_line line="integrate	1" /> | |
148 <has_line line="noise	0" /> | |
149 <has_line line="value_of_prefilter	100" /> | |
150 <has_line line="mzCenterFun	wMean" /> | |
151 <has_line line="fitgauss	FALSE" /> | |
152 </assert_contents> | |
153 </output> | |
205 </test> | 154 </test> |
206 <!-- Too long for Travis CI --> | |
207 <!--<test> | |
208 <param name="inputs|input" value="zip_file" /> | |
209 <param name="inputs|zip_file" value="sacuri_2files.zip" ftype="zip" /> | |
210 <param name="samplebyclass" value="1" /> | |
211 <param name="methods|method" value="centWave" /> | |
212 <param name="methods|ppm" value="25" /> | |
213 <param name="methods|min_peakwidth" value="20,30" /> | |
214 <param name="methods|max_peakwidth" value="45,55" /> | |
215 <output name="parametersOutput" file="sacuri_2files_centWave_IPO_parameters4xcmsSet.tsv" /> | |
216 </test>--> | |
217 <!-- Too long for Travis CI --> | |
218 <!--<test> | |
219 <param name="inputs|input" value="zip_file" /> | |
220 <param name="inputs|zip_file" value="sacuri_2files.zip" ftype="zip" /> | |
221 <param name="samplebyclass" value="1" /> | |
222 <param name="methods|method" value="matchedFilter" /> | |
223 <param name="methods|step" value="0.05,0.15" /> | |
224 <param name="methods|fwhm" value="25,35" /> | |
225 <output name="parametersOutput" file="sacuri_2files_matchedFilter_IPO_parameters4xcmsSet.tsv" /> | |
226 </test>--> | |
227 <!--Failed: | |
228 Error in resultIncreased(history) : | |
229 No isotopes have been detected, peak picking not optimizable by IPO!--> | |
230 <!--<test> | |
231 <param name="inputs|input" value="zip_file" /> | |
232 <param name="inputs|zip_file" value="faahKO_reduce.zip" ftype="zip" /> | |
233 <param name="methods|method" value="centWave" /> | |
234 <param name="methods|ppm" value="25" /> | |
235 <param name="methods|min_peakwidth" value="15,25" /> | |
236 <param name="methods|min_peakwidth" value="20,30" /> | |
237 <param name="methods|max_peakwidth" value="45,55" /> | |
238 <output name="parametersOutput" file="faahKO_IPO_parameters4xcmsSet.tsv" /> | |
239 </test>--> | |
240 </tests> | 155 </tests> |
241 | 156 |
242 <help><![CDATA[ | 157 <help><![CDATA[ |
243 | 158 |
244 @HELP_AUTHORS@ | 159 @HELP_AUTHORS@ |
258 Workflow position | 173 Workflow position |
259 ----------------- | 174 ----------------- |
260 | 175 |
261 **Upstream tools** | 176 **Upstream tools** |
262 | 177 |
263 ========================= ================= ======= ========= | 178 ========================= ======================== |
264 Name output file format parameter | 179 Name Format |
265 ========================= ================= ======= ========= | 180 ========================= ======================== |
266 NA NA zip NA | 181 Upload File mzxml,mzml,mzdata,netcdf |
267 ========================= ================= ======= ========= | 182 ========================= ======================== |
183 | |
184 The easier way to process is to create a Dataset Collection of the type List | |
268 | 185 |
269 | 186 |
270 **Downstream tools** | 187 **Downstream tools** |
271 | 188 |
272 +---------------------------+----------------------+-----------------+ | 189 +---------------------------+----------------------+-----------------+ |
279 | 196 |
280 ----------- | 197 ----------- |
281 Input files | 198 Input files |
282 ----------- | 199 ----------- |
283 | 200 |
284 +---------------------------+------------+ | |
285 | Parameter : num + label | Format | | |
286 +===========================+============+ | |
287 | 1 : Choose your inputs | zip | | |
288 +---------------------------+------------+ | |
289 | |
290 **Choose your inputs** | |
291 | |
292 You have two methods for your inputs: | |
293 | |
294 | Zip file (recommended): You can put a zip file containing your inputs: myinputs.zip (containing all your conditions as sub-directories). | |
295 | library folder: You must specify the name of your "library" (folder) created within your space project (for example: /projet/externe/institut/login/galaxylibrary/yourlibrary). Your library must contain all your conditions as sub-directories. | |
296 | |
297 Steps for creating the zip file | |
298 ------------------------------- | |
299 | |
300 **Step1: Creating your directory and hierarchize the subdirectories** | |
301 | |
302 | |
303 VERY IMPORTANT: If you zip your files under Windows, you must use the 7Zip software (http://www.7-zip.org/), otherwise your zip will not be well unzipped on the platform W4M (zip corrupted bug). | |
304 | |
305 Your zip should contain all your conditions as sub-directories. For example, two conditions (mutant and wild): | |
306 arabidopsis/wild/01.raw | |
307 arabidopsis/mutant/01.raw | |
308 | |
309 **Step2: Creating a zip file** | |
310 | |
311 Create your zip file (e.g.: arabidopsis.zip). | |
312 | |
313 **Step 3 : Uploading it to our Galaxy server** | |
314 | |
315 If your zip file is less than 2Gb, you get use the Get Data tool to upload it. | |
316 | |
317 Otherwise if your zip file is larger than 2Gb, please refer to the HOWTO on workflow4metabolomics.org (http://application.sb-roscoff.fr/download/w4m/howto/galaxy_upload_up_2Go.pdf). | |
318 | |
319 For more informations, don't hesitate to send us an email at supportATworkflow4metabolomics.org). | |
320 | |
321 Advices for converting your files for the XCMS input | 201 Advices for converting your files for the XCMS input |
322 ---------------------------------------------------- | 202 ---------------------------------------------------- |
323 | 203 |
324 We recommend you to convert your raw files to **mzXML** in centroid mode (smaller files) and the files will be compatible with the xmcs centWave method. | 204 We recommend you to convert your raw files to **mzXML** in centroid mode (smaller files) and the files will be compatible with the xmcs centWave method. |
325 | 205 |
342 | 222 |
343 ---------- | 223 ---------- |
344 Parameters | 224 Parameters |
345 ---------- | 225 ---------- |
346 | 226 |
347 Extraction method for peaks detection | 227 Extraction method for findChromPeaks |
348 ------------------------------------- | 228 ------------------------------------- |
349 | 229 |
350 **Matched Filter** | 230 **MatchedFilter** |
351 | 231 |
352 | One parameter to consider is the Gaussian model peak width used for matched filtration,an integral part of the peak detection algorithm. | 232 | The matchedFilter algorithm identifies peaks in the chromatographic time domain as described in [Smith 2006]. The intensity values are binned by cutting The LC/MS data into slices (bins) of a mass unit (‘binSize’ m/z) wide. Within each bin the maximal intensity is selected. The chromatographic peak detection is then performed in each bin by extending it based on the ‘steps’ parameter to generate slices comprising bins ‘current_bin - steps +1’ to ‘current_bin + steps - 1’. Each of these slices is then filtered with matched filtration using a second-derative Gaussian as the model peak shape. After filtration peaks are detected using a signal-to-ratio cut-off. For more details and illustrations see [Smith 2006]. |
353 | For a discussion of how model peak width affects the signal to noise ratio, see Danielsson et al. (2002). | 233 | See the MatchedFilter_manual_ |
354 | 234 |
355 | 235 **CentWave** |
356 **cent Wave** | 236 |
357 | 237 | The centWave algorithm perform peak density and wavelet based chromatographic peak detection for high resolution LC/MS data in centroid mode [Tautenhahn 2008]. |
358 | This algorithm is most suitable for high resolution LC/{TOF,OrbiTrap,FTICR}-MS data in centroid mode. | |
359 | Due to the fact that peak centroids are used, a binning step is not necessary. | 238 | Due to the fact that peak centroids are used, a binning step is not necessary. |
360 | The method is capable of detecting close-by-peaks and also overlapping peaks. Some efforts are made to detect the exact peak boundaries to get precise peak integrals. | 239 | The method is capable of detecting close-by-peaks and also overlapping peaks. Some efforts are made to detect the exact peak boundaries to get precise peak integrals. |
361 | 240 | See the CentWave_manual_ |
362 | 241 |
363 ------------ | 242 .. _MatchedFilter_manual: https://rdrr.io/bioc/xcms/man/findChromPeaks-matchedFilter.html#heading-2 |
364 Output files | 243 .. _CentWave_manual: https://rdrr.io/bioc/xcms/man/findChromPeaks-centWave.html#heading-2 |
365 ------------ | |
366 | |
367 IPO_parameters4xcmsSet.tsv | |
368 | |
369 | Optimal parameters for xcmsSet | |
370 | |
371 | 244 |
372 --------------------------------------------------- | 245 --------------------------------------------------- |
373 | 246 |
374 Changelog/News | 247 Changelog/News |
375 -------------- | 248 -------------- |
376 | 249 |
377 | 250 @HELP_NEWVERSION_1_10_0_0@ |
378 | 251 |
379 ]]></help> | 252 ]]></help> |
380 | 253 |
381 <expand macro="citation" /> | 254 <expand macro="citation" /> |
382 </tool> | 255 </tool> |