Mercurial > repos > iuc > mothur_get_rabund
annotate get.rabund.xml @ 6:bd695645069f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit debdcdbb89f9bf3e2c3eed05cb078eddb27d4684"
author | iuc |
---|---|
date | Mon, 02 Dec 2019 05:19:26 -0500 |
parents | d441d54fbe09 |
children |
rev | line source |
---|---|
0
fc3330ca7c70
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_get_rabund" name="Get.rabund" version="@WRAPPER_VERSION@.0"> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
2 <description>Get rabund from a otu list or sabund</description> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
3 <macros> |
fc3330ca7c70
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> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
5 </macros> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
fc3330ca7c70
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"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
9 <command><![CDATA[ |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
10 @SHELL_OPTIONS@ |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
11 |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
12 ## create symlinks to input datasets |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
13 ln -s '$count' count.dat && |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
14 ln -s '$otu' otu.dat && |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
15 |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
16 echo 'get.rabund( |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
17 #if $label: |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
18 label=${ str($label).replace(",","-") }, |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
19 #end if |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
20 #if $count: |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
21 count=count.dat, |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
22 #end if |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
23 #if $otu.is_of_type("mothur.list"): |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
24 list=otu.dat, |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
25 #elif $otu.is_of_type("mothur.sabund"): |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
26 sabund=otu.dat, |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
27 #end if |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
28 sorted=$sorted |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
29 )' |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
30 | sed 's/ //g' ## mothur trips over whitespace |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
31 | mothur |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
32 | tee mothur.out.log |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
33 ]]></command> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
34 <inputs> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
35 <param name="otu" type="data" format="mothur.list,mothur.sabund" label="list,sabund - List or Sabund"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
36 <param name="label" type="select" multiple="true" label="label - select OTU distance labels" help="(all used if none are selected)"> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
37 <expand macro="labeloptions"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
38 </param> |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
39 <param name="sorted" type="boolean" checked="false" truevalue="true" falsevalue="false" label="sorted - sort by abundance" |
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
40 help="By default the data in the rabund file the same order as the OTUs in input, select to sort by abundance."/> |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
41 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/> |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
42 <expand macro="param-savelog"/> |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
43 </inputs> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
44 <outputs> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
45 <expand macro="logfile-output"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
46 <data name="rabund" format="mothur.rabund" from_work_dir="otu*.rabund" label="${tool.name} on ${on_string}: rabund (Rank Abundance)"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
47 </outputs> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
48 <tests> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
49 <test><!-- test sabund input --> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
50 <param name="otu" value="amazon.an.sabund" ftype="mothur.sabund"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
51 <param name="label" value="0.03,0.05"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
52 <output name="rabund" file="amazon.an.rabund2" ftype="mothur.rabund"/> |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
53 <param name="savelog" value="true"/> |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
54 <expand macro="logfile-test"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
55 </test> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
56 <test><!-- test otu list input --> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
57 <param name="otu" value="amazon.an.list" ftype="mothur.list"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
58 <output name="rabund" file="amazon.an.rabund" ftype="mothur.rabund"/> |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
59 <param name="savelog" value="true"/> |
0
fc3330ca7c70
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"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
61 </test> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
62 </tests> |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
63 <help><![CDATA[ |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
64 |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
65 @MOTHUR_OVERVIEW@ |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
66 |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
67 **Command Documentation** |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
68 |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
69 The get.rabund_ command generates an rabund_ file from a list_ or sabund_ file. |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
70 |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
71 .. _rabund: https://www.mothur.org/wiki/Rabund_file |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
72 .. _list: https://www.mothur.org/wiki/List_file |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
73 .. _sabund: https://www.mothur.org/wiki/Sabund_file |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
74 .. _get.rabund: https://www.mothur.org/wiki/Get.rabund |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
75 |
2
d441d54fbe09
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
0
diff
changeset
|
76 ]]></help> |
0
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
77 <expand macro="citations"/> |
fc3330ca7c70
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
78 </tool> |