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