annotate macros.xml @ 0:ac5f2936575b draft

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