Chronumental
Chronologies from monumental phylogenetic trees
Chronumental is a tool for creating a "time-tree" (where distance on the tree represents time) from a phylogenetic divergence-tree (where distance on the tree reflects a number of genetic substitutions).
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 to represent the task of computing a time tree in a differentiable graph for efficient calculation on a CPU or GPU.
📝 Read the preprint
📚 View the documentation
Installation
Method 1: Using pipx (recommended for basic use - installs in its own isolated environment)
pip install --local pipx
pipx install chronumental
Method 2: In your python environment
pip install chronumental
Method 3: Bioconda
Chronumental is now available on bioconda
conda config --add channels bioconda
conda 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 --steps 100
📚 Please visit our documentation page to learn more about the parameters you can use to control Chronumental.
Integrations
Taxonium can automatically call Chronumental, and generate a combined visualisation that allows switching between distance and time phylogenies
Similar tools
TreeTime is a more advanced tool for inferring time trees. If you have a dataset of e.g. <10,000 rather than millions of nodes you are definitely best off trying it. The TreeTime readme also links to other similar tools.
Troubleshooting
- Chronumental uses the earliest date in your dataset as an anchor to calibrate everything else. If this earliest date is wrong due to a metadata error things won't work well. You can set the reference node manually with
--reference_nodeto avoid this issue.
Metadata
Release files for chronumental 0.0.65
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chronumental-0.0.65.tar.gz | 26.5 kB | Without provenance | Details for chronumental-0.0.65.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chronumental-0.0.65-py3-none-any.whl | Python 3 | none | any | Details for chronumental-0.0.65-py3-none-any.whl |
Total release size: 41.0 kB
Release files / chronumental-0.0.65.tar.gz
| Download URL | chronumental-0.0.65.tar.gz |
|---|---|
| Size | 26.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bfa5bca03a466c32a2393db2c978acb1abce9eb0f0edaeb00c922d64c73d50c
|
|
BLAKE2b-256 checksum How to use checksums |
9b99cbe6e21b637088943491681cbc0daf526243c0a62ad186edcae85eae3d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / chronumental-0.0.65-py3-none-any.whl
| Download URL | chronumental-0.0.65-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
375cce1fa6f027370aeaf04602179ad92988d3d5ce39e94c1d56afd6ba38cb48
|
|
BLAKE2b-256 checksum How to use checksums |
7dc8f532e08d1d7cd14ea36f8a59e3c704a4a7deee7dbf942fbdbb37ce623879
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for chronumental 0.0.65
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.