annotate make.lefse.xml @ 0:d58287720f30 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:38:38 -0400
parents
children 5e4ee2031e00
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
1 <tool profile="16.07" id="mothur_make_lefse" name="Make.lefse" version="@WRAPPER_VERSION@.0">
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
2 <description>create a lefse formatted input file from mothur's output files</description>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
3 <macros>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
4 <import>macros.xml</import>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
5 </macros>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
9 <command><![CDATA[
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
10 @SHELL_OPTIONS@
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
11
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
12 ## create symlinks to input datasets
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
13 ln -s "$otu" otu.dat &&
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
14 ln -s "$design" design.dat &&
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
15 ln -s "$constaxonomy" constaxonomy.dat &&
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
16
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
17 echo 'make.lefse(
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
18 #if $otu.is_of_type("mothur.relabund"):
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
19 relabund=otu.dat,
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
20 #else
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
21 shared=otu.dat,
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
22 #end if
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
23 #if $design:
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
24 design=design.dat,
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
25 #end if
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
26 #if $constaxonomy:
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
27 constaxonomy=constaxonomy.dat,
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
28 #end if
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
29 #if $label:
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
30 label=${ str($label).replace(",","-") },
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
31 #end if
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
32 scale=$scale
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
33 )'
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
34 | sed 's/ //g' ## mothur trips over whitespace
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
35 | mothur
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
36 | tee mothur.out.log
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
37 ]]></command>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
38 <inputs>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
39 <param name="otu" type="data" format="mothur.shared,mothur.relabund" label="shared or relabund - provide a shared or relabund file"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
40 <param name="label" type="select" optional="true" label="label - OTU Labels" help="If none selected, the first label in your file will be used">
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
41 <expand macro="labeloptions"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
42 </param>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
43 <param name="constaxonomy" type="data" format="mothur.cons.taxonomy" optional="true" label="constaxonomy - provide a constaxonomy file"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
44 <param name="design" type="data" format="tabular" optional="true" label="design - provide your design file"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
45 <param name="scale" type="select" multiple="false" label="scale - select what scale you would like to use to convert your shared file abundances to relative abundances" help="">
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
46 <option value="totalgroup" selected="true">totalgroup</option>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
47 <option value="totalotu">totalotu</option>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
48 <option value="averagegroup">averagegroup</option>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
49 <option value="averageotu">averageotu</option>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
50 </param>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
51 </inputs>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
52 <outputs>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
53 <expand macro="logfile-output"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
54 <data name="lefse_out" format="tabular" from_work_dir="otu*.lefse" label="${tool.name} on ${on_string}: lefse"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
55 </outputs>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
56 <tests>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
57 <test><!-- test with shared file and defaults -->
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
58 <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
59 <output name="lefse_out" md5="295633107cd983be73389e8b92164686" ftype="tabular"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
60 <expand macro="logfile-test"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
61 </test>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
62 <test><!-- test with relabund file -->
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
63 <param name="otu" value="amazon.an.relabund" ftype="mothur.relabund"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
64 <param name="design" value="toymothur.design2" ftype="tabular"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
65 <param name="label" value="0.18"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
66 <output name="lefse_out" md5="c1e88702c6db198080c09f3b9c404c63" ftype="tabular"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
67 <expand macro="logfile-test"/>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
68 </test>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
69 </tests>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
70 <help>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
71 <![CDATA[
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
72
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
73 @MOTHUR_OVERVIEW@
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
74
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
75 **Command Documentation**
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
76
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
77 The make.lefse_ allows you to create a lefse formatted input file from mothur's output files.
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
78
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
79 .. _make.lefse: https://www.mothur.org/wiki/Make.lefse
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
80
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
81 ]]>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
82 </help>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
83 <citations>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
84 <citation type="doi">10.1128/AEM.01541-09</citation>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
85 </citations>
d58287720f30 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
86 </tool>