Skip to main content

Polygenic Risk and Association beyond Linearity

Project description

GenomEn

Polygenic Risk and Association beyond Linearity

PyPI version PyPI downloads Website Python 3.11 Python 3.12 Python 3.13 Format Check

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

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

genomen-0.1.4.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

genomen-0.1.4-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file genomen-0.1.4.tar.gz.

File metadata

  • Download URL: genomen-0.1.4.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for genomen-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e94b74ac420fb1e65c8ed4ca20dba40af5fa02ff8b062b073c94659da74a2223
MD5 56024cf912cd58589bb2e63be3a9749e
BLAKE2b-256 4fd1250346bd1c6e59b36b18f2d6c348d48a3eec3125e32d64b511126156850d

See more details on using hashes here.

Provenance

The following attestation bundles were made for genomen-0.1.4.tar.gz:

Publisher: release.yml on AI-sandbox/genomen

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

File details

Details for the file genomen-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: genomen-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for genomen-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c1cc56b805bbbd6344037734840f1c789d4bd495d167e294116f05c2e433e1fa
MD5 82bd9f2564105cba17e9cf0c31fff0f1
BLAKE2b-256 0474a6e350933662253988eb9f309062a5a26c3d39d56c14e96b25cbf8cae7b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for genomen-0.1.4-py3-none-any.whl:

Publisher: release.yml on AI-sandbox/genomen

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