Git Product home page Git Product logo

dnngp's Introduction

DNNGP: Deep neural network for genomic prediction


The Python project 'DNNGP' can be used to implement genome-wide prediction (GP), which can predict the phenotypes of plants and animals based on multi-omics data. The code is written using Python 3.6 and TensorFlow 1.15.

๐Ÿ“˜ Table of Contents

๐Ÿ” Change Log

  • Version 1.0 -First version released on August, 20th, 2022

๐ŸŒŸ Requirements

DNNGP requires Python 3.6. Follow the instructions at https://www.tensorflow.org/install/gpu to set up GPU support for faster model training. Once GPU is set up, install with conda by executing these instructions from the root of the checked-out repository:

conda create -n dnngp python=3.6.5
conda activate dnngp
pip install -r requirements.txt

Users can also use DNNGP on CPU, and the installation method is the same as above.

๐ŸŒŸ Installation

Download the release package and unzip to your working directory.

๐ŸŒŸ How to run DNNGP

To run locally, there are two required input files. One file contains the phenotype of interest, the other file contains the SNP data, genomic expression data or other related omics data with digital coding.

An example command to train DNNGP to predict the phenotype pheno from the SNP data, genomic expression data or other related omics data with digital coding is the following:

python dnngp_runner.py \
  --batch_size [num] \
  --epoch [num] \
  --lr [num] \
  --patience [num] \
  --dropout1 [num] \
  --dropout2 [num] \
  --SNP [your omics-data file] \
  --pheno [your phenotype data file]

Of particular note is the run.py. This script is used to get results in batches by adjusting different hyperparameters and inputs.

๐Ÿ” Data

The example-data files are alread included in the release package,

You can also get the exmample data from source code. Download example-data.tgz and extract data with tar zxvf example-data.tgz.

Maintainers

@Kelin Wang

@Huihui Li

๐Ÿ‘ฅ Contacts

Kelin Wang๏ผˆ[email protected]๏ผ‰

Huihui Li๏ผˆ[email protected]๏ผ‰

๐Ÿ“˜ License

GPLv3 ยฉ Kelin Wang, Huihui Li

dnngp's People

Contributors

lihh00 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.