Polygenic Risk and Association beyond Linearity
Project description
Overview
Genomic Ensembling (GenomEn) is an ensemble framework for genotype-to-phenotype prediction that uses both linear and non-linear estimators to capture gene-gene interactions often overlooked by traditional polygenic risk score (PRS) methods. For more informations on the methods, please refer to our paper.
The package enables researchers to improve predictive performance beyond conventional linear PRS approaches by modeling complex genetic interactions. GenomEn also natively supports variants on the X sex chromosome, which are often neglected due to integration challenges with autosomes, further improving predictive performance and simplifying the study of X-linked traits. Finally, GenomEn allows for local and global variant-level interpretability via SHAP values, allowing to gain new insights into complex traits.
Installation
Install from PyPI:
pip install genomen
Install with optional dependency groups:
# Development dependencies (black, pytest, etc.)
pip install genomen[dev]
# GPU support (CUDA 12)
pip install genomen[gpu]
# Deep neural network support
pip install genomen[dnn]
Quick Start
from genomen.data import DataSet, split
from genomen.model import GenomenModel
# Load and split data
dataset = DataSet()
train_set, test_set, val_set = split(dataset)
# Train model
model = GenomenModel()
model.fit(train_set, val_set)
# Make predictions
geno_preds, covar_preds, preds = model.predict(test_set)
Documentation
For detailed documentation, tutorials, and examples, please visit the official documentation site or browse the local documentation in the docs/ directory.
Citation
If you use GenomEn in your research, please cite:
@article{Thomassin2025,
title={Polygenic risk and association beyond linearity},
author={First Author and Second Author and Third Author},
journal={Conference/Journal Name},
year={2024},
url={https://your-domain.com/your-project-page}
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For development setup, see the getting started guide.
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
Links
- Website: https://genomen-website.vercel.app/
- Documentation: https://genomen-website.vercel.app/docs
- Phenotype Browser: https://genomen-website.vercel.app/browser
- PyPI: https://pypi.org/project/genomen/
- GitHub: https://github.com/AI-sandbox/genomen
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 Distribution
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 genomen-0.1.3.tar.gz.
File metadata
- Download URL: genomen-0.1.3.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67de99b581f830cb3988e056f1d38b630da9a239ac78a121eb3ced6a8224a91a
|
|
| MD5 |
ebe843ac506e52c147262bcc85285422
|
|
| BLAKE2b-256 |
e2e1185993638733c3c75f511ebe9a2003de90adf93395fe52009a8e76b74320
|
Provenance
The following attestation bundles were made for genomen-0.1.3.tar.gz:
Publisher:
release.yml on AI-sandbox/genomen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genomen-0.1.3.tar.gz -
Subject digest:
67de99b581f830cb3988e056f1d38b630da9a239ac78a121eb3ced6a8224a91a - Sigstore transparency entry: 701885944
- Sigstore integration time:
-
Permalink:
AI-sandbox/genomen@ae6e14589251ebb334c9a05c7f0c3be2e2db3d49 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AI-sandbox
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ae6e14589251ebb334c9a05c7f0c3be2e2db3d49 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file genomen-0.1.3-py3-none-any.whl.
File metadata
- Download URL: genomen-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6452632f658d2191217d1c1e9d51482be71f65ec8463dfde06183a433986c021
|
|
| MD5 |
550ad59a07488f55484c1f6afffd3d2d
|
|
| BLAKE2b-256 |
da117bdca993524ae3b4c34a974dab5c986e88030e5f98c5d1d1a9a01ca71bc6
|
Provenance
The following attestation bundles were made for genomen-0.1.3-py3-none-any.whl:
Publisher:
release.yml on AI-sandbox/genomen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
genomen-0.1.3-py3-none-any.whl -
Subject digest:
6452632f658d2191217d1c1e9d51482be71f65ec8463dfde06183a433986c021 - Sigstore transparency entry: 701886055
- Sigstore integration time:
-
Permalink:
AI-sandbox/genomen@ae6e14589251ebb334c9a05c7f0c3be2e2db3d49 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AI-sandbox
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ae6e14589251ebb334c9a05c7f0c3be2e2db3d49 -
Trigger Event:
workflow_dispatch
-
Statement type: