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 BioRxiv preprint. 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 (2021) A unified genealogy of modern and ancient genomes. bioRxiv 2021.02.16.431497; doi: https://doi.org/10.1101/2021.02.16.431497

Please cite this preprint 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.4.tar.gz (93.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.1.4-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tsdate-0.1.4.tar.gz
  • Upload date:
  • Size: 93.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for tsdate-0.1.4.tar.gz
Algorithm Hash digest
SHA256 39f4fd6dc7c8996a8a7e6f80317df8b642be3cb0468674d2855fecd5abdddcf7
MD5 169de1f55150797d28995558277934a1
BLAKE2b-256 cc42f19adf2b898524c17ad78477643322e0fa7315a5fe92f7a24802f49f2e2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tsdate-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for tsdate-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 65979acec7bbb1c474ab4216dc425e1fa8d7d1d3c3d1fe3cae457140b44ebf78
MD5 27609f8cb597933a416bed1ca688525e
BLAKE2b-256 e2b66ecc2bb78ca5f24382f5332bfa60df86a0f6f5149e6dae04b3f5bb5d2f2c

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