annotate metaphlan2.xml @ 2:f60773e921fa draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
author iuc
date Fri, 19 Mar 2021 21:39:32 +0000
parents 9be4beda6482
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
1 <tool id="metaphlan2" name="MetaPhlAn2" version="@WRAPPER_VERSION@.1">
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
2
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
3 <description>to profile the composition of microbial communities</description>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
4
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
5 <macros>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
6 <import>metaphlan2_macros.xml</import>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
7 </macros>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
8
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
9 <expand macro="requirements">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
10 <requirement type="package" version="2.3.0">bowtie2</requirement>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
11 <requirement type="package" version="2.7.10">python</requirement>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
12 </expand>
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
13
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
14 <expand macro="stdio"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
15
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
16 <version_command>metaphlan2.py -v</version_command>
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
17
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
18 <command><![CDATA[
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
19 #if $db.db_selector == "history"
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
20 mkdir ref_db
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
21 &&
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
22 bowtie2-build '$db.bowtie2db' 'ref_db/ref_db'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
23 &&
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
24 python '$__tool_directory__/transform_json_to_pkl.py'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
25 --json_input '$db.mpa_pkl'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
26 --pkl_output 'ref_db/metadata.pkl'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
27 &&
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
28 #end if
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
29
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
30 #if $input_file.datatype.file_ext.startswith("fastq")
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
31 #set ext='fastq'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
32 #else
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
33 #set ext=$input_file.datatype.file_ext
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
34 #end if
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
35
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
36 metaphlan2.py
2
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
37 #if $input_file.datatype.file_ext.endswith(".gz")
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
38 <(zcat '$input_file')
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
39 #else if $input_file.datatype.file_ext.endswith(".bz2")
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
40 <(bzcat '$input_file')
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
41 #else
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
42 '$input_file'
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
43 #end if
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
44 -o '$output_file'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
45 --input_type $ext
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
46 --bowtie2_exe `which bowtie2`
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
47
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
48 #if $db.db_selector == "cached"
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
49 #set $path = $db.cached_db.fields.path
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
50 #set $value = $db.cached_db.fields.value
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
51 --bowtie2db $path/$value
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
52 --mpa_pkl $path/$value'.pkl'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
53 #else
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
54 --bowtie2db 'ref_db/ref_db'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
55 --mpa_pkl 'ref_db/metadata.pkl'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
56 #end if
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
57
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
58 --no_map
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
59
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
60 -t '$analysis_type.analysis_type_select'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
61 #if $analysis_type.analysis_type_select == "rel_ab" or $analysis_type.analysis_type_select == "rel_ab_w_read_stats"
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
62 --tax_lev '$analysis_type.tax_lev'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
63 #else if $analysis_type.analysis_type_select == "marker_ab_table"
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
64 --nreads '$analysis_type.nreads'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
65 #else if $analysis_type.analysis_type_select == "marker_pres_table"
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
66 --pres_th '$analysis_type.pres_th'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
67 #end if
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
68
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
69 --min_cu_len '$min_cu_len'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
70 --min_alignment_len '$min_alignment_len'
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
71
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
72 $ignore_viruses
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
73 $ignore_eukaryotes
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
74 $ignore_bacteria
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
75 $ignore_archaea
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
76
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
77 --stat_q '$stat_q'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
78 -s '$sam_output_file'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
79 --biom '$biom_output_file'
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
80 ]]></command>
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
81
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
82 <inputs>
2
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
83 <param name="input_file" type="data" format="fastq,fastq.gz,fastq.bz2,fasta,fasta.gz,fasta.bz2,sam" label="Input file"/>
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
84 <conditional name="db">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
85 <param name="db_selector" type="select" label="Database with clade-specific marker genes">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
86 <option value="cached" selected="true">Locally cached</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
87 <option value="history">From history</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
88 </param>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
89 <when value="cached">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
90 <param name="cached_db" label="Cached database with clade-specific marker genes" type="select">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
91 <options from_data_table="metaphlan2_database"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
92 </param>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
93 </when>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
94 <when value="history">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
95 <param argument="--bowtie2db" type="data" format="fasta" label="Database with clade-specific marker genes from history"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
96 <param argument="--mpa_pkl" type="data" format="json" label="Metadata associate to the database with clade-specific marker genes from history"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
97 </when>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
98 </conditional>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
99 <conditional name="analysis_type">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
100 <param name="analysis_type_select" type="select" label="Type of analysis to perform" argument="-t">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
101 <option value="rel_ab" selected="true">Profiling a metagenomes in terms of relative abundances</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
102 <option value="rel_ab_w_read_stats">Profiling a metagenomes in terms of relative abundances and estimate the number of reads comming from each clade</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
103 <option value="reads_map">Mapping from reads to clades (only reads hitting a marker)</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
104 <option value="clade_profiles">Normalized marker counts for clades with at least a non-null marker</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
105 <option value="marker_ab_table">Normalized marker counts (only when > 0.0 and normalized by metagenome size if --nreads is specified)</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
106 <option value="marker_counts">Non-normalized marker counts (use with extreme caution)</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
107 <option value="marker_pres_table">List of markers present in the sample (threshold at 1.0 if not differently specified with --pres_th</option>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
108 </param>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
109 <when value="rel_ab">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
110 <expand macro="tax_lev"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
111 </when>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
112 <when value="rel_ab_w_read_stats">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
113 <expand macro="tax_lev"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
114 </when>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
115 <when value="reads_map"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
116 <when value="clade_profiles"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
117 <when value="marker_ab_table">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
118 <param argument="--nreads" type="integer" value="0" label="Total number of reads in the original metagenome" help="It is used for normalizing the length-normalized counts with the metagenome size as well. No normalization applied if the value is not specified"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
119 </when>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
120 <when value="marker_counts"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
121 <when value="marker_pres_table">
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
122 <param argument="--pres_th" type="integer" value="0" label=" Threshold for calling a marker present"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
123 </when>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
124 </conditional>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
125 <param argument="--min_cu_len" type="integer" value="2000" label="Minimum total nucleotide length for the markers in a clade for estimating the abundance without considering sub-clade abundances"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
126 <param argument="--min_alignment_len" type="integer" value="0" label="Sam records for aligned reads with the longest subalignment length smaller than this threshold will be discarded."/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
127 <param argument="--ignore_viruses" type='boolean' checked="true" truevalue='' falsevalue='--ignore_viruses' label="Profile viral organisms?"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
128 <param argument="--ignore_eukaryotes" type='boolean' checked="true" truevalue='' falsevalue='--ignore_eukaryotes' label="Profile eukaryotic organisms?"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
129 <param argument="--ignore_bacteria" type='boolean' checked="true" truevalue='' falsevalue='--ignore_bacteria' label="Profile bacteria organisms?"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
130 <param argument="--ignore_archaea" type='boolean' checked="true" truevalue='' falsevalue='--ignore_archaea' label="Profile archea organisms?"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
131 <param argument="--stat_q" type="float" value="0.1" label="Quantile value for the robust average"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
132 </inputs>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
133
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
134 <outputs>
1
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
135 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}: Community profile" />
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
136 <data name="sam_output_file" format="sam" label="${tool.name} on ${on_string}: SAM file" />
9be4beda6482 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 40926b77d62858edbca5b04f73bb0f2aad4da31e"
iuc
parents: 0
diff changeset
137 <data name="biom_output_file" format="biom1" label="${tool.name} on ${on_string}: BIOM file" />
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
138 </outputs>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
139
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
140 <tests>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
141 <test>
2
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
142 <param name="input_file" value="input_sequences.fasta" ftype="fasta"/>
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
143 <param name="db_selector" value="history" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
144 <param name="mpa_pkl" value="marker_metadata.json" />
2
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
145 <param name="bowtie2db" value="marker_sequences.fasta" ftype="fasta"/>
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
146 <param name="analysis_type_select" value="rel_ab" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
147 <param name="taxonomic_level" value="a" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
148 <param name="min_cu_len" value="2000" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
149 <param name="min_alignment_len" value="0" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
150 <param name="ignore_viruses" value="" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
151 <param name="ignore_eukaryotes" value="" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
152 <param name="ignore_bacteria" value="" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
153 <param name="ignore_archaea" value="" />
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
154 <param name="stat_q" value="0.1" />
2
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
155 <output name="output_file" file="community_profile.tabular" ftype="tabular"/>
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
156 </test>
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
157 <test>
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
158 <param name="input_file" value="input_sequences.fastq.gz" ftype="fastqsanger.gz"/>
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
159 <param name="db_selector" value="history" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
160 <param name="mpa_pkl" value="marker_metadata.json" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
161 <param name="bowtie2db" value="marker_sequences.fasta" ftype="fasta"/>
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
162 <param name="analysis_type_select" value="rel_ab" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
163 <param name="taxonomic_level" value="a" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
164 <param name="min_cu_len" value="2000" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
165 <param name="min_alignment_len" value="0" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
166 <param name="ignore_viruses" value="" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
167 <param name="ignore_eukaryotes" value="" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
168 <param name="ignore_bacteria" value="" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
169 <param name="ignore_archaea" value="" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
170 <param name="stat_q" value="0.1" />
f60773e921fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit bfc25b2695b9689c60101f84162610194a33c886"
iuc
parents: 1
diff changeset
171 <output name="output_file" file="community_profile.tabular" ftype="tabular"/>
0
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
172 </test>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
173 </tests>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
174
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
175 <help><![CDATA[
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
176 **What it does**
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
177
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
178 MetaPhlAn is a computational tool to profile the structure and the composition of microbial communities (Bacteria, Archaea, Eukaryotes and Viruses) from metagenomic shotgun sequencing data with species level resolution. For more information, check the `user manual <https://bitbucket.org/biobakery/metaphlan2/>`_.
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
179
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
180 **Inputs**
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
181
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
182 Metaphlan2 takes as input a sequence file in Fasta, FastQ, a SAM file.
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
183
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
184 It is also possible to use a custom database with clade-specific marker genes. In this case, a fasta file with marker gene sequences is required and also a file containing metadata. This file is a json file with:
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
185
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
186 ::
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
187
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
188 {
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
189 "taxonomy": {
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
190 "taxonomy of genome1": genome1_length,
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
191 "taxonomy of genome2": genome2_length,
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
192 ...
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
193 }
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
194 "markers": {
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
195 "marker1_name": {
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
196 "clade": the clade that the marker belongs to,
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
197 "ext": [list of external genomes where the marker appears],
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
198 "len": length of the marker,
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
199 "score": score of the marker,
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
200 "taxon": the taxon of the marker
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
201 }
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
202 ...
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
203 }
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
204 }
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
205
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
206 The marker name correspond to the corresponding sequence name in the FastA file containing marker gene sequences.
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
207
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
208 **Outputs**
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
209
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
210 The main output file is a tab-separated file with the predicted taxon relative abundances.
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
211
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
212 ]]></help>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
213
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
214 <expand macro="citations"/>
8c82c4d90cc6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
iuc
parents:
diff changeset
215 </tool>