Mercurial > repos > lecorguille > xcms_group
annotate macros.xml @ 16:1a0b21cb7f14 draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 717c02f887ce343ca55f862c8020aaf49f5581d8
author | lecorguille |
---|---|
date | Wed, 08 Feb 2017 05:26:27 -0500 |
parents | fa9fe7d46ec3 |
children | a28473761624 |
rev | line source |
---|---|
4
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
2 <macros> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
3 <xml name="requirements"> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
4 <requirements> |
8
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
5 <requirement type="package" version="0.4_1">r-snow</requirement> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
6 <requirement type="package" version="1.46.0">bioconductor-xcms</requirement> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
7 <requirement type="package" version="1.1_4">r-batch</requirement> |
4
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
8 </requirements> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
9 </xml> |
14
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
10 <xml name="requirements_light"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
11 <requirements> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
12 <requirement type="package" version="1.46.0">bioconductor-xcms</requirement> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
13 </requirements> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
14 </xml> |
4
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
15 <xml name="stdio"> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
16 <stdio> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
17 <exit_code range="1" level="fatal" /> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
18 </stdio> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
19 </xml> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
20 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
21 <token name="@COMMAND_XCMS_SCRIPT@"> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
22 LANG=C Rscript $__tool_directory__/xcms.r |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
23 </token> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
24 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
25 <token name="@COMMAND_LOG_EXIT@"> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
26 ; |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
27 return=\$?; |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
28 mv log.txt $log; |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
29 cat $log; |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
30 sh -c "exit \$return" |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
31 </token> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
32 |
8
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
33 <!-- zipfile load for planemo test --> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
34 |
14
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
35 <token name="@COMMAND_FILE_LOAD@"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
36 #if $file_load_conditional.file_load_select == "yes": |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
37 #if $file_load_conditional.inputs.input == "zip_file": |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
38 zipfile $file_load_conditional.inputs.zip_file |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
39 #else |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
40 #set singlefile_galaxyPath = ','.join( [ str( $single_file ) for $single_file in $file_load_conditional.inputs.single_file ] ) |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
41 #set singlefile_sampleName = ','.join( [ str( $single_file.name ) for $single_file in $file_load_conditional.inputs.single_file ] ) |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
42 |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
43 singlefile_galaxyPath $singlefile_galaxyPath singlefile_sampleName $singlefile_sampleName |
9
7a62871f68a1
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 2aff6f6ced8185ed35371d7ad637e5a44f8a250c
lecorguille
parents:
8
diff
changeset
|
44 #end if |
8
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
45 #end if |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
46 </token> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
47 |
14
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
48 <xml name="file_load"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
49 <conditional name="file_load_conditional"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
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." > |
8
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
51 <option value="no" >no need</option> |
14
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
52 <option value="yes" >yes</option> |
8
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
53 </param> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
54 <when value="no"> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
55 </when> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
56 <when value="yes"> |
14
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
57 <conditional name="inputs"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
58 <param name="input" type="select" label="Choose your inputs method" > |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
59 <option value="zip_file" selected="true">Zip file from your history containing your chromatograms</option> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
60 <option value="single_file">A mzXML or netCDF file from your history</option> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
61 </param> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
62 <when value="zip_file"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
63 <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" /> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
64 </when> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
65 <when value="single_file"> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
66 <param name="single_file" type="data" format="mzxml,netcdf" label="Single file" multiple="true"/> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
67 </when> |
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
68 </conditional> |
8
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
69 </when> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
70 </conditional> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
71 </xml> |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
72 |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
73 |
8ac150e147c9
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
4
diff
changeset
|
74 |
4
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
75 <token name="@HELP_AUTHORS@"> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
76 .. class:: infomark |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
77 |
14
f4dc089f9d19
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 22c4e92909198328fc7439ff47e4546a273eb907
lecorguille
parents:
13
diff
changeset
|
78 **Authors** Colin A. Smith csmith@scripps.edu, Ralf Tautenhahn rtautenh@gmail.com, Steffen Neumann sneumann@ipb-halle.de, Paul Benton hpaul.benton08@imperial.ac.uk and Christopher Conley cjconley@ucdavis.edu |
4
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
79 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
80 .. class:: infomark |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
81 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
82 **Galaxy integration** ABiMS TEAM - UPMC/CNRS - Station biologique de Roscoff and Yann Guitton yann.guitton@oniris-nantes.fr - part of Workflow4Metabolomics.org [W4M] |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
83 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
84 | Contact support@workflow4metabolomics.org for any questions or concerns about the Galaxy implementation of this tool. |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
85 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
86 --------------------------------------------------- |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
87 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
88 </token> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
89 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
90 |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
91 <xml name="citation"> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
92 <citations> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
93 <citation type="doi">10.1021/ac051437y</citation> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
94 <citation type="doi">10.1093/bioinformatics/btu813</citation> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
95 </citations> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
96 </xml> |
fef3d1b8e7f4
planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents:
diff
changeset
|
97 </macros> |