# HG changeset patch # User Jim Johnson # Date 1351536767 18000 # Node ID 53258f6dddd36ebedb9844b379ac23f25c90c38b # Parent f8fdde273a2a05c4b4f751af38fe0b2fbb7adab9 Add tool_dependencies.xml diff -r f8fdde273a2a -r 53258f6dddd3 classify_blast.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classify_blast.xml Mon Oct 29 13:52:47 2012 -0500 @@ -0,0 +1,75 @@ + +results using KronaTools + + ktClassifyBLAST + -o $output + -e $factor + $random + #if $score == 'percentIdentity': + -p + #elif $score == 'bitScore': + -b + #end if + $summarize + #for $input in $inputs + ${input.input} + #end for + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +Creates taxonomic classifications for each query in BLAST results by finding the lowest common ancestor (or by picking randomly, if specified) of "best" hits (as determined by e-value factor above). Requires a KronaTools_ installation (2.0 or higher) with taxonomy downloaded. + + .. _KronaTools: http://krona.sourceforge.net + +**Input** + +Tabular BLAST results containing gi numbers. If comment lines are present, queries with no hits will be assigned to taxon -1 (consistent with MEGAN). + +Example input (BLAST):: + + 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 + +**Output** + +The output is a list of query IDs (or counts, if **summarize** is specified) followed by NCBI taxonomy IDs and scores. This can be used to create a Krona chart by specifying "Taxonomy ID list" as the **input type**. If the output is summarized, the **summarized** option must also be specified when creating the chart. + +Example output (default):: + + 1 (query ID) 2 (tax ID) 3 (score) + read1 9606 94.34 + read2 9616 32.17 + +Example output (summarized):: + + 1 (count) 2 (tax ID) 3 (score) + 243 9606 94.34 + 17 9616 32.17 + + + + ktClassifyBLAST + + diff -r f8fdde273a2a -r 53258f6dddd3 tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Oct 29 13:52:47 2012 -0500 @@ -0,0 +1,21 @@ + + + + + + http://sourceforge.net/projects/krona/files/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.2.tar + + $INSTALL_DIR/taxonomy + perl install.pl --prefix $INSTALL_DIR --taxonomy $INSTALL_DIR/taxonomy + ./updateTaxonomy.sh + + + $INSTALL_DIR/bin + + + + http://sourceforge.net/p/krona/home/krona/ + +