Skip to main content

Generate files for taxonium

Project description

Taxonium tools

Taxonium tools is a Python utility that allows you to generate Taxonium format files from UShER mutation-annoated trees.

Installation

pip install taxoniumtools

Usage

Basic run

First get some files:

wget https://github.com/theosanderson/taxonium/raw/master/taxoniumtools/test_data/tfci.meta.tsv.gz
wget https://raw.githubusercontent.com/theosanderson/taxonium/master/taxoniumtools/test_data/hu1.gb
wget https://github.com/theosanderson/taxonium/raw/master/taxoniumtools/test_data/tfci.pb

Then convert from UShER pb format to Taxonium jsonl format:

usher_to_taxonium --input tfci.pb --output tfci-taxonium.jsonl.gz --metadata tfci.meta.tsv.gz --genbank hu1.gb \
--columns genbank_accession,country,date,pangolin_lineage

You can then open that tfci-taxonium.jsonl.gz file at taxonium.org

Use Chronumental to infer a time tree

Taxonium tools can also use Chronumental to infer a time tree for the phylogeny.

pip install chronumental
usher_to_taxonium --input tfci.pb --output tfci-taxonium.jsonl.gz --metadata tfci.meta.tsv.gz --genbank hu1.gb \
--columns genbank_accession,country,date,pangolin_lineage --chronumental --chronumental_steps 300

For more information see the docs

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

taxoniumtools-2.1.24.tar.gz (275.5 kB view details)

Uploaded Source

Built Distribution

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

taxoniumtools-2.1.24-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file taxoniumtools-2.1.24.tar.gz.

File metadata

  • Download URL: taxoniumtools-2.1.24.tar.gz
  • Upload date:
  • Size: 275.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taxoniumtools-2.1.24.tar.gz
Algorithm Hash digest
SHA256 fcd2281da6b10b0b7c110cf3e57f0a31f44ea90c7e7171c5d8f6c4bed592cf77
MD5 d5a7667a133036c6afe9c07efc098cb7
BLAKE2b-256 034c21b0c96a8ef2fac53c81744e51f4b842e8bb10fc9dd576eec521ef196716

See more details on using hashes here.

Provenance

The following attestation bundles were made for taxoniumtools-2.1.24.tar.gz:

Publisher: python-build.yml on theosanderson/taxonium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taxoniumtools-2.1.24-py3-none-any.whl.

File metadata

  • Download URL: taxoniumtools-2.1.24-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taxoniumtools-2.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 ec3f051ecdf0f8ecf8116375d485376cdd771979b5a7136d4fff64ec2f566b55
MD5 3b62a1be1bcd3282075bf46355944ea3
BLAKE2b-256 4f123e58a114acc30a58f0fe1d7367f35a10c938b8c7f7e2808f7544d09d3c4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for taxoniumtools-2.1.24-py3-none-any.whl:

Publisher: python-build.yml on theosanderson/taxonium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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