Mercurial > repos > bebatut > combine_metaphlan2_humann2
comparison combine_metaphlan2_humann2.xml @ 1:e25efca0a49c draft
"planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/combine_metaphlan2_humann2 commit 4a40a73a6eb981310a3c1c54dfa98b5460a843f9"
author | bebatut |
---|---|
date | Mon, 14 Sep 2020 12:19:49 +0000 |
parents | 31394a0c0242 |
children |
comparison
equal
deleted
inserted
replaced
0:31394a0c0242 | 1:e25efca0a49c |
---|---|
1 <tool id="combine_metaphlan2_humann2" name="Combine MetaPhlAn2 and HUMAnN2 outputs" version="0.1.0"> | 1 <tool id="combine_metaphlan2_humann2" name="Combine MetaPhlAn2 and HUMAnN2 outputs" version="0.2.0"> |
2 <description>to relate genus/species abundances and gene families/pathways abundances</description> | 2 <description>to relate genus/species abundances and gene families/pathways abundances</description> |
3 | |
4 <requirements> | 3 <requirements> |
5 </requirements> | 4 </requirements> |
6 | |
7 <stdio> | 5 <stdio> |
8 <exit_code range="1:" /> | 6 <exit_code range="1:" /> |
9 <exit_code range=":-1" /> | 7 <exit_code range=":-1" /> |
10 </stdio> | 8 </stdio> |
11 | |
12 <version_command></version_command> | 9 <version_command></version_command> |
13 | |
14 <command><![CDATA[ | 10 <command><![CDATA[ |
15 python $__tool_directory__/combine_metaphlan2_humann2.py | 11 python $__tool_directory__/combine_metaphlan2_humann2.py |
16 --metaphlan2_file $metaphlan2_file | 12 --metaphlan2_fp '$metaphlan2_file' |
17 --humann2_file $humann2_file | 13 --humann2_fp '$humann2_file' |
18 --type $type | 14 --type '$type' |
19 | 15 |
20 #if str($type) == 'gene_families' | 16 #if str($type) == 'gene_families' |
21 --output_file $gene_families_output_file | 17 --output_fp '$gene_families_output_file' |
22 #else | 18 #else |
23 --output_file $pathway_output_file | 19 --output_fp '$pathway_output_file' |
24 #end if | 20 #end if |
25 ]]></command> | 21 ]]></command> |
26 | |
27 <inputs> | 22 <inputs> |
28 <param name="metaphlan2_file" format="txt,tabular" type="data" label="Input file corresponding to MetaPhlAn2 output" help="The MetaPhlAn2 output file contains relative abundance of clades at different taxonomic levels (--metaphlan2_file)"/> | 23 <param name="metaphlan2_file" format="txt,tabular" type="data" label="Input file corresponding to MetaPhlAn2 output" help="The MetaPhlAn2 output file contains relative abundance of clades at different taxonomic levels (--metaphlan2_file)"/> |
29 | |
30 <param name="humann2_file" format="txt,tabular" type="data" label="Input file corresponding to HUMAnN2 output" help="The HUMAnN2 output file contains relative abundance of gene families or pathways with corresponding taxonomic stratification (--humann2_file)"/> | 24 <param name="humann2_file" format="txt,tabular" type="data" label="Input file corresponding to HUMAnN2 output" help="The HUMAnN2 output file contains relative abundance of gene families or pathways with corresponding taxonomic stratification (--humann2_file)"/> |
31 | |
32 <param name='type' type="select" label="Type of characteristics in HUMAnN2 file" help="(--type)"> | 25 <param name='type' type="select" label="Type of characteristics in HUMAnN2 file" help="(--type)"> |
33 <option value="gene_families" selected="true">Gene families</option> | 26 <option value="gene_families" selected="true">Gene families</option> |
34 <option value="pathways">Pathways</option> | 27 <option value="pathways">Pathways</option> |
35 </param> | 28 </param> |
36 </inputs> | 29 </inputs> |
37 | |
38 <outputs> | 30 <outputs> |
39 <data name="gene_families_output_file" format="tabular" | 31 <data name="gene_families_output_file" format="tabular" |
40 label="${tool.name} on ${on_string}: Gene family abundances related to genus/species abundances" > | 32 label="${tool.name} on ${on_string}: Gene family abundances related to genus/species abundances" > |
41 <filter>type=="gene_families"</filter> | 33 <filter>type=="gene_families"</filter> |
42 </data> | 34 </data> |
43 <data name="pathway_output_file" format="tabular" | 35 <data name="pathway_output_file" format="tabular" |
44 label="${tool.name} on ${on_string}: Pathway abundances related to genus/species abundances" > | 36 label="${tool.name} on ${on_string}: Pathway abundances related to genus/species abundances" > |
45 <filter>type=="pathways"</filter> | 37 <filter>type=="pathways"</filter> |
46 </data> | 38 </data> |
47 </outputs> | 39 </outputs> |
48 | |
49 <tests> | 40 <tests> |
50 <test> | 41 <test> |
51 <param name="metaphlan2_file" value="metaphlan2_input.txt"/> | 42 <param name="metaphlan2_file" value="metaphlan2_input.txt"/> |
52 <param name="humann2_file" value="humann2_gene_families_input.tabular"/> | 43 <param name="humann2_file" value="humann2_gene_families_input.tabular"/> |
53 <param name='type' value="gene_families"/> | 44 <param name='type' value="gene_families"/> |
54 <output name="gene_families_output_file" file="gene_families_output.tabular"/> | 45 <output name="gene_families_output_file"> |
46 <assert_contents> | |
47 <has_n_columns n="8"/> | |
48 <has_n_lines n="29434"/> | |
49 <has_text text="Staphylococcus_epidermidis"/> | |
50 <has_text text="Putative transposon Tn552 DNA invertase bin3"/> | |
51 <has_size value="3467947"/> | |
52 </assert_contents> | |
53 </output> | |
55 </test> | 54 </test> |
56 <test> | 55 <test> |
57 <param name="metaphlan2_file" value="metaphlan2_input.txt"/> | 56 <param name="metaphlan2_file" value="metaphlan2_input.txt"/> |
58 <param name="humann2_file" value="humann2_pathways_input.tabular"/> | 57 <param name="humann2_file" value="humann2_pathways_input.tabular"/> |
59 <param name='type' value="pathways"/> | 58 <param name='type' value="pathways"/> |
60 <output name="pathway_output_file" file="pathways_output.tabular"/> | 59 <output name="pathway_output_file"> |
60 <assert_contents> | |
61 <has_n_columns n="8"/> | |
62 <has_n_lines n="1533"/> | |
63 <has_text text="Rhodobacter_sphaeroides"/> | |
64 <has_text text="superpathway of acetyl CoA biosynthesis"/> | |
65 <has_size value="186363"/> | |
66 </assert_contents> | |
67 </output> | |
61 </test> | 68 </test> |
62 </tests> | 69 </tests> |
63 | |
64 <help><![CDATA[ | 70 <help><![CDATA[ |
65 **What it does** | 71 **What it does** |
66 | 72 |
67 This tool combine MetaPhlAn2 outputs and HUMANnN2 outputs. | 73 This tool combine MetaPhlAn2 outputs and HUMANnN2 outputs. |
68 | 74 |
69 For each gene families/pathways and the corresponding taxonomic stratification, you get relative abundance of this gene family/pathway and the relative abundance of corresponding species and genus. | 75 For each gene families/pathways and the corresponding taxonomic stratification, |
76 you get relative abundance of this gene family/pathway and the relative abundance | |
77 of corresponding species and genus. | |
70 ]]></help> | 78 ]]></help> |
71 | |
72 <citations> | 79 <citations> |
73 </citations> | 80 </citations> |
74 </tool> | 81 </tool> |