# HG changeset patch # User p.lucas # Date 1673510336 0 # Node ID a0cb48398130ba2414727131209f38bcdc2a200a Uploaded krona xml diff -r 000000000000 -r a0cb48398130 krona.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/krona.xml Thu Jan 12 07:58:56 2023 +0000 @@ -0,0 +1,155 @@ + +of taxonomic abundance + + + krona + + + + #if $type.program == 'galaxy': + ktImportGalaxy + #else if $type.program == 'blast': + ktImportBLAST + -e ${type.factor} + ${type.random} + #else + ktImportTaxonomy + ${type.summary} + #end if + -o $output + ${type.include} + + -d $depth + + ## uncomment for isolated intranets (see README) + ## + ##-u /static/krona + + #if $datasets.multiple == 'single': + $input + #else + $datasets.combine + #for $input in $datasets.inputs + ${input.file},'${input.name}' + #end for + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +Creates an interactive Krona_ chart of taxonomic abundance. Requires a KronaTools installation (2.0 or higher) with taxonomy downloaded. + + .. _Krona: http://krona.sourceforge.net + +**Inputs** + +The inputs can be Galaxy taxonomic representations, for example:: + + 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 + 1L_EYKX4VC01BXWX1_265 9606 root Eukaryota Metazoa n n Chordata Craniata Gnathostomata Mammalia n Euarchontoglires Primates Haplorrhini Hominoidea Hominidae n n n Homo n Homo sapiens n 1430919 + +...or, they can be tabular BLAST results containing gi numbers, which will be used to look up taxonomy IDs and find lowest common ancestors for best hits (comment lines are optional but required for showing queries with no hits in the chart):: + + 1 2 3 4 5 6 7 8 9 10 11 12 + read1 gi|211853080|gb|EQ846228.1| 97.33 150 1 3 6 154 9518999 9519146 5e-64 252 + read2 gi|211853080|gb|EQ846228.1| 96.69 151 0 5 6 154 9496147 9496294 2e-62 246 + +...or, they can be lists of taxonomy IDs preceded by query IDs or counts (these formats can be exported by ktClassifyBLAST or MEGAN), but **Summarized** must be checked if they are counts:: + + 1 2 + read1 9606 + read2 9616 + +Summarized:: + + 1 2 + 243 9606 + 17 9616 + +Both forms can optionally have scores:: + + 1 2 3 + read1 9606 94.34 + read2 9616 32.17 + +Summarized:: + + 1 2 3 + 243 9606 94.34 + 17 9616 32.17 + + + + ktImportGalaxy + ktImportBLAST + ktImportTaxonomy + +