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

Uploaded Source

Built Distributions

tsinfer-0.4.1-cp312-cp312-win_amd64.whl (152.7 kB view details)

Uploaded CPython 3.12Windows x86-64

tsinfer-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (305.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

tsinfer-0.4.1-cp312-cp312-macosx_10_13_universal2.whl (222.7 kB view details)

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

tsinfer-0.4.1-cp311-cp311-win_amd64.whl (152.6 kB view details)

Uploaded CPython 3.11Windows x86-64

tsinfer-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (304.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

tsinfer-0.4.1-cp311-cp311-macosx_10_9_universal2.whl (220.2 kB view details)

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

tsinfer-0.4.1-cp310-cp310-win_amd64.whl (152.5 kB view details)

Uploaded CPython 3.10Windows x86-64

tsinfer-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (303.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

tsinfer-0.4.1-cp310-cp310-macosx_10_9_universal2.whl (220.2 kB view details)

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

tsinfer-0.4.1-cp39-cp39-win_amd64.whl (152.5 kB view details)

Uploaded CPython 3.9Windows x86-64

tsinfer-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (303.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

tsinfer-0.4.1-cp39-cp39-macosx_10_9_universal2.whl (220.2 kB view details)

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

File details

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

File metadata

  • Download URL: tsinfer-0.4.1.tar.gz
  • Upload date:
  • Size: 773.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for tsinfer-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4902bc6bd4692a374e5e98178044279048f76b43e793d05cc17087f56bc14dc0
MD5 9df403903881ecf4a56d313ba2712b60
BLAKE2b-256 96e37363d63c98176f1298777801ad6a83618d8aadfd451adfb08f29cc04f790

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1.tar.gz:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tsinfer-0.4.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 152.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for tsinfer-0.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8c8a2724392b467b9653ec672e3ddc1e7405a16891cc4f1a2b701e2dded0d5f0
MD5 11541cb9e096092d781266e63f7bba88
BLAKE2b-256 6898deeb20cb59f39985f81e5be4891c9cc86c87ca2c0c9d5bb5702e0fd08616

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0886683656ad4114b1ad41bd59e377cf4ed21a1bac9f90575eb5195edd1feba5
MD5 20ccadd3720810c5a5182eb4e2457df8
BLAKE2b-256 00fea8f170da6bab556569909bd5668acf9e8980b5142b9a601faab0b05284a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tsinfer-0.4.1-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 26e39a0a4e2cb457b5eb9678912b8994fef5dc74a8682c7b1fb072efe259890c
MD5 5c4373941745f2f6c16cab9f8f54f74c
BLAKE2b-256 0dda97cd6b43c5ca2047f8339c564620e451e213185ab0dfdc3c04c18a559c9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp312-cp312-macosx_10_13_universal2.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tsinfer-0.4.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 152.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for tsinfer-0.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bccbdff9e08bbfb0d97885764bc946a5d661a7a05f873fcbc77d1aeb14b6c492
MD5 66a588167e3355687af4d3788c65fe66
BLAKE2b-256 1b10a71ea64b27ec98772f792f8aa9f6f14c7fa4488169d0111e12cfa425a353

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3148ea416ea8c6a00921546de9c3d1c32f054626823745273202d3da9037bf0c
MD5 2260c95e1d60d026983cd781d893242c
BLAKE2b-256 3069eaafdea6e46e6320de5e38cbdd83e10edae00795d24c4199d5ba1b2d24f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5d5635019a724ca45d6ffc11e32e8c6e873a02a6f362cd9ca7b6f18390474a7a
MD5 eea7398369692af2483dcd22bc90c334
BLAKE2b-256 ccaf1486eaa4614d048d4e6b9f694510dfba6895e9a8c8fac2ca202ec0489647

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp311-cp311-macosx_10_9_universal2.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tsinfer-0.4.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 152.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for tsinfer-0.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 650fdea21e6da8769c9d10088a3f74d1cb827b55b54656ae853b4086271d9172
MD5 cf7660d5298921798afe09fa5cf52389
BLAKE2b-256 60e963542e0dc6795b6ed47449389d8177e233e9a83ddc001641eb64a431119c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ddc9137e01ac297b7fdffb221b9cd0481e344f5ae83b3f793825939f82f8d2ac
MD5 c246b00c1a31a22e2d9045304b78bdfa
BLAKE2b-256 f42ffc21817222bddb8610a664ab91c65e5ba02216cd28351b65697b17addd00

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f0fab5fe6d46ce3d8af9ed4d5fb0c78a52f701a13e2b47d226935a9729332bdb
MD5 b9c1b6df47dd01b67fbff7c75fd6c087
BLAKE2b-256 a765ea512c669694400d703f3a024c797bc9f11e20530e07e6c6f7143b8ee5ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp310-cp310-macosx_10_9_universal2.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tsinfer-0.4.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 152.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for tsinfer-0.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 65a565c8d17f468a885dad06ead11f3a2def30df206a17c6e0b88e3edadcffdf
MD5 c21f3f36f2a1500a6eb3e2fc11c452a6
BLAKE2b-256 84d14cde74e2c7a94a50af2e272bf58d49c6eae09b736a342c715b2520b6eb1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp39-cp39-win_amd64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd43af0273c61de8ed2e56e6dfb4d641b9f59256ce9dff66d10453351398bcdf
MD5 fec1315eb3ea9dc37306cd1835d374bb
BLAKE2b-256 a1f9090e45355a40eb089056266f3f43d0d76c21c67afcace3d92b5b5a6efdf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tsinfer-0.4.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 84b204f00b920445ba9bfb81223dd87ca4ac673606a8d17eef9430b1c489a82a
MD5 b0ec228882e779dc2def18a822e3542e
BLAKE2b-256 8dbbbf1201c3adb0fe53cee2789d2fa768428b63b7f8601eafb4238b8cfcc160

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsinfer-0.4.1-cp39-cp39-macosx_10_9_universal2.whl:

Publisher: wheels.yml on tskit-dev/tsinfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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