Skip to main content

Infer tree sequences from genetic variation data.

Project description

tsinfer

CircleCI Build Status Docs Build codecov

Infer a tree sequence from genetic variation data

The documentation contains details of how to use this software, including installation instructions.

The initial algorithm, its rationale, and results from testing on simulated and real data are described in the following Nature Genetics paper:

Jerome Kelleher, Yan Wong, Anthony W Wohns, Chaimaa Fadil, Patrick K Albers and Gil McVean (2019) Inferring whole-genome histories in large population datasets. Nature Genetics 51: 1330-1338

Tsinfer versions 0.2.0 onwards allow missing data and provide a fully parameterised Li & Stephens matching algorithm (i.e. which allows mismatch). These improvements are described in the following Science paper:

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

Please cite either or both of these if you use tsinfer in your work. Code to reproduce the results in the first paper is present in a separate GitHub repository.

Note that tsinfer does not attempt to infer node times (i.e. branch lengths of the inferred trees). If you require a tree sequence where the dates of common ancestors are expressed in calendar or generation times, you should post-process the tsinfer output using software such as tsdate.

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

tsinfer-0.4.0a2.tar.gz (725.9 kB view details)

Uploaded Source

Built Distributions

tsinfer-0.4.0a2-cp312-cp312-win_amd64.whl (144.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

tsinfer-0.4.0a2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (298.3 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

tsinfer-0.4.0a2-cp312-cp312-macosx_10_9_universal2.whl (213.1 kB view details)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

tsinfer-0.4.0a2-cp311-cp311-win_amd64.whl (144.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

tsinfer-0.4.0a2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (297.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tsinfer-0.4.0a2-cp311-cp311-macosx_10_9_universal2.whl (212.6 kB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

tsinfer-0.4.0a2-cp310-cp310-win_amd64.whl (144.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

tsinfer-0.4.0a2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (295.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tsinfer-0.4.0a2-cp310-cp310-macosx_10_9_universal2.whl (212.6 kB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

tsinfer-0.4.0a2-cp39-cp39-win_amd64.whl (144.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

tsinfer-0.4.0a2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (295.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tsinfer-0.4.0a2-cp39-cp39-macosx_10_9_universal2.whl (212.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file tsinfer-0.4.0a2.tar.gz.

File metadata

  • Download URL: tsinfer-0.4.0a2.tar.gz
  • Upload date:
  • Size: 725.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for tsinfer-0.4.0a2.tar.gz
Algorithm Hash digest
SHA256 9a74c69cae2bd8bf1203040aa058445adf465230258ca143f869afe9a9d7f350
MD5 cc3446990e95b481be8c8c4c06a18488
BLAKE2b-256 6df3ce8a86b9ee4916a1ebd2db6dfcf5f652ef4febc71ced64ce6ad9de8ea924

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e4fb21ef5e5dfb65f03f0ec6eadf6c2fe16c3d5261be033068313fd2f249ab92
MD5 1011a57e892fe6c4ce6c237095cb9b7f
BLAKE2b-256 6d4ef8609eff98f102268915dcd5361677092fccaa575e372f66d602406ea893

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b109a178f25f4a2457459cdf16e509bfa674c6f893acc18671c0a4480316f6b
MD5 5cf3cccfcfb9e3a01aed1f34554aa618
BLAKE2b-256 6b70696faf75293b2156851b53adaefbf75ab5b09fcbae95fc2e98f57d45b4a5

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 816b8c0f21d57d30abeea0fa226a1e8f86de684d9ac1de632031411da9111343
MD5 42fe49d25b26c7ebc2475676db8d09cb
BLAKE2b-256 8bd5457d3140d310fb7fa14b73298b9224c0b64a19d02810dcc7bd7e42095fe2

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ec75d2834ccb9360691f41f056a670630774bb41651b10ddc27e17c639f1b62b
MD5 0d4fe3d88c04543d43f33ff921eb730f
BLAKE2b-256 e2f6efec8e088370d4d6d0ea1d5849832e8547220c3e6f29de532502b8630c20

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee48feaa49de4543ecd133197fb9eeb2736ad8f5e210507b62da2195dd3fb666
MD5 094f2f739fc92ac0713ac3b523cefcff
BLAKE2b-256 d4621b94246cc125874f8f073a944309f4f7cf160de9042bb025f7eb654dc78b

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9328605dcd97ba5343a2bc98a71c19ca35613c0a5bf6e81695e93c94aff7a5fa
MD5 9f4d55f2be0c681a65621f287e1aab93
BLAKE2b-256 9eb124c96733831e4164c0295884c74f09a4511fa23d9cb2457062d8003ab5b9

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 54473269b7f1171b9d793c4eacf7c1a6372cbcb338c2a36aa6f830854ab2c062
MD5 fe798e5a0ca4380fc46d71050adde530
BLAKE2b-256 16e42745fd9a91b9c8cad68bee762a3ee43e86c1ef60c6daca332c869dd866e9

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48e139fa592190f6d7c1b6f88de2aa9718d75165e9616dcb59fa7bd1bc1ade3b
MD5 de7003846c0c4c3d7efbaf0e71f6a891
BLAKE2b-256 a4398623698916d49edee936de168e6c2d0af73dbb91afe1580d547bdb599d11

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 472f19ec3820af91cffce906e05b4f434ce5b53051b9646cef4465c3680c5178
MD5 4e08cfd3ded6da227719a08e0f14225b
BLAKE2b-256 a6a2ea7870b807111224104c0334472c8e1d3240c73833f2ed5e50e4bc14c73b

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: tsinfer-0.4.0a2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 144.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for tsinfer-0.4.0a2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e81ff49705a5a3486bfb4e8c446cb9f4a3c70ab6b851db361208b7c2976a5974
MD5 b2f4b730a40625586d07bf07345e9973
BLAKE2b-256 5f52263f8b50263153477f9e4901afa42fa223a23b8e06aa0c4de3fdc7b2d7a7

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 286354db893346a8b8667de1d1f8ce3959149d425de26a05d635b3c87d7b21ba
MD5 22f5a83387f58fa7ca285f3e9857a706
BLAKE2b-256 6026d73ad80afd18cca724d29f7edf58243c5285c2f095515539762a7380c282

See more details on using hashes here.

File details

Details for the file tsinfer-0.4.0a2-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.0a2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0df45c7df501a5f20bc6bb34137ead46ab4b2a9142880d3e6ddad5340d631be6
MD5 6d3593e88d263b7bef855815e07eca6e
BLAKE2b-256 589333edb27be61a23f222db00a08de93aedea57f12c05a1c0ad834d110df243

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page