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.3.tar.gz (6.1 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.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taxburst-0.1.3.tar.gz
  • Upload date:
  • Size: 6.1 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.3.tar.gz
Algorithm Hash digest
SHA256 cc01bd20e347dc5ccb6db569aace20084f2656d1ef1ddf48290be4b974024f75
MD5 d0df2ad4238931a412b0a179c2e09a30
BLAKE2b-256 eed592486ea09c33fc0202d5595f2864b668b4e9b38af340a0a1a85ead02c37f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taxburst-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf4602a1a06dfc8fea19d5ecc6d952bcde75b3c610049535add474e33a87235
MD5 79c67d01894c9622d4d3ff4ede87f925
BLAKE2b-256 97f453473c5ad5adcb476ac45d9406eab8a418d4c4a36f6926f771af1f216157

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