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]
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{Thomassin2026,
title = {Biobank-scale Polygenic Risk Prediction with Nonlinear Estimators},
author = {Thomassin, Christophe and Franquesa Mon{\'e}s, Marc and Bonet, David and Gerlach, Peter A. and Comajoan Cara, Mar{\c{c}}al and Mas Montserrat, Daniel and Ioannidis, Alexander G.},
year = {2026},
url = {https://genomen-website.vercel.app/docs}
}
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
Metadata
Release files for genomen 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| genomen-1.0.tar.gz | 15.4 kB | Without provenance | Details for genomen-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genomen-1.0-py3-none-any.whl | Python 3 | none | any | Details for genomen-1.0-py3-none-any.whl |
Total release size: 25.1 kB
Release files / genomen-1.0.tar.gz
| Download URL | genomen-1.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
879d2bb6b941080f66dd10a016fd7f1d607b3bca741d6632c3c241c3f660abb3
|
|
BLAKE2b-256 checksum How to use checksums |
8c10f90ee5ee909363078880b1431f5e4001fe7512a1557e920bf1ac2618f396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.14
|
Release files / genomen-1.0-py3-none-any.whl
| Download URL | genomen-1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f418009fd13150f87ffd1c6e20676e39a9a7a87becd8775ab4fbafaa4fcf34a
|
|
BLAKE2b-256 checksum How to use checksums |
1e8c8cc85bb808718657475d1ecbc07975b826b0ece0ecdc75aa88e8dd4fdd59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.14
|
Security for genomen 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.