# HG changeset patch # User ondovb # Date 1316639968 14400 # Node ID e2500c3c8f1b36f08f7077e764026e9065f3751f Uploaded diff -r 000000000000 -r e2500c3c8f1b krona/README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/krona/README.txt Wed Sep 21 17:19:28 2011 -0400 @@ -0,0 +1,24 @@ +This is a wrapper for KronaTools (krona.sourceforge.net), which creates +interactive charts of hierarchical abundance. Problems can be reported to +ondovb@nbacc.net. + +REQUIRED: + - KronaTools (krona.sourceforge.net) + +INSTALL: + - Copy krona.xml to the desired tools directory and update + tool_conf.xml to include it. + +INTRANETS: + - If the machines accessing your Galaxy server are not connected to the + internet, you will need to deploy Krona web resources to the Galaxy + server. To do this: + + - From the KronaTools directory, run: + + ./deployResources.sh /static/krona + (where is the directory of the Galaxy installation) + + - Uncomment the line of krona.xml that reads: + + -u /static/krona diff -r 000000000000 -r e2500c3c8f1b krona/krona.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/krona/krona.xml Wed Sep 21 17:19:28 2011 -0400 @@ -0,0 +1,129 @@ + +of taxonomic abundance + + #if $type.program == 'galaxy': + ktImportGalaxy + #else if $type.program == 'blast': + ktImportBLAST + #else + ktImportTaxonomy + #end if + -o $output + ${type.include} + #if $type.program == 'blast': + -e ${type.factor} + #end if + + ## 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 (1.3 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 + G58TM3O01ATAI0 gi|211853080|gb|EQ846228.1| 97.33 150 1 3 6 154 9518999 9519146 5e-64 252 + G58TM3O01ATAI0 gi|211853080|gb|EQ846228.1| 96.69 151 0 5 6 154 9496147 9496294 2e-62 246 + G58TM3O01ATAI0 gi|211853080|gb|EQ846228.1| 96.69 151 0 5 6 154 9517265 9517412 2e-62 246 + +...or, they can be taxonomy IDs with magnitudes (this format can be exported by MEGAN):: + + 1 2 + 9606 243 + 9616 17 + +...that can optionally have scores:: + + 1 2 3 + 9606 243 94.34 + 9616 17 32.17 + + +