Mercurial > repos > iuc > mothur_normalize_shared
annotate normalize.shared.xml @ 0:ed349f5c32fe draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
| author | iuc |
|---|---|
| date | Fri, 24 Jun 2016 16:42:45 -0400 |
| parents | |
| children | 00df9f248874 |
| 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"/> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
7 <expand macro="version_command"/> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
8 <command detect_errors="aggressive"><![CDATA[ |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
9 ## create symlinks to input datasets |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
10 ln -s "$otu" otu.dat && |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
11 |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
12 echo 'normalize.shared( |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
13 #if $otu.is_of_type("mothur.relabund"): |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
14 relabund=otu.dat |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
15 #elif $otu.is_of_type("mothur.shared"): |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
16 shared=otu.dat, |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
17 makerelabund=$makerelabund |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
18 #end if |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
19 #if $label: |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
20 ,label=${ str($label).replace(",","-") } |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
21 #end if |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
22 #if $groups: |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
23 ,groups=${ str($groups).replace(",","-") } |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
24 #end if |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
25 #if $method: |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
26 ,method=${ str($method).replace(",","-") } |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
27 #end if |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
28 )' |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
29 | sed 's/ //g' ## mothur trips over whitespace |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
30 | mothur |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
31 ]]></command> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
32 <inputs> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
33 <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
|
34 <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
|
35 <expand macro="labeloptions"/> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
36 </param> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
37 <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
|
38 <options> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
39 <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
|
40 </options> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
41 </param> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
42 <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
|
43 <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
|
44 <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
|
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="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
|
47 </inputs> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
48 <outputs> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
49 <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
|
50 <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
|
51 <discover_datasets pattern=".*?\.(?P<designation>.*)\.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
|
52 </collection> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
53 </outputs> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
54 <tests> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
55 <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
|
56 <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
|
57 <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
|
58 <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
|
59 </output_collection> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
60 <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
|
61 </test> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
62 <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
|
63 <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
|
64 <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
|
65 <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
|
66 <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
|
67 <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
|
68 <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
|
69 </output_collection> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
70 <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
|
71 </test> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
72 </tests> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
73 <help> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
74 <![CDATA[ |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
75 |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
76 @MOTHUR_OVERVIEW@ |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
77 |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
78 **Command Documenation** |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
79 |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
80 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
|
81 |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
82 .. _shared: http://www.mothur.org/wiki/Shared_file |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
83 .. _relabund: http://www.mothur.org/wiki/Get.relabund |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
84 .. _normalize.shared: http://www.mothur.org/wiki/Normalize.shared |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
85 ]]> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
86 </help> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
87 <expand macro="citations"/> |
|
ed349f5c32fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
88 </tool> |
