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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file taxoniumtools-2.0.27.tar.gz.
File metadata
- Download URL: taxoniumtools-2.0.27.tar.gz
- Upload date:
- Size: 108.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf9b25442c897280cfae70a86eec68ba66db7702147d28619be21de5ad0322bc
|
|
| MD5 |
a86a9cee8cb6ef7db08226f0a9e1fb34
|
|
| BLAKE2b-256 |
2da7025384fbb2d5d18fb63ef6b3c4214da596f7d302cbb1814150bdda0549b9
|
File details
Details for the file taxoniumtools-2.0.27-py3-none-any.whl.
File metadata
- Download URL: taxoniumtools-2.0.27-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cdefe29e6125c2154780bbc98270aab77388b176d911660856e0168da8aa20c
|
|
| MD5 |
0f075cdf48cf12b457fd9c233dd2976b
|
|
| BLAKE2b-256 |
342572d3dace4bb844189a575bef5faf1541a249b62d2cb82cd99986b1f04cbd
|