annotate blast2lca.xml @ 3:a80281b0172e draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 5386f7bb4bf5bdd4b5303d0686c97fe5d9b99ca0"
author iuc
date Sat, 11 Dec 2021 11:53:22 +0000
parents 1930eb870dca
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
1 <tool id="megan_blast2lca" name="MEGAN Blast2LCA: apply LCA alignment" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
2 <description>to produce a taxonomic classification</description>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
3 <macros>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
5 </macros>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
6 <expand macro="bio_tools"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
9 #import re
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
10
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
11 #if $blast_input.is_of_type('daa'):
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
12 #set blast_format = 'DAA'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
13 #else if $blast_input.is_of_type('txt'):
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
14 #set blast_format = 'BlastText'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
15 #else if $blast_input.is_of_type('blastxml'):
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
16 #set blast_format = 'BlastXML'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
17 #else if $blast_input.is_of_type('tabular'):
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
18 #set blast_format = 'BlastTab'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
19 #else if $blast_input.is_of_type('sam'):
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
20 #set blast_format = 'SAM'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
21 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
22 #set blast_ext = '.' + $blast_format
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
23 #if $blast_input.ext.endswith('.gz'):
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
24 #set blast_ext = $blast_ext + '.gz'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
25 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
26
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
27 #set blast_input_identifier = 'blast_input' + $blast_ext
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
28 ln -s '${blast_input}' '${blast_input_identifier}' &&
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
29
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
30 blast2lca
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
31 --input '${blast_input_identifier}'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
32 --format '${blast_format}'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
33 --mode '${mode}'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
34 $advanced_options.showRanks
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
35 $advanced_options.officialRanksOnly
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
36 $advanced_options.showTaxIds
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
37 --minScore $advanced_options.minScore
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
38 --maxExpected $advanced_options.maxExpected
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
39 --topPercent $advanced_options.topPercent
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
40 --minPercentIdentity $advanced_options.minPercentIdentity
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
41 --maxKeggPerRead $advanced_options.maxKeggPerRead
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
42 $advanced_options.applyTopPercentKegg
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
43 $advanced_options.parseTaxonNames
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
44 #if $advanced_options.mapDB:
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
45 --mapDB '$advanced_options.mapDB'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
46 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
47 #if $advanced_options.acc2taxa:
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
48 --acc2taxa '$advanced_options.acc2taxa'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
49 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
50 #if $advanced_options.syn2taxa:
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
51 --syn2taxa '$advanced_options.syn2taxa'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
52 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
53 #if $advanced_options.acc2kegg:
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
54 --acc2kegg '$advanced_options.acc2kegg'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
55 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
56 #if $advanced_options.syn2kegg:
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
57 --syn2kegg '$advanced_options.syn2kegg'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
58 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
59 $advanced_options.firstWordIsAccession
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
60 #if str($advanced_options.accessionTags) != '':
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
61 --accessionTags '$advanced_options.maccessionTags'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
62 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
63 #if $advanced_options.kegg:
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
64 --kegg
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
65 --keggOutput '$kegg_output'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
66 #end if
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
67 --output '${taxonomy_output}'
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
68 ]]></command>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
69 <inputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
70 <param name="blast_input" argument="--input" type="data" format="daa,blastxml,sam,tabular,txt" label="Blast file"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
71 <param argument="--mode" type="select" label="Blast mode">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
72 <expand macro="blast_mode_options"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
73 </param>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
74 <section name="advanced_options" title="Advanced options" expanded="false">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
75 <param argument="--kegg" type="boolean" truevalue="--kegg" falsevalue="" checked="false" label="Map reads to KEGG KOs?"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
76 <param argument="--showRanks" type="boolean" truevalue="--showRanks" falsevalue="" checked="true" label="Show taxonomic ranks?"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
77 <param argument="--officialRanksOnly" type="boolean" truevalue="--officialRanksOnly" falsevalue="" checked="true" label="Report only taxa that have an official rank?"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
78 <param argument="--showTaxIds" type="boolean" truevalue="--showTaxIds" falsevalue="" checked="false" label="Report taxon ids rather than taxon names?"/>
3
a80281b0172e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 5386f7bb4bf5bdd4b5303d0686c97fe5d9b99ca0"
iuc
parents: 1
diff changeset
79 <expand macro="min_score_param"/>
a80281b0172e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 5386f7bb4bf5bdd4b5303d0686c97fe5d9b99ca0"
iuc
parents: 1
diff changeset
80 <expand macro="max_expected_param"/>
a80281b0172e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 5386f7bb4bf5bdd4b5303d0686c97fe5d9b99ca0"
iuc
parents: 1
diff changeset
81 <expand macro="min_percent_identity_param"/>
a80281b0172e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 5386f7bb4bf5bdd4b5303d0686c97fe5d9b99ca0"
iuc
parents: 1
diff changeset
82 <expand macro="top_percent_param"/>
0
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
83 <param argument="--maxKeggPerRead" type="integer" value="4" label="Maximum number of KEGG assignments to report for a read"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
84 <param argument="--applyTopPercentKegg" type="boolean" truevalue="--applyTopPercentKegg" falsevalue="" checked="true" label="Apply top percent filter in KEGG KO analysis?"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
85 <param argument="--parseTaxonNames" type="boolean" truevalue="--parseTaxonNames" falsevalue="" checked="true" label="Apply top percent filter in KEGG KO analysis?"/>
1
1930eb870dca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit c5facb54a0de925b30cb86f05989e9254d22b89d"
iuc
parents: 0
diff changeset
86 <expand macro="mapdb_param"/>
0
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
87 <param argument="--acc2taxa" type="data" format="sqlite" optional="true" label="Accession-to-Taxonomy mapping file"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
88 <param argument="--syn2taxa" type="data" format="sqlite" optional="true" label="Synonyms-to-Taxonomy mapping file"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
89 <param argument="--acc2kegg" type="data" format="sqlite" optional="true" label="Accession-to-KEGG mapping file"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
90 <param argument="--syn2kegg" type="data" format="sqlite" optional="true" label="Synonyms-to-KEGG mapping file"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
91 <param argument="--firstWordIsAccession" type="boolean" truevalue="--firstWordIsAccession" falsevalue="" checked="true" label="First word in reference header is accession number?" help="Set to true for NCBI-nr downloaded Sep 2016 or later"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
92 <param argument="--accessionTags" type="text" optional="true" label="List of accession tags" help="Specify a space-separated list of tags (e.g., 'gb|' 'ref|')">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
93 <expand macro="sanitize_query" validinitial="string.ascii_letters,string.punctuation"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
94 </param>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
95 </section>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
96 </inputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
97 <outputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
98 <data name="taxonomy_output" format="txt"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
99 <data name="kegg_output" format="txt" label="${tool.name} on ${on_string} (KEGG)">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
100 <filter>advanced_options['kegg']</filter>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
101 </data>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
102 </outputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
103 <tests>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
104 <test expect_num_outputs="2">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
105 <param name="blast_input" value="blast_R1.txt" ftype="txt"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
106 <param name="mode" value="BlastN"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
107 <section name="advanced_options">
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
108 <param name="kegg" value="true"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
109 </section>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
110 <output name="taxonomy_output" file="taxonomy_output.txt" ftype="txt"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
111 <output name="kegg_output" file="kegg_output.txt" ftype="txt"/>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
112 </test>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
113 </tests>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
114 <help>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
115 **What it does**
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
116
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
117 Applies the LCA alignment to reads and can also perform KEGG classification. The input is a BLAST file or something similar.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
118 This wrapper supports the following formats for the input Blast file. The SAM, Tabular and Text formats can be produced by
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
119 The Galaxy MALT Analyzer tool. When these formats are used, this tool will apply the SAM, BlastText and BlastTab format options
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
120 required by MEGAN.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
121
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
122 * **Direct Access Archive (DAA)** - a proprietary file format developed by PowerISO Computing for disk image files
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
123 * **BlastXML** - XML output from Blast
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
124 * **Sequence Alignment/Map (SAM)** - a tab-delimited text format consisting of a header section, which is optional, and an alignment section
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
125 * **Tabular** - information presented in the form of a table with rows and columns
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
126 * **Text** - plain text format
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
127
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
128 The tool produces a text file for the LCA alignment.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
129
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
130 If the option to Map reads to KEGG KOs is selected, an additional text file containing the KEGG classification is produced.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
131 The KEGG database provides a collection of metabolic pathways and other pathways, but due to KEGG licensing restrictions, the
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
132 Community Edition of KEGG (used by this tool) ships with an early 2011 version of the KEGG classification, so KEGG pathways
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
133 cannot be viewed in the putput.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
134
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
135 The KEGG classification can be displayed as a tree. Genes are mapped onto so-called KO groups and these are present in one or
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
136 more pathways. The MEGAN program will attempt to map each read onto a gene that has a valid KO identifier and thus, to one or
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
137 more pathways.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
138
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
139 To perform this analysis, MEGAN uses a mapping of GI numbers to KO groups. Hence, if a KEGG-based analysis is desired, then
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
140 the database that is used in the BLAST alignment must contain GI numbers.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
141 </help>
1
1930eb870dca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit c5facb54a0de925b30cb86f05989e9254d22b89d"
iuc
parents: 0
diff changeset
142 <expand macro="citations"/>
0
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
143 </tool>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
144