Mercurial > repos > bebatut > humann2
comparison humann2_regroup_table.xml @ 0:3d6f37e7e3a8 draft
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 7aadbbdef6da644837f62ea428cb859eeff34f04-dirty
author | bebatut |
---|---|
date | Thu, 26 May 2016 10:20:59 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3d6f37e7e3a8 |
---|---|
1 <tool id="humann2_regroup_table" name="Regroup" version="0.6.1"> | |
2 <description> a HUMAnN2 generated table by features</description> | |
3 | |
4 <macros> | |
5 <import>humann2_macros.xml</import> | |
6 </macros> | |
7 | |
8 <expand macro="requirements"/> | |
9 <expand macro="stdio"/> | |
10 | |
11 <version_command> | |
12 <![CDATA[ | |
13 humann2_regroup_table --version | |
14 ]]> | |
15 </version_command> | |
16 | |
17 <command><![CDATA[ | |
18 humann2_regroup_table | |
19 -i $input_table | |
20 -o $output_table | |
21 --function $function | |
22 | |
23 #if $built_in.built_in_test == "true": | |
24 --groups $built_in.groups | |
25 #else: | |
26 --custom $built_in.file | |
27 $built_in.reversed | |
28 #end if | |
29 ]]></command> | |
30 | |
31 <inputs> | |
32 <param name="input_table" type="data" format="tsv" label="Gene/pathway table" help="(-i)"/> | |
33 | |
34 <param name="function" type="select" label="How to combine grouped features?" help="(--function)"> | |
35 <option value="sum" selected="true">Sum</option> | |
36 <option value="mean">Mean</option> | |
37 </param> | |
38 | |
39 <conditional name="built_in"> | |
40 <param name='built_in_test' type='select' label="Use built-in grouping options?" help=""> | |
41 <option value="true" selected="true">Yes</option> | |
42 <option value="false">No</option> | |
43 </param> | |
44 | |
45 <when value="true"> | |
46 <param name="groups" type="select" label="Grouping options" help="(--groups)"> | |
47 <option value="uniref50_ec" selected="true">Collapses UniRef50 gene families into top level enzyme commission (EC) categories (associations inferred from UniProt)</option> | |
48 <option value="uniref50_go">Collapses UniRef50 gene families into a subset of non-redundant, high-level Gene Ontology (GO) categories (associations inferred from UniProt and a HUMAnN2-specific parsing of the GO hierarchy)</option> | |
49 <option value="uniref50_ko">Collapses UniRef50 gene families into KEGG Orthogroups (KOs) (associations inferred from UniProt)</option> | |
50 <option value="uniref50_rxn">Collapses UniRef50 gene families into metacyc reactions (use of reaction abundances to compute the abundance and coverage of broader metabolic pathways)</option> | |
51 </param> | |
52 </when> | |
53 | |
54 <when value="false"> | |
55 <param name="file" type="data" format="tsv" label="Custom groups file" help="(--custom)"/> | |
56 <param name='reversed' type='boolean' checked="false" truevalue='--reversed' falsevalue='' label="Is the groups file reversed?" help="Mapping from features to groups. (--reversed)"/> | |
57 </when> | |
58 </conditional> | |
59 </inputs> | |
60 | |
61 <outputs> | |
62 <data format="tsv" name="output_table" label="${tool.name} on ${on_string}: Regrouped table" /> | |
63 </outputs> | |
64 | |
65 <tests> | |
66 <test> | |
67 <param name="input_table" value="expected_gene_family_abundance.tsv"/> | |
68 <param name="function" value="sum"/> | |
69 <param name="built_in_test" value="true"/> | |
70 <param name="groups" value="uniref50_ec"/> | |
71 <output name="output_table" file="regrouped_gene_families_to_ec.tsv"/> | |
72 </test> | |
73 <test> | |
74 <param name="input_table" value="expected_gene_family_abundance.tsv"/> | |
75 <param name="function" value="mean"/> | |
76 <param name="built_in_test" value="true"/> | |
77 <param name="groups" value="uniref50_ko"/> | |
78 <output name="output_table" file="regrouped_gene_families_to_ko.tsv"/> | |
79 </test> | |
80 </tests> | |
81 | |
82 <help><![CDATA[ | |
83 **What it does** | |
84 | |
85 HUMAnN is a pipeline for efficiently and accuretly profiling the presence/absence and abundance of microbial pathways in a community from metagenomic or metatranscriptomic sequencing data. `Read more about the tool <http://huttenhower.sph.harvard.edu/humann2/manual>`_. | |
86 | |
87 Regroup HUMAnN2 table features is a tool for regrouping table features (abundances or coverage) given a table of feature values and a mapping of groups to component features. It produces a new table with group values in place of feature values. | |
88 ]]></help> | |
89 | |
90 <expand macro="citations"/> | |
91 </tool> |