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.2.tar.gz (4.0 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.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taxburst-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 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.2.tar.gz
Algorithm Hash digest
SHA256 024e3e4dc43e0ac5af73149f31faf5ba8cbdbe38931fc537ae85415768e84081
MD5 5af3ecb7d910a31821e1e00cac6b79a8
BLAKE2b-256 13ec9ddbb2d716d7fd71aec758279f3a572babd7ca0fe1cde9cfc2b30dd726e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taxburst-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a4f08ed0a76abf6f61e9f8fccaade3f23267de68eda4d46d8a291dcb1eb5ea45
MD5 836afe927d8cc84ee23421238c67fe83
BLAKE2b-256 0fa8c1e2a64de5ed66a432d51e0a5c9cda3e25c4cd6e191fe584200cf861091e

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