Skip to main content

Infer node ages from a tree sequence topology

Project description

tsdate

CircleCI codecov Documentation Status

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 designed to operate on the output of tsinfer, which efficiently infers tree sequence topologies from large genetic datasets.

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

The algorithm is 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.1.5.tar.gz (95.2 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.1.5-py3-none-any.whl (44.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tsdate-0.1.5.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tsdate-0.1.5.tar.gz
Algorithm Hash digest
SHA256 70175e206fb3a48c8bdce9a915767aa8b4eea1b716abe879e8bb49e3246fabf9
MD5 ce98a31c93ca8e629acd8f116ab13ac8
BLAKE2b-256 43e7d0f7c92b8a6eccf93d3b3f0545042aed5ea29155337936be3991c232983d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tsdate-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 44.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tsdate-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee35005a5f5dfd66fb9ac94770815ff63fd6fb0983f7f7516e21c404c79fa01b
MD5 9a2e49161f4256684975ecc82a492959
BLAKE2b-256 2bbb04a392af86706b088241d66fbf7cec1c010f67528321a53b95cde529cd01

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