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
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
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.0.20.tar.gz
(107.5 kB
view hashes)
Built Distribution
Close
Hashes for taxoniumtools-2.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9a53eec7448cd896009d7e14334a3110c53840720df2fbcc38c31a98b7853cb |
|
MD5 | e9bd70c4d2f0adf799d7618ef01c2bef |
|
BLAKE2b-256 | 543c8223b1f120fbeef8b5a1e30abec946230e94a2725a764f565e1f9bde2d30 |