comparison macros.xml @ 0:ac5f2936575b draft

planemo upload commit 131562ad89c33a2f87754936ce3c8fe6899484c0
author lecorguille
date Thu, 03 Aug 2017 06:00:00 -0400
parents
children ae8de756dfcf
comparison
equal deleted inserted replaced
-1:000000000000 0:ac5f2936575b
1 <?xml version="1.0"?>
2 <macros>
3 <xml name="requirements">
4 <requirements>
5 <requirement type="package" version="0.4_1">r-snow</requirement>
6 <requirement type="package" version="1.0.0">bioconductor-ipo</requirement>
7 <requirement type="package" version="1.1_4">r-batch</requirement>
8 </requirements>
9 </xml>
10 <xml name="stdio">
11 <stdio>
12 <exit_code range="1" level="fatal" />
13 </stdio>
14 </xml>
15
16 <token name="@COMMAND_SCRIPT@">
17 LANG=C Rscript $__tool_directory__/
18 </token>
19
20 <token name="@COMMAND_LOG_EXIT@">
21 ;
22 return=\$?;
23 mv log.txt $log;
24 cat $log;
25 sh -c "exit \$return"
26 </token>
27
28 <token name="@COMMAND_NSLAVES@">
29 nSlaves \${GALAXY_SLOTS:-1}
30 </token>
31
32 <!-- zipfile load for planemo test -->
33
34 <token name="@COMMAND_FILE_LOAD@">
35 #if $file_load_section.file_load_conditional.file_load_select == "yes":
36 #if $file_load_section.file_load_conditional.input[0].is_of_type("mzxml") or $file_load_section.file_load_conditional.input[0].is_of_type("mzml") or $file_load_section.file_load_conditional.input[0].is_of_type("mzdata") or $file_load_section.file_load_conditional.input[0].is_of_type("netcdf"):
37 #set singlefile_galaxyPath = ','.join( [ str( $single_file ) for $single_file in $file_load_section.file_load_conditional.input ] )
38 #set singlefile_sampleName = ','.join( [ str( $single_file.name ) for $single_file in $file_load_section.file_load_conditional.input ] )
39
40 singlefile_galaxyPath '$singlefile_galaxyPath' singlefile_sampleName '$singlefile_sampleName'
41 #else
42 zipfile '$file_load_section.file_load_conditional.input'
43 #end if
44 #end if
45 </token>
46
47 <xml name="input_file_load">
48 <section name="file_load_section" title="Resubmit your raw dataset or your zip file">
49 <conditional name="file_load_conditional">
50 <param name="file_load_select" type="select" label="Resubmit your dataset or your zip file" help="Use only if you get a message which say that your original dataset or zip file have been deleted on the server." >
51 <option value="no" >no need</option>
52 <option value="yes" >yes</option>
53 </param>
54 <when value="no">
55 </when>
56 <when value="yes">
57 <param name="input" type="data" format="mzxml,mzml,mzdata,netcdf,no_unzip.zip,zip" multiple="true" 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." />
58 </when>
59 </conditional>
60 </section>
61 </xml>
62
63 <xml name="test_file_load_zip">
64 <section name="file_load_section">
65 <conditional name="file_load_conditional">
66 <param name="file_load_select" value="yes" />
67 <param name="input" value="faahKO_reduce.zip" ftype="zip" />
68 </conditional>
69 </section>
70 </xml>
71
72 <xml name="test_file_load_single">
73 <section name="file_load_section">
74 <conditional name="file_load_conditional">
75 <param name="file_load_select" value="yes" />
76 <param name="input" value="wt15.CDF,ko16.CDF,ko15.CDF,wt16.CDF" ftype="netcdf" />
77 </conditional>
78 </section>
79 </xml>
80
81 <token name="@HELP_AUTHORS@">
82 .. class:: infomark
83
84 **Authors** Gunnar Libiseller, Michaela Dvorzak, Ulrike Kleb, Edgar Gander, Tobias Eisenberg, Frank Madeo, Steffen Neumann, Gert Trausinger, Frank Sinner, Thomas Pieber and Christoph Magnes
85
86 .. class:: infomark
87
88 **Galaxy integration** ABiMS TEAM - UPMC/CNRS - Station biologique de Roscoff and Yann Guitton yann.guitton@oniris-nantes.fr - part of Workflow4Metabolomics.org [W4M]
89
90 | Contact support@workflow4metabolomics.org for any questions or concerns about the Galaxy implementation of this tool.
91
92 ---------------------------------------------------
93
94 </token>
95
96
97 <xml name="citation">
98 <citations>
99 <citation type="doi">10.1186/s12859-015-0562-8</citation>
100 <citation type="doi">10.1093/bioinformatics/btu813</citation>
101 </citations>
102 </xml>
103 </macros>