Skip to main content

sunburst plots for taxonomy

Project description

taxburst: sunburst charts for taxonomy, based on Krona

WARNING: alpha mode software. Use at your own risk.

This is an update of Krona, written with the following goals in mind:

  • liberate tax displays from the tyranny of NCBI taxonomy IDs and taxdump;
  • support dynamic generation of Krona-style plots;
  • rewrite in modern Python;
  • support ~nicer multi-stage generation of XHTML;
  • probably other things;

The output HTML is based on https://github.com/marbl/Krona.

All bugs are mine until proven otherwise.

Please file bugs and feature requests on the issue tracker.

Examples

A small example - a test data set.

A bigger example - SRR606249 against known reference genomes.

A screenshot:

example output screenshot

Install

pip install taxburst

Run

taxburst examples/small.tax.csv -o small.tax.html

then open small.tax.html in a browser.

Currently the only input format accepted is the csv_summary format from sourmash tax metagenome (see docs), but that is pretty easy to change.

Background and history

Krona is a super cool way to explore taxonomic breakdowns of metagenomes. But it's kind of old, and isn't being actively maintained. Moreover, it doesn't work easily with GTDB or other non-NCBI taxonomies.

So, why not grab the JavaScript code and rewrite the preprocessing code?

Voila! 'taxburst'!

I'd call it Krona2 or something, but the licensing for Krona prohibits that, to my understanding. Hence, 'taxburst'.

CTB July 2025 ctbrown@ucdavis.edu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taxburst-0.1.4.tar.gz (57.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taxburst-0.1.4-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

Details for the file taxburst-0.1.4.tar.gz.

File metadata

  • Download URL: taxburst-0.1.4.tar.gz
  • Upload date:
  • Size: 57.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.8

File hashes

Hashes for taxburst-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b6a8f2a1bf0d52690427738c4c76231e6b737e85bf57ebd03b94791b07ca6c3a
MD5 9ebfeed155453f0a91a1873153e5c591
BLAKE2b-256 26dd6ff7a52b966b627ed54018be27d830fa567890b67a2282c5335736c95275

See more details on using hashes here.

File details

Details for the file taxburst-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: taxburst-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 57.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.8

File hashes

Hashes for taxburst-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 768498c8efe9b22a8bde51ef5b089b68a67f3432abe1591f97c6228703122289
MD5 ec9ec6b1982e449d8b48a23c48a598cc
BLAKE2b-256 9852422343b96f7299b4561514ad42c834abb39ab6568349a8b9ab722d57dc34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page