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.

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.1.tar.gz (3.7 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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taxburst-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 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.1.tar.gz
Algorithm Hash digest
SHA256 9c9274d15fa0fc2e60682dd473cc316e9d16127781fa5a5ac1d8106c6617451a
MD5 01640034e480bc4fb686db97224d02a1
BLAKE2b-256 b7da0efdceebffa695cc6c0d5a2b7b0b381ca76eb06e589061027ebe90782181

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taxburst-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81f006b1c9ba8c3c74e815e91cf57e96fe7320c696b7a7a670f96c6e385bb899
MD5 a376b70600d35eff86eacf51a1f3734b
BLAKE2b-256 5e71ab6139d14753205197aceb6f7fdddf432c90815229e6e356fb79857b1ac7

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