annotate humann2_rename_table.xml @ 2:059d752e3a1a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
author iuc
date Thu, 09 Nov 2017 13:41:40 -0500
parents b6d4c448782f
children 252ae00df89c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
1 <tool id="humann2_rename_table" name="Rename" version="@WRAPPER_VERSION@.0">
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
2 <description>features of a HUMAnN2 generated table</description>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
3 <macros>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
4 <import>humann2_macros.xml</import>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
5 </macros>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
7 <expand macro="version"/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
9 humann2_rename_table
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
10 --input '$input'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
11 -o '$output_table'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
12 #if $renaming.type == 'standard'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
13 --names '$renaming.names'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
14 #else
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
15 --custom '$renaming.custom'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
16 #end if
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
17 $simplify
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
18 ]]></command>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
19 <inputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
20 <param argument="--input" type="data" format="tsv,tabular" label="Gene/pathway table"/>
1
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
21 <conditional name="renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
22 <param name="type" type="select" label="Type of renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
23 <option value="standard">Standard renaming</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
24 <option value="custom">Custom renaming</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
25 </param>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
26 <when value="standard">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
27 <param argument="--names" type="select" label="Table features that can be renamed">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
28 <option value="metacyc-rxn" selected="true">MetaCyc reactions</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
29 <option value="metacyc-pwy">MetaCyc pathways</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
30 <option value="infogo1000">InfoGO1000</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
31 <option value="kegg-module">KEGG Module</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
32 <option value="ec">Enzyme commision (EC)</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
33 <option value="go">Gene Ontology (GO)</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
34 <option value="pfam">PFAM</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
35 <option value="eggnog">eggNOG</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
36 <option value="uniref50">UniRef50</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
37 <!--<option value="uniref90">UniRef90</option>-->
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
38 <option value="kegg-pathway">KEGG Pathway</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
39 <option value="kegg-orthology">KEGG Orthology</option>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
40 </param>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
41 </when>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
42 <when value="custom">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
43 <param argument="--custom" type="data" format="tsv" label="Mapping file" help="The mapping file must be tabular format file with two tab-separated columns. The first column must contain the value you want to modify and the second contain the new value"/>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
44 </when>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
45 </conditional>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
46 <param argument="--simplify" type="boolean" truevalue="--simplify" falsevalue="" checked="false" label="Remove non-alphanumeric characters from names?"/>
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
47 </inputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
48 <outputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
49 <data format="tsv" name="output_table" label="${tool.name} on ${on_string}: Renamed table" />
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
50 </outputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
51 <tests>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
52 <test>
1
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
53 <param name="input" value="regrouped_gene_families_to_infogo1000.tsv"/>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
54 <conditional name="renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
55 <param name="type" value="standard"/>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
56 <param name="names" value="infogo1000" />
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
57 </conditional>
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
58 <param name="simplify" value=""/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
59 <output name="output_table">
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
60 <assert_contents>
1
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
61 <has_text text="GO:0000015: [CC] phosphopyruvate hydratase complex" />
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
62 <has_text text="GO:0000287: [MF] magnesium ion binding" />
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
63 </assert_contents>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
64 </output>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
65 </test>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
66 <test>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
67 <param name="input" value="regrouped_gene_families_to_infogo1000.tsv"/>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
68 <conditional name="renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
69 <param name="type" value="custom"/>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
70 <param name="custom" value="rename_mapping" />
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
71 </conditional>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
72 <param name="simplify" value=""/>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
73 <output name="output_table">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
74 <assert_contents>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
75 <has_text text="GO:0000015: GO1" />
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
76 <has_text text="GO:0000107: NO_NAME" />
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
77 </assert_contents>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
78 </output>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
79 </test>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
80 </tests>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
81 <help><![CDATA[
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
82 @HELP_HEADER@
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
83
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
84 Rename HUMAnN2 table features is a tool for renaming table features given a custom mapping. The mapping file must be tabular format file with two tab-separated columns. The first column must contain the value you want to modify and the second contain the new valu
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
85 ]]></help>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
86 <expand macro="citations"/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
87 </tool>