Skip to main content

No project description provided

Project description

EIR-auto-GP

EIR auto GP Logo

Documentation Status


EIR-auto-GP: Automated genomic prediction (GP) using deep learning models with EIR.

WARNING: This project is in alpha phase. Expect backwards incompatible changes and API changes.

Overview

EIR-auto-GP is a comprehensive framework for genomic prediction (GP) tasks, built on top of the EIR deep learning framework. EIR-auto-GP streamlines the process of preparing data, training, and evaluating models on genomic data, automating much of the process from raw input files to results analysis. Key features include:

  • Support for .bed/.bim/.fam PLINK files as input data.
  • Automated data processing and train/test splitting.
  • Takes care of launching a configurable number of deep learning training runs.
  • SNP-based feature selection based on GWAS, deep learning-based attributions, and a combination of both.
  • Ensemble prediction from multiple training runs.
  • Analysis and visualization of results.

Installation

First, ensure that plink2 is installed and available in your PATH.

Then, install EIR-auto-GP using pip:

pip install eir-auto-gp

Important: The latest version of EIR-auto-GP supports Python 3.12. Using an older version of Python will install a outdated version of EIR-auto-GP, which likely be incompatible with the current documentation and might contain bugs. Please ensure that you are installing EIR-auto-GP in a Python 3.12 environment.

Usage

Please refer to the Documentation for examples and information.

Workflow

The rough workflow can be visualized as follows:

EIR auto GP Workflow

  1. Data processing: EIR-auto-GP processes the input .bed/.bim/.fam PLINK files and .csv label file, preparing the data for model training and evaluation.
  2. Train/test split: The processed data is automatically split into training and testing sets, with the option of manually specifying splits.
  3. Training: Configurable number of training runs are set up and executed using EIR's deep learning models.
  4. SNP feature selection: GWAS based feature selection, deep learning-based feature selection with Bayesian optimization, and mixed strategies are supported.
  5. Test set prediction: Predictions are made on the test set using all training run folds.
  6. Ensemble prediction: An ensemble prediction is created from the individual predictions.
  7. Results analysis: Performance metrics, visualizations, and analysis are generated to assess the model's performance.

Citation

If you use EIR-auto-GP in a scientific publication, we would appreciate if you could use one of the following citations:

@article{10.1093/nar/gkad373,
    author    = {Sigurdsson, Arn{\'o}r I and Louloudis, Ioannis and Banasik, Karina and Westergaard, David and Winther, Ole and Lund, Ole and Ostrowski, Sisse Rye and Erikstrup, Christian and Pedersen, Ole Birger Vesterager and Nyegaard, Mette and DBDS Genomic Consortium and Brunak, S{\o}ren and Vilhj{\'a}lmsson, Bjarni J and Rasmussen, Simon},
    title     = {{Deep integrative models for large-scale human genomics}},
    journal   = {Nucleic Acids Research},
    month     = {05},
    year      = {2023}
}

@article{sigurdsson2022improved,
    author    = {Sigurdsson, Arnor Ingi and Ravn, Kirstine and Winther, Ole and Lund, Ole and Brunak, S{\o}ren and Vilhjalmsson, Bjarni J and Rasmussen, Simon},
    title     = {Improved prediction of blood biomarkers using deep learning},
    journal   = {medRxiv},
    pages     = {2022--10},
    year      = {2022},
    publisher = {Cold Spring Harbor Laboratory Press}
}

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

eir_auto_gp-0.1.0.tar.gz (93.8 kB view details)

Uploaded Source

Built Distribution

eir_auto_gp-0.1.0-py3-none-any.whl (116.6 kB view details)

Uploaded Python 3

File details

Details for the file eir_auto_gp-0.1.0.tar.gz.

File metadata

  • Download URL: eir_auto_gp-0.1.0.tar.gz
  • Upload date:
  • Size: 93.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/5.15.0-1070-azure

File hashes

Hashes for eir_auto_gp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d6825d52cb19add1ca6240eb2ce9c1bf86bfef6ce3cfb9de55326b1a04337ed2
MD5 b1b48d096829cdff9b4774ca0a19ce12
BLAKE2b-256 e859b9a17d4a44ecfd26ad7fbec94d363db605bbd33419b6daa0def6db269276

See more details on using hashes here.

File details

Details for the file eir_auto_gp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eir_auto_gp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 116.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/5.15.0-1070-azure

File hashes

Hashes for eir_auto_gp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c7da766367bfd90edae1fd8ef676c15818bdbc5ff7b088244ff549846b2aa3e
MD5 1ed2a139e96b7b496f0c6bc041880bf5
BLAKE2b-256 fcc2de3b9852ac4fb597e3a240b5b0d34ad0415b71dc55be4e43378b65ea06c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page