comparison abims_xcms_xcmsSet.xml @ 24:d8915395681f draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 87dc789d7cd70a3733a1ad0b5a427f4d5905795d
author lecorguille
date Wed, 01 Mar 2017 16:56:01 -0500
parents 329cfa3d2be6
children dc4d3e2b9968
comparison
equal deleted inserted replaced
23:329cfa3d2be6 24:d8915395681f
9 <expand macro="stdio"/> 9 <expand macro="stdio"/>
10 10
11 <command><![CDATA[ 11 <command><![CDATA[
12 @COMMAND_XCMS_SCRIPT@ 12 @COMMAND_XCMS_SCRIPT@
13 13
14 #if $inputs.input == "zip_file": 14 #if $input.is_of_type("mzxml") or $input.is_of_type("mzml") or $input.is_of_type("mzdata") or $input.is_of_type("netcdf"):
15 zipfile '$inputs.zip_file' 15 singlefile_galaxyPath '$input' singlefile_sampleName '$input.name'
16 #elif $inputs.input == "single_file": 16 #else
17 singlefile_galaxyPath '$inputs.single_file' singlefile_sampleName '$inputs.single_file.name' 17 zipfile '$input'
18 #end if 18 #end if
19 19
20 xfunction xcmsSet 20 xfunction xcmsSet
21 21
22 xsetRdataOutput '$xsetRData' 22 xsetRdataOutput '$xsetRData'
63 @COMMAND_LOG_EXIT@ 63 @COMMAND_LOG_EXIT@
64 ]]></command> 64 ]]></command>
65 65
66 <inputs> 66 <inputs>
67 67
68 <conditional name="inputs"> 68 <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." />
69 <param name="input" type="select" label="Choose your inputs method" >
70 <option value="zip_file" selected="true">Zip file from your history containing your chromatograms</option>
71 <option value="single_file">mzXML file from your history</option>
72 </param>
73 <when value="zip_file">
74 <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" />
75 </when>
76 <when value="single_file">
77 <param name="single_file" type="data" format="mzxml,netcdf" label="Single file" />
78 </when>
79 </conditional>
80 69
81 <conditional name="options_scanrange"> 70 <conditional name="options_scanrange">
82 <param name="option" type="select" label="Scan range option " > 71 <param name="option" type="select" label="Scan range option " >
83 <option value="show">show</option> 72 <option value="show">show</option>
84 <option value="hide" selected="true">hide</option> 73 <option value="hide" selected="true">hide</option>
219 <has_text text="Sample classes: bio, blank" /> 208 <has_text text="Sample classes: bio, blank" />
220 </assert_contents> 209 </assert_contents>
221 </output> 210 </output>
222 </test>--> 211 </test>-->
223 <test> 212 <test>
224 <param name="inputs|input" value="zip_file" /> 213 <param name="input" value="faahKO_reduce.zip" ftype="zip" />
225 <param name="inputs|zip_file" value="faahKO_reduce.zip" ftype="zip" />
226 <param name="methods|method" value="centWave" /> 214 <param name="methods|method" value="centWave" />
227 <param name="methods|ppm" value="25" /> 215 <param name="methods|ppm" value="25" />
228 <param name="methods|peakwidth" value="20,50" /> 216 <param name="methods|peakwidth" value="20,50" />
229 <output name="log"> 217 <output name="log">
230 <assert_contents> 218 <assert_contents>
305 <has_text text="Sample classes: ." /> 293 <has_text text="Sample classes: ." />
306 </assert_contents> 294 </assert_contents>
307 </output> 295 </output>
308 </test>--> 296 </test>-->
309 <test> 297 <test>
310 <param name="inputs|input" value="single_file" /> 298 <param name="input" value="HU_neg_017.mzXML" ftype="mzxml" />
311 <param name="inputs|single_file" value="HU_neg_017.mzXML" ftype="mzxml" />
312 <param name="methods|method" value="centWave" /> 299 <param name="methods|method" value="centWave" />
313 <param name="methods|ppm" value="25" /> 300 <param name="methods|ppm" value="25" />
314 <param name="methods|peakwidth" value="20,50" /> 301 <param name="methods|peakwidth" value="20,50" />
315 <output name="log"> 302 <output name="log">
316 <assert_contents> 303 <assert_contents>
322 <has_text text="Sample classes: ." /> 309 <has_text text="Sample classes: ." />
323 </assert_contents> 310 </assert_contents>
324 </output> 311 </output>
325 </test> 312 </test>
326 <test> 313 <test>
327 <param name="inputs|input" value="single_file" /> 314 <param name="input" value="MM14.mzML" ftype="mzxml" />
328 <param name="inputs|single_file" value="MM14.mzML" ftype="mzxml" />
329 <param name="methods|method" value="centWave" /> 315 <param name="methods|method" value="centWave" />
330 <param name="methods|ppm" value="56" /> 316 <param name="methods|ppm" value="56" />
331 <param name="methods|peakwidth" value="5.275,13.5" /> 317 <param name="methods|peakwidth" value="5.275,13.5" />
332 <output name="log"> 318 <output name="log">
333 <assert_contents> 319 <assert_contents>
403 389
404 ----------- 390 -----------
405 Input files 391 Input files
406 ----------- 392 -----------
407 393
408 +---------------------------+--------------------+ 394 +---------------------------+----------------------------------+
409 | Parameter : num + label | Format | 395 | Parameter : num + label | Format |
410 +===========================+====================+ 396 +===========================+==================================+
411 | OR : Zip file | zip | 397 | OR : Zip file | zip |
412 +---------------------------+--------------------+ 398 +---------------------------+----------------------------------+
413 | OR : Single file | mzXML, netCDF | 399 | OR : Single file | mzXML, mzML, mzData, netCDF |
414 +---------------------------+--------------------+ 400 +---------------------------+----------------------------------+
415 401
416 **Choose your inputs** 402 **Choose your inputs**
417 403
418 You have two methods for your inputs: 404 You have two methods for your inputs:
419 405
420 | Zip file (recommended): You can put a zip file containing your inputs: myinputs.zip (containing all your conditions as sub-directories). 406 | Single file (recommended): You can put a single file as input. That way, you will be able to launch several xcmsSet in parallel and use "xcms.xcmsSet Merger" before "xcms.group"
421 | Single file: You can put a single file as input. That way, you will be able to launch several xcmsSet in parallel and use "xcms.xcmsSet Merger" before "xcms.group" 407 | Zip file: You can put a zip file containing your inputs: myinputs.zip (containing all your conditions as sub-directories).
422 408
423 Zip file: Steps for creating the zip file 409 Zip file: Steps for creating the zip file
424 ----------------------------------------- 410 -----------------------------------------
425 411
426 **Step1: Creating your directory and hierarchize the subdirectories** 412 **Step1: Creating your directory and hierarchize the subdirectories**