GithubHelp home page GithubHelp logo

genevariants's Introduction

Genevariants

This is a class project for CS478: Intro to Machine Learning and CS418: Bioinformatics at BYU. It explores the learnability of SNP pathogenicity.

See also the associated paper.

Note: all the python code is expecting to be run from the root of the repository. It will not find the datafiles if run from another directory.

Data

The data for this project was derived from the the ClinVar database of gene variants. Additional features were added from AAindex and UCSC genome browser.

Preprocessing and feature extraction

Note: this preprocessing has already been done for the BRC family, so the data is ready to go in the BRC_full.csv file. You only need to run these steps if you want to regenerate the files, run it on more data, or run the Neural Net on a new Protein family or gene, like TTN.

  1. Run FindProteinFamilies.py to gather genes from BRC family to one file
$ python FindProteinFamilies.py
  1. Run GatherConservationData.py to gather the conservation data for the gene family.
$ python GatherConservationData.py
  1. Run preprocessing.py to gather all the amino acid features and conservation data to one file.
$ python preprocessing.py
  1. Now the data is ready to run through the Neural Network!

Running the Neural Network

  1. Create a python virtual environment in the (model/) directory
$ virtualenv -p python3 model/venv
  1. Enter the environment
$ . ./model/venv/bin/activate
  1. Install the requirements
$ pip install -r model/requirements.txt
  1. Run the neural network
$ python model/genevariants.py
  1. When finished leave the venv
$ deactivate

genevariants's People

Contributors

kalebo avatar brianbarker92 avatar zlohner avatar

Watchers

 avatar  avatar

Forkers

kalebo

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.