comparison humann2_merge_abundance_tables.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_merge_abundance_tables" name="Merge" version="0.6.1">
2 <description> HUMAnN2 generated gene and pathway abundance tables</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_merge_abundance_tables --version
14 ]]>
15 </version_command>
16
17 <command><![CDATA[
18 humann2_merge_abundance_tables
19
20 --input-genes $input_gene
21 --input-pathways $input_pathway
22
23 #if $gene_mapping_selection.gene_mapping_selection_test == "true":
24 --gene-mapping $gene_mapping
25 #end if
26
27 #if $pathway_mapping_selection.pathway_mapping_selection_test == "true":
28 --pathway-mapping $pathway-mapping
29 #end if
30
31 $remove_taxonomy
32
33 -o $output_table
34 ]]></command>
35
36 <inputs>
37 <param name="input_gene" type="data" format="tsv" label="Gene family or EC abundance file" help="(--input-genes)"/>
38
39 <param name="input_pathway" type="data" format="tsv" label="Pathway abundance file" help="(--input-pathways)"/>
40
41 <conditional name="gene_mapping_selection">
42 <param name='gene_mapping_selection_test' type='boolean' checked="false" truevalue='true' falsevalue='false' label="Use a gene mapping file?" help=""/>
43 <when value="true">
44 <param name="gene_mapping" type="data" format="tsv" label="Gene family to reaction mapping file" help="(--gene-mapping)"/>
45 </when>
46 <when value="false">
47 </when>
48 </conditional>
49 <conditional name="pathway_mapping_selection">
50 <param name='pathway_mapping_selection_test' type='boolean' checked="false" truevalue='true' falsevalue='false' label="Use a pathway mapping file?" help=""/>
51 <when value="true">
52 <param name="pathway_mapping" type="data" format="tsv" label="Reaction to pathway mapping file" help="(--pathway-mapping)"/>
53 </when>
54 <when value="false">
55 </when>
56 </conditional>
57
58 <param name='remove_taxonomy' type='boolean' checked="false" truevalue='--remove-taxonomy' falsevalue='' label="Remove the taxonomy from the output file?" help="(--remove-taxonomy)"/>
59 </inputs>
60
61 <outputs>
62 <data format="tsv" name="output_table" label="${tool.name} on ${on_string}: Merged table" />
63 </outputs>
64
65 <tests>
66 <test>
67 <param name="input_gene" value="expected_gene_family_abundance.tsv"/>
68 <param name="input_pathway" value="expected_pathway_abundance.tsv"/>
69 <param name="gene_mapping_selection_test" value="false"/>
70 <param name="pathway_mapping_selection" value="false"/>
71 <param name="remove_taxonomy" value="false"/>
72 <output name="output_table" file="merged_gene_families_pathways_abundances.tsv" />
73 </test>
74 </tests>
75
76 <help><![CDATA[
77 **What it does**
78
79 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>`_.
80
81 The currest tool merge a table containing gene family abundances with a table containing pathway abundances, given a gene to pathway mapping (default or custom one).
82
83 ]]></help>
84
85 <expand macro="citations"/>
86 </tool>