Large timetrees
Project description
Chronumental
[Chronologies from monumental phylogenetic trees]
Chronumental is a tool for creating a "time-tree", where each internal node is annotated with position according to its date from a phylogenetic distance-tree, where each node is positioned according to genetic distance.
What sets chronumental apart from most other tools is that it scales to extremely large trees, which can contain millions of nodes. Chronumental uses JAX, which means it can optimise the tree rapidly if you have a GPU available, but also performs reasonably with a CPU.
Chronumental is in an early stage of development and has not been benchmarked or subject to peer-review.
Installation
pip3 install chronumental
Usage
This demo uses trees and metadata collated by the UShER team.
wget https://hgwdev.gi.ucsc.edu/~angie/UShER_SARS-CoV-2/2021/10/06/public-2021-10-06.all.nwk.gz
wget https://hgwdev.gi.ucsc.edu/~angie/UShER_SARS-CoV-2/2021/10/06/public-2021-10-06.metadata.tsv.gz
chronumental --tree public-2021-10-06.all.nwk.gz --dates public-2021-10-06.metadata.tsv.gz --estimated_substitutions_per_year 30
Similar tools
TreeTime is a much more advanced tool for inferring time trees. If you have a dataset of thousands rather than millions of nodes you are best off trying it.
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
Hashes for chronumental-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbb3083c81b0059494a0ec08b2d125a02c621d16e144ffa6e089c74212621d02 |
|
MD5 | ae5c89bbd4d9b20dce61523dba51a36b |
|
BLAKE2b-256 | e2293af76118608c7b640e16836571e60b1fe808e27052efe7567dfcc82204cb |