Skip to main content

Infer node ages from a tree sequence topology.

Project description

tsdate

CircleCI codecov

tsdate is a scalable method for estimating the age of ancestral nodes in a tree sequence. The method uses a coalescent prior and updates node times on the basis of the number of mutations along each edge of the tree sequence (i.e. using the "molecular clock").

The method is frequently combined with the tsinfer algorithm, which efficiently infers tree sequence topologies from large genetic datasets.

Please refer to the documentation for information on installing and using the software.

The discrete-time estimation methods are described in this Science paper (preprint here). We also provide evaluations of the accuracy and computational requirements of the method using both simulated and real data. The code to reproduce these results can be found in another repository.

Anthony Wilder Wohns, Yan Wong, Ben Jeffery, Ali Akbari, Swapan Mallick, Ron Pinhasi, Nick Patterson, David Reich, Jerome Kelleher, and Gil McVean (2022) A unified genealogy of modern and ancient genomes. Science 375: eabi8264; doi: https://doi.org/10.1126/science.abi8264

Please cite this paper if you use tsdate in published work.

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

tsdate-0.2.0.tar.gz (187.0 kB view details)

Uploaded Source

Built Distribution

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

tsdate-0.2.0-py3-none-any.whl (89.8 kB view details)

Uploaded Python 3

File details

Details for the file tsdate-0.2.0.tar.gz.

File metadata

  • Download URL: tsdate-0.2.0.tar.gz
  • Upload date:
  • Size: 187.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for tsdate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ba544ecbe53ecfb87268bd73a3d80881c5579bcd3451185df55bfb0d50e76462
MD5 d6a4cac472c57a128fdc46235ddca065
BLAKE2b-256 abae9c303362707dc741e00e279fb31cbfeeab80b5d88e452bbb756dbc6f5ee0

See more details on using hashes here.

File details

Details for the file tsdate-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tsdate-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 89.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for tsdate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d945f7a7c0cfc3a64a4387ea00e7f2799464c7829c407dc3f0949d02c18f106
MD5 38ffc2f202bab6eab55d218942a31d2f
BLAKE2b-256 e36a5de9f0b6ed269ca1a3accc20b393336d2cb412c9f24d8f8f2e87752561de

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