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, andmitochondrialinheritance paths. - Has a (non-tested) message passing algorithm for computing kinship.
- Supports
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
- Clone the repository and
cdinto the root of the project. - 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:
- Create an issue with a description of what changes or improvements you would like to add.
- Create a separate branch for the issue that you have created. Make sure that the branch source is the dev branch.
- 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.
- Clone the repository, checkout into the newly created branch, install all the requirements mentioned in requirements.txt.
- 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
946d785eb4f69fbdbbaaa1a0b0dd2ad08cc29c123f0d3dd928654b698f2ca44e
|
|
| MD5 |
9d8fe984c4387f227fe04e26a43d453c
|
|
| BLAKE2b-256 |
f850b6e56b933b37292ee7a31e9754b37033aa6ce428931ac8d46a7b115f1df6
|
Provenance
The following attestation bundles were made for lineagekit-1.0.19.tar.gz:
Publisher:
publish.yml on lineagekit/lineagekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19.tar.gz -
Subject digest:
946d785eb4f69fbdbbaaa1a0b0dd2ad08cc29c123f0d3dd928654b698f2ca44e - Sigstore transparency entry: 307302882
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e22cbf9143b05554dc11eb1cb67a6688df1d73089427a97a9ea5ea095207eef0
|
|
| MD5 |
7a2aed090277816715e13346cff241a4
|
|
| BLAKE2b-256 |
2d494dee9e66fffe1b4ac9b937df385cc36bb36ea4b56f3a29d8afee8b222eb1
|
Provenance
The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-win_amd64.whl:
Publisher:
publish.yml on lineagekit/lineagekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp312-cp312-win_amd64.whl -
Subject digest:
e22cbf9143b05554dc11eb1cb67a6688df1d73089427a97a9ea5ea095207eef0 - Sigstore transparency entry: 307302927
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63d0e3e562e19d36ddbcde9ff50d0841f714b51299a52355feb490bd898e1b1b
|
|
| MD5 |
1db880f6fd457605ccee672c27160133
|
|
| BLAKE2b-256 |
b4b0d4d5325785d9a971f6cf31356eb7dacdfb4383cb454f43f30cf4f8f34bc7
|
Provenance
The following attestation bundles were made for lineagekit-1.0.19-cp312-cp312-win32.whl:
Publisher:
publish.yml on lineagekit/lineagekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp312-cp312-win32.whl -
Subject digest:
63d0e3e562e19d36ddbcde9ff50d0841f714b51299a52355feb490bd898e1b1b - Sigstore transparency entry: 307302949
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
File details
Details for the file lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e9ac0b52d152bd402e99f5b530e815c9ecd4c52841099ddd7b248f6a422d475
|
|
| MD5 |
9d4ca5b60ff1c55acffde843ef4bb7d1
|
|
| BLAKE2b-256 |
23361a81b1872875c3a83daf84fc1415bf8c26a6e7ad72493025eb90f30c8b6f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp312-cp312-musllinux_1_2_x86_64.whl -
Subject digest:
7e9ac0b52d152bd402e99f5b530e815c9ecd4c52841099ddd7b248f6a422d475 - Sigstore transparency entry: 307302918
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
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
- Download URL: lineagekit-1.0.19-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0b8246c2e3baf3b4468cefb6bf6de23e1816d63ec5f9e8eed98637be23f236f
|
|
| MD5 |
8ec187859e329f3a2a36271a94bcfa33
|
|
| BLAKE2b-256 |
dfdcd9442f825bf113b0c1a33bf542af1aedeba7323ac165dc757eb3c6e3a7d1
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
b0b8246c2e3baf3b4468cefb6bf6de23e1816d63ec5f9e8eed98637be23f236f - Sigstore transparency entry: 307302901
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
File details
Details for the file lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 367.9 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d3d343c24499ba316c09f1d8c0415885348137de30852649e2474a67446c54
|
|
| MD5 |
2c0ca66f5bb66403b4dfe8b029c219c7
|
|
| BLAKE2b-256 |
c6b9b262b936527263033f3c1f805576adc0dd15f01cb08ce388be17072e5ff5
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp312-cp312-macosx_11_0_arm64.whl -
Subject digest:
56d3d343c24499ba316c09f1d8c0415885348137de30852649e2474a67446c54 - Sigstore transparency entry: 307302962
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aa44fa78fe4120e41f610e716987b21537bec2629a5282c62a61c49d202820b
|
|
| MD5 |
b29f875a39372e2a38a82ba0e2307380
|
|
| BLAKE2b-256 |
3c0f31f7293bfd15389d7b27b83bc7b56a49daf622552467a2b310b7bb980993
|
Provenance
The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-win_amd64.whl:
Publisher:
publish.yml on lineagekit/lineagekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp311-cp311-win_amd64.whl -
Subject digest:
5aa44fa78fe4120e41f610e716987b21537bec2629a5282c62a61c49d202820b - Sigstore transparency entry: 307302980
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46ae2472f367ff98c848b9c2bc5e7fec333afdff6c9d13076237fbd6f1177399
|
|
| MD5 |
d164431b6616814b68cf3eca6ace35e5
|
|
| BLAKE2b-256 |
39b7d0b6a268bd0385b626ff6ed54c28896438032d62d8ea61357b6b8f005819
|
Provenance
The following attestation bundles were made for lineagekit-1.0.19-cp311-cp311-win32.whl:
Publisher:
publish.yml on lineagekit/lineagekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp311-cp311-win32.whl -
Subject digest:
46ae2472f367ff98c848b9c2bc5e7fec333afdff6c9d13076237fbd6f1177399 - Sigstore transparency entry: 307302936
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
File details
Details for the file lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcd3425097e6ad5f0b6552b91bb4e108e0db9fe8c27c0f1486bcc7fb90561f57
|
|
| MD5 |
39129e550a400066ca27d9fa9562d9c7
|
|
| BLAKE2b-256 |
4ecff701257e6176630be4197f29d0d3b5c1938b7298940ecf38e2a7ed15849d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp311-cp311-musllinux_1_2_x86_64.whl -
Subject digest:
bcd3425097e6ad5f0b6552b91bb4e108e0db9fe8c27c0f1486bcc7fb90561f57 - Sigstore transparency entry: 307302909
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
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
- Download URL: lineagekit-1.0.19-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c62bca8c3ed859bc8b8a61ec2b43c28efb07d561b5cbdfd0847c9eee1b0ce93b
|
|
| MD5 |
c6ab860740e322e8dd2e641021227bab
|
|
| BLAKE2b-256 |
369c84c92634056534e77d4d7ea824730830e5c9a51a70901f690e9ef1b742d1
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
c62bca8c3ed859bc8b8a61ec2b43c28efb07d561b5cbdfd0847c9eee1b0ce93b - Sigstore transparency entry: 307302891
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type:
File details
Details for the file lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 366.4 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6dffb0f421b5642454c09675c5697d995083237e41151dc43b80d4b921bf122
|
|
| MD5 |
e6ee4463bc1eb9c0f441e48111db9340
|
|
| BLAKE2b-256 |
d009cb95bae47c50e821f6b6fbcfc67f2a5c22c424db551d99671b34bc9e05a8
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lineagekit-1.0.19-cp311-cp311-macosx_11_0_arm64.whl -
Subject digest:
d6dffb0f421b5642454c09675c5697d995083237e41151dc43b80d4b921bf122 - Sigstore transparency entry: 307302886
- Sigstore integration time:
-
Permalink:
lineagekit/lineagekit@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Branch / Tag:
refs/tags/v1.0.19 - Owner: https://github.com/lineagekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9791fcaff648717eb45ebee64c6cc3608f5f77d -
Trigger Event:
push
-
Statement type: