annotate humann_renorm_table.xml @ 0:f76163304dab draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
author thanhlv
date Mon, 13 Feb 2023 16:21:18 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
1 <tool id="humann_renorm_table" name="Renormalize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" >
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
2 <description>a HUMAnN generated table</description>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
3 <macros>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
4 <import>macros.xml</import>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
5 </macros>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
6 <expand macro="edam_ontology"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
7 <expand macro="requirements"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
8 <expand macro="version"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
10 humann_renorm_table
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
11 --input '$input'
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
12 -o '$output'
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
13 --units '$units'
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
14 --mode '$mode'
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
15 --special '$special'
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
16 $update_snames
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
17 ]]></command>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
18 <inputs>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
19 <param argument="--input" type="data" format="tsv,tabular" label="Gene/pathway table"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
20 <param argument="--units" type="select" label="Normalization scheme">
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
21 <option value="cpm" selected="true">Copies per million</option>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
22 <option value="relab">Relative abundance</option>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
23 </param>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
24 <param argument="--mode" type="select" label="Normalization level">
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
25 <option value="community" selected="true">Normalization of all levels by community total</option>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
26 <option value="levelwise">Normalization of all levels by levelwise total</option>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
27 </param>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
28 <param argument="--special" type='boolean' truevalue='y' falsevalue='n' checked="true" label="Include the special features UNMAPPED, UNINTEGRATED, and UNGROUPED?"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
29 <param argument="--update-snames" type='boolean' truevalue='--update-snames' falsevalue='' checked="true" label="Update '-RPK' in sample names to appropriate suffix?"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
30 </inputs>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
31 <outputs>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
32 <data format="tabular" name="output"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
33 </outputs>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
34 <tests>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
35 <test expect_num_outputs="1">
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
36 <param name="input" value="demo_pathabundance.tsv"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
37 <param name="units" value="cpm"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
38 <param name="mode" value="community"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
39 <param name="special" value="n"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
40 <param name="update_snames" value=""/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
41 <output name="output" ftype="tabular" file="cpm_community_renormalized_pathway_abundance.tsv">
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
42 <assert_contents>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
43 <has_text text="PWY-5423: oleoresin monoterpene volatiles biosynthesis" />
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
44 <has_text text="578694" />
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
45 </assert_contents>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
46 </output>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
47 </test>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
48 <test expect_num_outputs="1">
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
49 <param name="input" value="demo_pathabundance.tsv"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
50 <param name="units" value="relab"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
51 <param name="mode" value="levelwise"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
52 <param name="special" value="y"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
53 <param name="update_snames" value=""/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
54 <output name="output" ftype="tabular" file="relab_levelwise_renormalized_pathway_abundance.tsv">
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
55 <assert_contents>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
56 <has_text text="PWY-5423: oleoresin monoterpene volatiles biosynthesis|unclassified" />
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
57 <has_text text="0.630281" />
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
58 </assert_contents>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
59 </output>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
60 </test>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
61 </tests>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
62 <help><![CDATA[
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
63 @HELP_HEADER@
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
64
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
65 HUMAnN quantifies genes and pathways in units of RPKs (reads per kilobase). These account for gene length but not sample sequencing depth.
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
66 While there are some applications, e.g. strain profiling, where RPK units are superior to depth-normalized units, most of the
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
67 time a user will renormalize their samples prior to downstream analysis.
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
68
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
69 This tool provides the choice to normalize to relative abundance or copies per million (CPM) units. Both of these represent
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
70 "total sum scaling (TSS)"-style normalization: in the former case, each sample is constrained to sum to 1, whereas in the
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
71 latter case (CPMs) samples are constrained to sum to 1 million. Units out of 1 million are often more convenient for tables
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
72 with many, many features (such as genefamilies.tsv tables).
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
73
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
74 Note: CPM as used here does not refer to unnormalized COUNTS per million, but rather copies per million.
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
75 CPMs as used here are a generic analog of the TPM (transcript per million) unit in RNA-seq. You may wish to use the
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
76 abbreviation CoPM for added clarity.
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
77
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
78 By default, this tool normalizes all stratification levels to the sum of all community feature totals, but other options
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
79 (such as level-wise normalization) are supported. "Special" features (such as UNMAPPED) can be included or excluded in the
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
80 normalization process.
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
81 ]]></help>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
82 <expand macro="citations"/>
f76163304dab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 6b06711cfba45855d5a992ed1c73c472eaef644f
thanhlv
parents:
diff changeset
83 </tool>