comparison abims_xcms_xcmsSet.xml @ 15:1a9bbd4670e8 draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 92dd69e5b063aad05a9b2b75e21c78bfa46c4b94
author lecorguille
date Thu, 22 Dec 2016 05:59:20 -0500
parents 68547432079b
children f28041d2180a
comparison
equal deleted inserted replaced
14:7c19176e1929 15:1a9bbd4670e8
1 <tool id="abims_xcms_xcmsSet" name="xcms.xcmsSet" version="2.0.9"> 1 <tool id="abims_xcms_xcmsSet" name="xcms.xcmsSet" version="2.0.10">
2 2
3 <description>Filtration and Peak Identification using xcmsSet function from xcms R package to preprocess LC/MS data for relative quantification and statistical analysis </description> 3 <description>Filtration and Peak Identification using xcmsSet function from xcms R package to preprocess LC/MS data for relative quantification and statistical analysis </description>
4 4
5 <macros> 5 <macros>
6 <import>macros.xml</import> 6 <import>macros.xml</import>
7 </macros> 7 </macros>
8 8
9 <expand macro="requirements"/> 9 <expand macro="requirements"/>
10 <expand macro="stdio"/> 10 <expand macro="stdio"/>
11 11
12 <command><![CDATA[ 12 <command><![CDATA[
13 @COMMAND_XCMS_SCRIPT@ 13 @COMMAND_XCMS_SCRIPT@
14 #if $inputs.input == "lib": 14 #if $inputs.input == "lib":
15 library $__app__.config.user_library_import_dir/$__user_email__/$inputs.library 15 library $__app__.config.user_library_import_dir/$__user_email__/$inputs.library
16 #elif $inputs.input == "zip_file": 16 #elif $inputs.input == "zip_file":
22 xsetRdataOutput $xsetRData 22 xsetRdataOutput $xsetRData
23 sampleMetadataOutput $sampleMetadata 23 sampleMetadataOutput $sampleMetadata
24 ticspdf $ticsRawPdf 24 ticspdf $ticsRawPdf
25 bicspdf $bpcsRawPdf 25 bicspdf $bpcsRawPdf
26 26
27 ## profmethod $profmethod 27 ## profmethod $profmethod
28 nSlaves \${GALAXY_SLOTS:-1} method $methods.method 28 nSlaves \${GALAXY_SLOTS:-1} method $methods.method
29 #if $methods.method == "centWave": 29 #if $methods.method == "centWave":
30 ppm $methods.ppm 30 ppm $methods.ppm
31 peakwidth "c($methods.peakwidth)" 31 peakwidth "c($methods.peakwidth)"
32 #if $methods.options_scanrange.option == "show": 32 #if $methods.options_scanrange.option == "show":
33 scanrange "c($methods.options_scanrange.scanrange)" 33 scanrange "c($methods.options_scanrange.scanrange)"
34 #end if 34 #end if
35 #if $methods.options_c.option == "show": 35 #if $methods.options_c.option == "show":
36 mzdiff $methods.options_c.mzdiff 36 mzdiff $methods.options_c.mzdiff
37 snthresh $methods.options_c.snthresh 37 snthresh $methods.options_c.snthresh
38 integrate $methods.options_c.integrate 38 integrate $methods.options_c.integrate
39 noise $methods.options_c.noise 39 noise $methods.options_c.noise
58 scales "c($methods.scales)" 58 scales "c($methods.scales)"
59 SNR.method "$methods.SNR_method" 59 SNR.method "$methods.SNR_method"
60 #end if 60 #end if
61 @COMMAND_LOG_EXIT@ 61 @COMMAND_LOG_EXIT@
62 ]]></command> 62 ]]></command>
63 63
64 <inputs> 64 <inputs>
65 65
66 <conditional name="inputs"> 66 <conditional name="inputs">
67 <param name="input" type="select" label="Choose your inputs method" > 67 <param name="input" type="select" label="Choose your inputs method" >
68 <option value="zip_file" selected="true">Zip file from your history containing your chromatograms</option> 68 <option value="zip_file" selected="true">Zip file from your history containing your chromatograms</option>
71 <when value="zip_file"> 71 <when value="zip_file">
72 <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" /> 72 <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" />
73 </when> 73 </when>
74 <when value="lib"> 74 <when value="lib">
75 <param name="library" type="text" size="40" label="Library directory name" help="The name of your directory containing all your data" > 75 <param name="library" type="text" size="40" label="Library directory name" help="The name of your directory containing all your data" >
76 <validator type="empty_field"/> 76 <validator type="empty_field"/>
77 </param> 77 </param>
78 </when> 78 </when>
79 79
80 </conditional> 80 </conditional>
81 81
82 82
83 <!-- 83 <!--
84 <param name="profmethod" type="select" label="Method to use for profile generation (profmethod)" > 84 <param name="profmethod" type="select" label="Method to use for profile generation (profmethod)" >
85 <option value="bin" selected="true">bin</option> 85 <option value="bin" selected="true">bin</option>
86 <option value="binlin">binlin</option> 86 <option value="binlin">binlin</option>
87 <option value="binlinbase">binlinbase</option> 87 <option value="binlinbase">binlinbase</option>
105 <option value="show">show</option> 105 <option value="show">show</option>
106 <option value="hide" selected="true">hide</option> 106 <option value="hide" selected="true">hide</option>
107 </param> 107 </param>
108 <when value="show"> 108 <when value="show">
109 <param name="scanrange" type="text" value="" label="scanrange" help="scan range to process, for example (16,365)" > 109 <param name="scanrange" type="text" value="" label="scanrange" help="scan range to process, for example (16,365)" >
110 <validator type="empty_field"/> 110 <validator type="empty_field"/>
111 </param> 111 </param>
112 </when> 112 </when>
113 <when value="hide"> 113 <when value="hide">
114 </when> 114 </when>
115 </conditional> 115 </conditional>
116 116
117 <conditional name="options_c"> 117 <conditional name="options_c">
118 <param name="option" type="select" label="Advanced options" > 118 <param name="option" type="select" label="Advanced options" >
119 <option value="show">show</option> 119 <option value="show">show</option>
120 <option value="hide" selected="true">hide</option> 120 <option value="hide" selected="true">hide</option>
121 </param> 121 </param>
171 <param name="scales" type="text" value="seq(1,22,3)" label="Scales for the Continuous Wavelet Transform (CWT)" help="[scales] Scales are linked to the width of the peaks that are to be detected. Tape as indicaded seq('n,n,n') or c(n,n) : seq(from, to, by steps), c - linear vector " /> 171 <param name="scales" type="text" value="seq(1,22,3)" label="Scales for the Continuous Wavelet Transform (CWT)" help="[scales] Scales are linked to the width of the peaks that are to be detected. Tape as indicaded seq('n,n,n') or c(n,n) : seq(from, to, by steps), c - linear vector " />
172 <param name="SNR_method" type="text" value="data.mean" label="SNR (Signal to Noise Ratio) method" help="[SNR.method] Method to estimate noise level. Currently, only 95 percentage quantile is supported." /> 172 <param name="SNR_method" type="text" value="data.mean" label="SNR (Signal to Noise Ratio) method" help="[SNR.method] Method to estimate noise level. Currently, only 95 percentage quantile is supported." />
173 </when> 173 </when>
174 </conditional> 174 </conditional>
175 </inputs> 175 </inputs>
176 176
177 <outputs> 177 <outputs>
178 <data name="xsetRData" format="rdata.xcms.raw" label="xset.RData" /> 178 <data name="xsetRData" format="rdata.xcms.raw" label="xset.RData" />
179 <data name="sampleMetadata" format="tabular" label="sampleMetadata.tsv" /> 179 <data name="sampleMetadata" format="tabular" label="sampleMetadata.tsv" />
180 <data name="ticsRawPdf" format="pdf" label="xset.TICs_raw.pdf" /> 180 <data name="ticsRawPdf" format="pdf" label="xset.TICs_raw.pdf" />
181 <data name="bpcsRawPdf" format="pdf" label="xset.BPCs_raw.pdf" /> 181 <data name="bpcsRawPdf" format="pdf" label="xset.BPCs_raw.pdf" />
182 <data name="log" format="txt" label="xset.log.txt" /> 182 <data name="log" format="txt" label="xset.log.txt" />
183 </outputs> 183 </outputs>
184 184
185 <tests> 185 <tests>
186 <!--<test> 186 <!--<test>
187 <param name="inputs|input" value="zip_file" /> 187 <param name="inputs|input" value="zip_file" />
188 <param name="inputs|zip_file" value="sacuri_dir_root.zip" ftype="zip" /> 188 <param name="inputs|zip_file" value="sacuri_dir_root.zip" ftype="zip" />
189 <param name="methods|method" value="matchedFilter" /> 189 <param name="methods|method" value="matchedFilter" />
237 <has_text text="Sample classes: KO, WT" /> 237 <has_text text="Sample classes: KO, WT" />
238 </assert_contents> 238 </assert_contents>
239 </output> 239 </output>
240 </test> 240 </test>
241 </tests> 241 </tests>
242 242
243 <help><![CDATA[ 243 <help><![CDATA[
244 244
245 @HELP_AUTHORS@ 245 @HELP_AUTHORS@
246 246
247 ============ 247 ============
265 **Upstream tools** 265 **Upstream tools**
266 266
267 ========================= ================= ======= ========= 267 ========================= ================= ======= =========
268 Name output file format parameter 268 Name output file format parameter
269 ========================= ================= ======= ========= 269 ========================= ================= ======= =========
270 NA NA zip NA 270 NA NA zip NA
271 ========================= ================= ======= ========= 271 ========================= ================= ======= =========
272 272
273 273
274 **Downstream tools** 274 **Downstream tools**
275 275
289 .. image:: XCMS_Galaxy_workflow.png 289 .. image:: XCMS_Galaxy_workflow.png
290 290
291 291
292 ------ 292 ------
293 293
294 .. class:: infomark 294 .. class:: infomark
295 295
296 The output file is an xset.RData file. You can continue your analysis using it in **xcms.group** tool. 296 The output file is an xset.RData file. You can continue your analysis using it in **xcms.group** tool.
297 297
298 --------------------------------------------------- 298 ---------------------------------------------------
299 299
369 Extraction method for peaks detection 369 Extraction method for peaks detection
370 ------------------------------------- 370 -------------------------------------
371 371
372 **Matched Filter** 372 **Matched Filter**
373 373
374 | One parameter to consider is the Gaussian model peak width used for matched filtration,an integral part of the peak detection algorithm. 374 | One parameter to consider is the Gaussian model peak width used for matched filtration,an integral part of the peak detection algorithm.
375 | For a discussion of how model peak width affects the signal to noise ratio, see Danielsson et al. (2002). 375 | For a discussion of how model peak width affects the signal to noise ratio, see Danielsson et al. (2002).
376 376
377 377
378 **cent Wave** 378 **cent Wave**
379 379
407 | This file is necessary in the Anova and PCA step of the workflow. 407 | This file is necessary in the Anova and PCA step of the workflow.
408 408
409 xset.RData: rdata.xcms.raw format 409 xset.RData: rdata.xcms.raw format
410 410
411 | Rdata file that is necessary in the second step of the workflow "xcms.group". 411 | Rdata file that is necessary in the second step of the workflow "xcms.group".
412 412
413 ------ 413 ------
414 414
415 .. class:: infomark 415 .. class:: infomark
416 416
417 The output file is an xset.RData file. You can continue your analysis using it in **xcms.group** tool. 417 The output file is an xset.RData file. You can continue your analysis using it in **xcms.group** tool.
418 418
419 --------------------------------------------------- 419 ---------------------------------------------------
420 420
430 Parameters 430 Parameters
431 ---------- 431 ----------
432 432
433 | Method -> **matchedFilter** 433 | Method -> **matchedFilter**
434 | step -> **0.01** 434 | step -> **0.01**
435 | fwhm -> **4** 435 | fwhm -> **4**
436 | Advanced option -> **show** 436 | Advanced option -> **show**
437 | max: -> **50** 437 | max: -> **50**
438 | snthresh -> **1** 438 | snthresh -> **1**
439 | steps -> **2** 439 | steps -> **2**
440 440
473 --------------------------------------------------- 473 ---------------------------------------------------
474 474
475 Changelog/News 475 Changelog/News
476 -------------- 476 --------------
477 477
478 **Version 2.0.10 - 22/12/2016**
479
480 - BUGFIX: when having only one group (i.e. one folder of raw data) the BPC and TIC pdf files do not contain any graph
481
478 **Version 2.0.9 - 06/07/2016** 482 **Version 2.0.9 - 06/07/2016**
479 483
480 - UPGRADE: upgrate the xcms version from 1.44.0 to 1.46.0 484 - UPGRADE: upgrade the xcms version from 1.44.0 to 1.46.0
481 485
482 **Version 2.0.8 - 06/04/2016** 486 **Version 2.0.8 - 06/04/2016**
483 487
484 - TEST: refactoring to pass planemo test using conda dependencies 488 - TEST: refactoring to pass planemo test using conda dependencies
485 489