Mercurial > repos > iuc > mothur_merge_count
annotate merge.count.xml @ 0:7ac8c7bfaab2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
author | iuc |
---|---|
date | Tue, 20 Mar 2018 22:13:46 -0400 |
parents | |
children |
rev | line source |
---|---|
0
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
1 <tool profile="16.07" id="mothur_merge_count" name="Merge.count" version="@WRAPPER_VERSION@.0"> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
2 <description>Merge count tables</description> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
3 <macros> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
5 </macros> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
8 <expand macro="version_command"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
9 <command><![CDATA[ |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
10 @SHELL_OPTIONS@ |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
11 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
12 ## create symlinks to input datasets |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
13 #for $i in $input: |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
14 ln -s '$i' input${input.index($i)}.dat && |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
15 #end for |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
16 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
17 echo 'merge.count( |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
18 count=#for $i in $input#input${input.index($i)}.dat-#end for#, |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
19 output=$output |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
20 )' |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
21 | sed 's/ //g' ## mothur trips over whitespace |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
22 | sed 's/-,/,/g' |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
23 | mothur |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
24 | tee mothur.out.log |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
25 ]]></command> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
26 <inputs> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
27 <param name="input" type="data" format="mothur.count_table" multiple="true" label="input - count tables to merge"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
28 <expand macro="param-savelog"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
29 </inputs> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
30 <outputs> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
31 <expand macro="logfile-output"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
32 <data name="output" format="mothur.count_table" label="${tool.name} on ${on_string}: merged count table"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
33 </outputs> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
34 <tests> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
35 <test> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
36 <param name="input" value="stool_small.count_table,amazon.count_table"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
37 <output name="output" ftype="mothur.count_table"> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
38 <assert_contents> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
39 <expand macro="test-count-format"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
40 <has_text text="U68630"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
41 <has_text text="F11Fcsw_12747"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
42 </assert_contents> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
43 </output> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
44 <param name="savelog" value="true"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
45 <expand macro="logfile-test"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
46 </test> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
47 </tests> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
48 <help><![CDATA[ |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
49 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
50 @MOTHUR_OVERVIEW@ |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
51 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
52 .. _Mothur: https://www.mothur.org/wiki/Main_Page |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
53 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
54 **Command Documentation** |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
55 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
56 The merge.count_ command merges count files into a single count table. |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
57 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
58 .. _merge.count: https://www.mothur.org/wiki/Merge.count |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
59 |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
60 ]]></help> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
61 <expand macro="citations"/> |
7ac8c7bfaab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents:
diff
changeset
|
62 </tool> |