annotate normalize.shared.xml @ 3:6ce70e21be87 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
author iuc
date Wed, 14 Feb 2018 09:51:13 -0500
parents 00df9f248874
children ad0676e23ef5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
1 <tool profile="16.07" id="mothur_normalize_shared" name="Normalize.shared" version="@WRAPPER_VERSION@.0">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
2 <description>Normalize the number of sequences per group to a specified level</description>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
3 <macros>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
5 </macros>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
1
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
1
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
9 <command><![CDATA[
3
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
10 @SHELL_OPTIONS@
1
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
11
3
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
12 ## create symlinks to input datasets
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
13 ln -s '$otu' otu.dat &&
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
14
3
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
15 echo 'normalize.shared(
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
16 #if $otu.is_of_type("mothur.relabund"):
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
17 relabund=otu.dat
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
18 #elif $otu.is_of_type("mothur.shared"):
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
19 shared=otu.dat,
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
20 makerelabund=$makerelabund
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
21 #end if
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
22 #if $label:
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
23 ,label=${ str($label).replace(",","-") }
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
24 #end if
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
25 #if $groups:
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
26 ,groups=${ str($groups).replace(",","-") }
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
27 #end if
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
28 #if $method:
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
29 ,method=${ str($method).replace(",","-") }
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
30 #end if
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
31 )'
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
32 | sed 's/ //g' ## mothur trips over whitespace
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
33 | mothur
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
34 | tee mothur.out.log
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
35 ]]></command>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
36 <inputs>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
37 <param name="otu" type="data" format="mothur.shared,mothur.relabund" label="shared,relabund - OTU Shared or Relabund file"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
38 <param name="label" type="select" multiple="true" label="label - OTU Labels">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
39 <expand macro="labeloptions"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
40 </param>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
41 <param name="groups" type="select" multiple="true" label="groups - Groups to include">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
42 <options>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
43 <filter type="data_meta" ref="otu" key="groups"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
44 </options>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
45 </param>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
46 <param name="method" type="select" label="method - Normalization method">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
47 <option value="totalgroup" selected="true">Total Group</option>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
48 <option value="zscore">Z Score</option>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
49 </param>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
50 <param name="makerelabund" type="boolean" truevalue="true" falsevalue="false" checked="false" label="makerelabund - convert a shared file to a relabund file before you normalize"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
51 </inputs>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
52 <outputs>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
53 <expand macro="logfile-output"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
54 <collection name="sharedfiles" type="list" label="${tool.name} on ${on_string}: norm.shared files collection">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
55 <discover_datasets pattern=".*?\.(?P&lt;designation&gt;.*)\.shared" format="mothur.shared"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
56 </collection>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
57 </outputs>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
58 <tests>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
59 <test><!-- test default settings -->
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
60 <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
61 <output_collection name="sharedfiles" count="36">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
62 <element name="0.26.norm" md5="73ad51ce74e5b3efbc1d9ec8ed6e1c07" ftype="mothur.shared"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
63 </output_collection>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
64 <expand macro="logfile-test"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
65 </test>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
66 <test><!-- test default settings -->
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
67 <param name="otu" value="amazon.an.relabund" ftype="mothur.relabund"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
68 <param name="label" value="0.03,0.05,0.22,0.26"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
69 <param name="groups" value="forest,pasture"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
70 <param name="method" value="zscore"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
71 <output_collection name="sharedfiles" count="4">
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
72 <element name="0.26.norm" md5="1204d65c732fd880585180e956610026" ftype="mothur.shared"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
73 </output_collection>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
74 <expand macro="logfile-test"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
75 </test>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
76 </tests>
3
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
77 <help><![CDATA[
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
78
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
79 @MOTHUR_OVERVIEW@
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
80
1
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
81 **Command Documentation**
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
82
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
83 The normalize.shared_ command normalizes the number of sequences per group to a specified level. The input is a shared_ or relabund_ file.
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
84
1
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
85 .. _shared: https://www.mothur.org/wiki/Shared_file
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
86 .. _relabund: https://www.mothur.org/wiki/Get.relabund
00df9f248874 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
87 .. _normalize.shared: https://www.mothur.org/wiki/Normalize.shared
3
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
88
6ce70e21be87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
89 ]]></help>
0
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
90 <expand macro="citations"/>
ed349f5c32fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
91 </tool>