Skip to main content

Large timetrees

Project description

Chronumental

[Chron​ologies from mon​umental 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


Download files

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

Source Distribution

chronumental-0.0.15.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

chronumental-0.0.15-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page