Skip to main content

A python library with genealogy methods

Project description

lineagekit

A python library with genealogy methods. We will seek to integrate code or functionality or both from:

ISGEN (Dominic's code on importance sampling)

https://github.com/DomNelson/ISGen

Earlier iterations of genealogy alignment project:

Useful data structures built on top of networkx:

  • Genealogical: Generic data structure that includes implementation of useful functions on geneological objects (trees, pedigrees, etc.).
  • Pedigree
    • Implements Lange's Kinship estimation algorithm with sparse matrices (may need to be optimized)
  • HaplotypeGraph: Converts from a pedigree to a graph encompassing all potential inheritance paths.
    • Supports autosomal, X, Y, and mitochondrial inheritance paths.
    • Has a (non-tested) message passing algorithm for computing kinship.
  • Traversal (corresponds to trees)

https://github.com/ivan-krukov/aligning-genealogies/tree/master/genealogy_aligner

genlib (Marie-Hélène Roy-Gagnon's R package).

Andrii's aligner

Luke pedigree simulations

sgkit

Documentation

You can find the documentation for this project here.

Installation

  1. Clone the repository and cd into the root of the project.
  2. Run pip install .

To use this package, you need to have a C++ compiler installed on your machine with support for at least C++17.

Development policy

If you want to contribute to this project, follow these steps:

  1. Create an issue with a description of what changes or improvements you would like to add.
  2. Create a separate branch for the issue that you have created. Make sure that the branch source is the dev branch.
  3. On the branch that you have created, introduce the changes or fixes that you want. Important! Don't forget to add tests for the code that you've added. If you were working on fixing a bug in the existing code, try to create a test case for which the old version of the code didn't work properly, but the new version does.
  4. Clone the repository, checkout into the newly created branch, install all the requirements mentioned in requirements.txt.
  5. Push your changes and create a pull request.

If you would like to request a certain change in the code, or if you have found a bug / unexpected behaviour, you can just create an issue with the corresponding description.

If you want to build the documentation locally, cd into the docs directory and run make html.

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

lineagekit-1.0.19.tar.gz (220.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lineagekit-1.0.19-cp312-cp312-win_amd64.whl (346.4 kB view details)

Uploaded CPython 3.12Windows x86-64

lineagekit-1.0.19-cp312-cp312-win32.whl (333.9 kB view details)

Uploaded CPython 3.12Windows x86

lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

lineagekit-1.0.19-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl (367.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

lineagekit-1.0.19-cp311-cp311-win_amd64.whl (345.2 kB view details)

Uploaded CPython 3.11Windows x86-64

lineagekit-1.0.19-cp311-cp311-win32.whl (333.4 kB view details)

Uploaded CPython 3.11Windows x86

lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

lineagekit-1.0.19-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl (366.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file lineagekit-1.0.19.tar.gz.

File metadata

  • Download URL: lineagekit-1.0.19.tar.gz
  • Upload date:
  • Size: 220.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for lineagekit-1.0.19.tar.gz
Algorithm Hash digest
SHA256 946d785eb4f69fbdbbaaa1a0b0dd2ad08cc29c123f0d3dd928654b698f2ca44e
MD5 9d8fe984c4387f227fe04e26a43d453c
BLAKE2b-256 f850b6e56b933b37292ee7a31e9754b37033aa6ce428931ac8d46a7b115f1df6

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19.tar.gz:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: lineagekit-1.0.19-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 346.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for lineagekit-1.0.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e22cbf9143b05554dc11eb1cb67a6688df1d73089427a97a9ea5ea095207eef0
MD5 7a2aed090277816715e13346cff241a4
BLAKE2b-256 2d494dee9e66fffe1b4ac9b937df385cc36bb36ea4b56f3a29d8afee8b222eb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp312-cp312-win32.whl.

File metadata

  • Download URL: lineagekit-1.0.19-cp312-cp312-win32.whl
  • Upload date:
  • Size: 333.9 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for lineagekit-1.0.19-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 63d0e3e562e19d36ddbcde9ff50d0841f714b51299a52355feb490bd898e1b1b
MD5 1db880f6fd457605ccee672c27160133
BLAKE2b-256 b4b0d4d5325785d9a971f6cf31356eb7dacdfb4383cb454f43f30cf4f8f34bc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-win32.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e9ac0b52d152bd402e99f5b530e815c9ecd4c52841099ddd7b248f6a422d475
MD5 9d4ca5b60ff1c55acffde843ef4bb7d1
BLAKE2b-256 23361a81b1872875c3a83daf84fc1415bf8c26a6e7ad72493025eb90f30c8b6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for lineagekit-1.0.19-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b0b8246c2e3baf3b4468cefb6bf6de23e1816d63ec5f9e8eed98637be23f236f
MD5 8ec187859e329f3a2a36271a94bcfa33
BLAKE2b-256 dfdcd9442f825bf113b0c1a33bf542af1aedeba7323ac165dc757eb3c6e3a7d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56d3d343c24499ba316c09f1d8c0415885348137de30852649e2474a67446c54
MD5 2c0ca66f5bb66403b4dfe8b029c219c7
BLAKE2b-256 c6b9b262b936527263033f3c1f805576adc0dd15f01cb08ce388be17072e5ff5

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: lineagekit-1.0.19-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 345.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for lineagekit-1.0.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5aa44fa78fe4120e41f610e716987b21537bec2629a5282c62a61c49d202820b
MD5 b29f875a39372e2a38a82ba0e2307380
BLAKE2b-256 3c0f31f7293bfd15389d7b27b83bc7b56a49daf622552467a2b310b7bb980993

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp311-cp311-win32.whl.

File metadata

  • Download URL: lineagekit-1.0.19-cp311-cp311-win32.whl
  • Upload date:
  • Size: 333.4 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for lineagekit-1.0.19-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 46ae2472f367ff98c848b9c2bc5e7fec333afdff6c9d13076237fbd6f1177399
MD5 d164431b6616814b68cf3eca6ace35e5
BLAKE2b-256 39b7d0b6a268bd0385b626ff6ed54c28896438032d62d8ea61357b6b8f005819

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-win32.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bcd3425097e6ad5f0b6552b91bb4e108e0db9fe8c27c0f1486bcc7fb90561f57
MD5 39129e550a400066ca27d9fa9562d9c7
BLAKE2b-256 4ecff701257e6176630be4197f29d0d3b5c1938b7298940ecf38e2a7ed15849d

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for lineagekit-1.0.19-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c62bca8c3ed859bc8b8a61ec2b43c28efb07d561b5cbdfd0847c9eee1b0ce93b
MD5 c6ab860740e322e8dd2e641021227bab
BLAKE2b-256 369c84c92634056534e77d4d7ea824730830e5c9a51a70901f690e9ef1b742d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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

File details

Details for the file lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6dffb0f421b5642454c09675c5697d995083237e41151dc43b80d4b921bf122
MD5 e6ee4463bc1eb9c0f441e48111db9340
BLAKE2b-256 d009cb95bae47c50e821f6b6fbcfc67f2a5c22c424db551d99671b34bc9e05a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on lineagekit/lineagekit

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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page