annotate blast2lca.xml @ 2:07d36bc47eaf draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 374a2824a264468316f04281ed211079015503b5"
author iuc
date Tue, 07 Dec 2021 10:18:20 +0000
parents 1930eb870dca
children a80281b0172e
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?"/>
1
1930eb870dca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit c5facb54a0de925b30cb86f05989e9254d22b89d"
iuc
parents: 0
diff changeset
79 <expand macro="blast_params"/>
0
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
80 <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
81 <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
82 <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
83 <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
84 <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
85 <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
86 <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
87 <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
88 <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
89 <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
90 <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
91 </param>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
92 </section>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
93 </inputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
94 <outputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
95 <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
96 <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
97 <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
98 </data>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
99 </outputs>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
100 <tests>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
101 <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
102 <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
103 <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
104 <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
105 <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
106 </section>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
107 <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
108 <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
109 </test>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
110 </tests>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
111 <help>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
112 **What it does**
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
113
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
114 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
115 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
116 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
117 required by MEGAN.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
118
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
119 * **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
120 * **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
121 * **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
122 * **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
123 * **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
124
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
125 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
126
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
127 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
128 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
129 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
130 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
131
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
132 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
133 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
134 more pathways.
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
135
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
136 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
137 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
138 </help>
1
1930eb870dca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit c5facb54a0de925b30cb86f05989e9254d22b89d"
iuc
parents: 0
diff changeset
139 <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
140 </tool>
ad69d2a05c3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 2a49a6cdc1b4d37ab30eb85b8c658ccf9f5a0644"
iuc
parents:
diff changeset
141