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.14.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

chronumental-0.0.14-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file chronumental-0.0.14.tar.gz.

File metadata

  • Download URL: chronumental-0.0.14.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for chronumental-0.0.14.tar.gz
Algorithm Hash digest
SHA256 4f5d2161bc023d4f8abe24ceb7596153d83d36534bb6278f74ec183cde7ca723
MD5 73988854d1ee201144788e0d8fa9bc12
BLAKE2b-256 4e358fcca027329f4c76edbb27fa78f9f0fa73eb29105d9988af409c5bf8fb71

See more details on using hashes here.

File details

Details for the file chronumental-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: chronumental-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for chronumental-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 5efd6ce28c8ef4cd73db08514296b1b614a0950b9d2256849aa6309c2465dddc
MD5 b027e230c716ac670a45d54d090c30f0
BLAKE2b-256 8f8fde076935a476c7aebca2e243b3205f2dbbf30838209c97c98cf5eea6bbe7

See more details on using hashes here.

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