comparison summary.tax.xml @ 0:76c27b0fa016 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
author iuc
date Fri, 19 May 2017 05:25:49 -0400
parents
children f7dded265782
comparison
equal deleted inserted replaced
-1:000000000000 0:76c27b0fa016
1 <tool profile="16.07" id="mothur_summary_tax" name="Summary.tax" version="@WRAPPER_VERSION@.0">
2 <description>Assign sequences to taxonomy</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="stdio"/>
8 <expand macro="version_command"/>
9 <command><![CDATA[
10 @SHELL_OPTIONS@
11
12 ## create symlinks to input datasets
13 ln -s "$tax.taxonomy" tax.taxonomy.dat &&
14 ln -s "$name" name.dat &&
15 ln -s "$group" group.dat &&
16 ln -s "$count" count.dat &&
17 #if $reftax.source2:
18 ln -s "$reftax.reftaxonomy" myreftax.taxonomy &&
19 ln -s "$sum" myreftax.tree.sum &&
20 #end if
21
22 echo 'summary.tax(
23 taxonomy=tax.taxonomy.dat,
24 #if $name:
25 name=name.dat,
26 #end if
27 #if $group:
28 group=group.dat,
29 #end if
30 #if $reftax.source2:
31 reftaxonomy=myreftax.taxonomy,
32 #end if
33 #if $count:
34 count=count.dat,
35 #end if
36 relabund=$relabund
37 )'
38 | sed 's/ //g' ## mothur trips over whitespace
39 | mothur
40 | tee mothur.out.log
41 ]]></command>
42 <inputs>
43 <conditional name="tax">
44 <param name="source" type="select" label="Select Taxonomy from" help="">
45 <option value="hist">History</option>
46 <option value="ref">Cached Reference</option>
47 </param>
48 <when value="ref">
49 <param name="taxonomy" type="select" format="mothur.seq.taxonomy" label="taxonomy - Taxonomy Reference">
50 <options from_data_table="mothur_taxonomy"/>
51 </param>
52 </when>
53 <when value="hist">
54 <param name="taxonomy" type="data" format="mothur.seq.taxonomy" label="taxonomy - Taxonomy Reference"/>
55 </when>
56 </conditional>
57 <param name="name" type="data" format="mothur.names" optional="true" label="name - taxonomy sequence names"/>
58 <param name="group" type="data" format="mothur.groups" optional="true" label="group - Groups for summary file"/>
59 <conditional name="reftax">
60 <param name="source2" type="select" label="Select Reference Taxonomy used in Summary.seqs from" help="Including the reference taxonomy file used when you classified your sequences keep the rankIDs in the summary file static.">
61 <option value="" selected="true">Selection is Optional</option>
62 <option value="hist">History</option>
63 <option value="ref">Cached Reference</option>
64 </param>
65 <when value="ref">
66 <param name="reftaxonomy" type="select" format="mothur.seq.taxonomy" label="reftaxonomy - Taxonomy Reference used when sequences were classified">
67 <options from_data_table="mothur_taxonomy"/>
68 </param>
69 <param name="sum" type="data" format="tabular" label="tree.sum - summary file produced when sequences were classified" help="run classify.seqs to get this file"/>
70 </when>
71 <when value="hist">
72 <param name="reftaxonomy" type="data" format="mothur.seq.taxonomy" label="reftaxonomy - Taxonomy Reference used when sequences were classified"/>
73 <param name="sum" type="data" format="tabular" label="tree.sum - summary file produced when sequences were classified" help="run classify.seqs to get this file"/>
74 </when>
75 <when value=""/>
76 </conditional>
77 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
78 <param name="relabund" type="boolean" falsevalue="false" truevalue="true" checked="false" label="relabund - allows you to indicate that you want the summary files to be relative abundances rather than raw abundances. default=f"/>
79 </inputs>
80 <outputs>
81 <expand macro="logfile-output"/>
82 <data name="taxsummary" format="mothur.summary" from_work_dir="tax.taxonomy*.tax.summary" label="${tool.name} on ${on_string}: summary"/>
83 </outputs>
84 <tests>
85 <test>
86 <param name="source" value="hist"/>
87 <param name="taxonomy" value="abrecovery.pds.wang.taxonomy" ftype="mothur.seq.taxonomy"/>
88 <output name="taxsummary" md5="1019aae0e68b2ee102565c535a8e03cf" ftype="mothur.summary"/>
89 <expand macro="logfile-test"/>
90 </test>
91 <test>
92 <param name="source" value="hist"/>
93 <param name="taxonomy" value="abrecovery.pds.wang.taxonomy" ftype="mothur.seq.taxonomy"/>
94 <param name="source2" value="hist"/>
95 <param name="reftaxonomy" value="abrecovery.pds.wang.taxonomy" ftype="mothur.seq.taxonomy"/>
96 <param name="sum" value="abrecovery.pds.wang.tree.sum"/>
97 <output name="taxsummary" md5="1019aae0e68b2ee102565c535a8e03cf" ftype="mothur.summary"/>
98 <expand macro="logfile-test"/>
99 </test>
100 </tests>
101 <help>
102 <![CDATA[
103
104 @MOTHUR_OVERVIEW@
105
106 **Command Documentation**
107
108 The summary.tax_ command reads a taxonomy file and an optional name and or group file, and summarizes the taxonomy information.
109
110 .. _summary.tax: https://www.mothur.org/wiki/Summary.tax
111 ]]>
112 </help>
113 <expand macro="citations"/>
114 </tool>