The script krona-from-abundances.py can generate Krona plots from MetaCache abundance results.
- Query MetaCache datatabase with options
-abundancesand-abundance-per:
metacache query mydatabase myreads -out classification.txt -abundances abund.txt -abundance-per species
- Then run the script
krona-from-abundances.pyonabund.txt:
krona-from-abundances abund.txt
This script
- splits the MetaCache abundance file into two separate files for the original abundance counts and the estimated abundances (here
abund_orig.txtandabund_est.txt) - creates a Krona plot HTML file (here
abund_.krona.html) that can be viewed in a web browser