annotate humann2_rename_table.xml @ 6:639640ad2450 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 8d953926efdf23d8c3fb8719341dff51a55a92f2"
author iuc
date Sun, 28 Mar 2021 07:03:05 +0000
parents 252ae00df89c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
252ae00df89c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 55eb503f50c54695ec36c3d4671c2b3e64d05f40"
iuc
parents: 1
diff changeset
1 <tool id="humann2_rename_table" name="Rename" version="@WRAPPER_VERSION@.1">
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>
5
252ae00df89c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 55eb503f50c54695ec36c3d4671c2b3e64d05f40"
iuc
parents: 1
diff changeset
6 <expand macro="stdio"/>
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
8 <expand macro="version"/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
9 <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
10 humann2_rename_table
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
11 --input '$input'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
12 -o '$output_table'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
13 #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
14 --names '$renaming.names'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
15 #else
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
16 --custom '$renaming.custom'
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
17 #end if
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
18 $simplify
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
19 ]]></command>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
20 <inputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
21 <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
22 <conditional name="renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
23 <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
24 <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
25 <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
26 </param>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
27 <when value="standard">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
28 <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
29 <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
30 <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
31 <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
32 <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
33 <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
34 <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
35 <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
36 <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
37 <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
38 <!--<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
39 <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
40 <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
41 </param>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
42 </when>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
43 <when value="custom">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
44 <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
45 </when>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
46 </conditional>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
47 <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
48 </inputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
49 <outputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
50 <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
51 </outputs>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
52 <tests>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
53 <test>
1
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
54 <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
55 <conditional name="renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
56 <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
57 <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
58 </conditional>
0
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
59 <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
60 <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
61 <assert_contents>
1
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: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
63 <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
64 </assert_contents>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
65 </output>
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 <test>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
68 <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
69 <conditional name="renaming">
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
70 <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
71 <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
72 </conditional>
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
73 <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
74 <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
75 <assert_contents>
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:0000015: GO1" />
b6d4c448782f planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
iuc
parents: 0
diff changeset
77 <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
78 </assert_contents>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
79 </output>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
80 </test>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
81 </tests>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
82 <help><![CDATA[
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
83 @HELP_HEADER@
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
84
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
85 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
86 ]]></help>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
87 <expand macro="citations"/>
dd4b5b9daf6b planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b46aa969c01b7e5f4f133192899fa4da286ecf89-dirty
iuc
parents:
diff changeset
88 </tool>