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.3.3.tar.gz (704.3 kB view details)

Uploaded Source

Built Distributions

tsinfer-0.3.3-cp312-cp312-win_amd64.whl (131.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

tsinfer-0.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (278.3 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

tsinfer-0.3.3-cp312-cp312-macosx_10_9_universal2.whl (196.9 kB view details)

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

tsinfer-0.3.3-cp311-cp311-win_amd64.whl (131.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

tsinfer-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (276.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tsinfer-0.3.3-cp311-cp311-macosx_10_9_universal2.whl (196.4 kB view details)

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

tsinfer-0.3.3-cp310-cp310-win_amd64.whl (131.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

tsinfer-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (275.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tsinfer-0.3.3-cp310-cp310-macosx_10_9_universal2.whl (196.4 kB view details)

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

tsinfer-0.3.3-cp39-cp39-win_amd64.whl (131.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

tsinfer-0.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (275.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tsinfer-0.3.3-cp39-cp39-macosx_10_9_universal2.whl (196.4 kB view details)

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

File details

Details for the file tsinfer-0.3.3.tar.gz.

File metadata

  • Download URL: tsinfer-0.3.3.tar.gz
  • Upload date:
  • Size: 704.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tsinfer-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0ecdc079bbd32eafe3c0b56c8e901528347daafd504bb295ecb8050a4209fc90
MD5 529d22b050d23924ee754dbb770d5033
BLAKE2b-256 34924c7abcb0cdf79e89be32587bbc54bae2bc28fa8e15fee2f1a7b6ebaf3dd9

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: tsinfer-0.3.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 131.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tsinfer-0.3.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c8f5ed1ffc2be95889c0724acd85cd23f22b7bc6333192f021edbc0f9c55eafe
MD5 d09e8a3be4897f346ea9deaa0917a0d2
BLAKE2b-256 5948ea6e21de94ff2cf3659dc45bc419afe06128d67ef65f4730b56307d874ed

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0965179c27d20353e8b6534da9f8f04b80db3e218bf8ed868059e8d745fa690
MD5 8709f00239a3f869e67eaa79bb644b62
BLAKE2b-256 48092468b3d9dbfcd08bac70ca7e1dae224ed6690e6b8bcebb8573ac26861b86

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9e6b260a55cbde8b65692290a1818b32f45f5e4a623b36b57496c01941896337
MD5 acd321258d360751865a91d31335c356
BLAKE2b-256 93eb8a2bb3b3bb595769065f904f5cedf14c41bb2812201893783e4de1f94e16

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: tsinfer-0.3.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 131.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tsinfer-0.3.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0dc16237881d08371c68d65668475565f6d7f5f6f6a991238e05cb2063c0d91b
MD5 f4d635f6680f05eca96bb859a98145fd
BLAKE2b-256 a5ceeb146f252fe9d57607664edc3b9ad251874c03b00236f3c66c2e00922f11

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f6763b8ea77dd30d2fb4e5a8a2b2565669278ef4036c84ea25d358493052bac
MD5 d0beac67a5a7a507c24a96f405ce467e
BLAKE2b-256 a3fec255d7ae11f11906913c334671bdb0ca59f761b6ac9899c9559692ab4874

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a5037ad2f21b73a206d7f2457f3cfacfa6e6a8465f137a30669d58230b52f7d1
MD5 f0d42f43b780d9e922f6e6c6ab5ac95b
BLAKE2b-256 ed9869f85a3820ac4b19adc4766cf8a07cd4ecf968e0a5e7ff1f9c29144c8a7a

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: tsinfer-0.3.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 131.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tsinfer-0.3.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 16029c8cad55c270bde9789a8d9181b1a7fc74619c3d067c54f29527a03caf00
MD5 7a91db31d055184c557c80f3e129328b
BLAKE2b-256 91a3957ba0eaf63f3b67a9eb542eecf6508e3423378be71534cdb9b1def1da0f

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18a662c612d7f81b14722f17eb67149036f922c64a63510a3d1444f5e80f1f99
MD5 1f37266a62a7ab753c3a1021d42817a0
BLAKE2b-256 991018b4de95cc5a615638e953818ba7ef0cb41c754ce85f486ba580c921b826

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 829a1266640b3ba246aab44d0fd60ba4034ef0bab5807866fd48b21eda7c5fc0
MD5 14b32929aa868a968ecc8b3f39f9f38f
BLAKE2b-256 e60590090782b058e28f5269bf97998087532f5fc4fc628a16b7051def95dff1

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: tsinfer-0.3.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 131.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tsinfer-0.3.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 99d83c3dca808f052c2db4cf8160f2aa5eee5aa011dd224f0f06cbde5f33a1cf
MD5 8a039e50d6fdac37f2212240c47cfeab
BLAKE2b-256 a094b60920691fa826de8a02ad1583d115c8bdfa449b8aa7b2faaa0353d7b357

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e50cd08693e94833a09eb1a7dda25554bf5fa1c58d778d6e8fb0e0c0b4f868e
MD5 1b6c78603b36b771dc176e22f8a68584
BLAKE2b-256 a48ee779f286f98c0176c435d896a33f572dbbb82b1fd7fae53417a0574f3e6f

See more details on using hashes here.

File details

Details for the file tsinfer-0.3.3-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.3.3-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d0d2a46615922f6ef99b330baf766ae8e6d0eb39558f2b6c78fca6fd993a3848
MD5 89a688de0eb00da14d0e38739c065f77
BLAKE2b-256 2eea5ed24a7f9dafd81ed9c1d898ee71f17e6c4b3177f3053b58cb9fed963489

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