Git Product home page Git Product logo

deepmotif's Introduction

Deep Motif Dashboard: Visualizing and Understanding Genomic Sequences Using Deep Neural Networks

Jack Lanchantin, Ritambhara Singh, Beilun Wang, and Yanjun Qi

Pacific Symposium on Biocomputing (PSB) 2017

https://arxiv.org/abs/1608.03644

Talk slides:

https://github.com/QData/DeepMotif/blob/master/psb_talk_slides.pdf

bibtex:

@article{lanchantin2016deep,
  title={Deep Motif Dashboard: Visualizing and Understanding Genomic Sequences Using Deep Neural Networks},
  author={Lanchantin, Jack and Singh, Ritambhara and Wang, Beilun and Qi, Yanjun},
  journal={arXiv preprint arXiv:1608.03644},
  year={2016}
}

Installation

Lua setup

The main modeling code is written in Lua using torch Installation instructions are located here

After installing torch, install / update these packages by running the following:

luarocks install torch
luarocks install nn
luarocks install optim

CUDA support (Optional)

To enable GPU acceleration with CUDA, you'll need to install CUDA 6.5 or higher as well as cutorch and cunn. You can install / update the torch CUDA libraries by running:

luarocks install cutorch
luarocks install cunn

LFS

Install git large file storage (LFS) in order to download the dataset directly from this git repository.

https://git-lfs.github.com/

Visualization Method Dependencies

Weblogo: http://weblogo.berkeley.edu/

R: https://www.r-project.org/

Usage

Step 1: Get the Data

tar xvzf data/deepbind.tar.gz -C data/

Step 2: Train the model

You can train one of the 3 types of models (CNN, RNN, or CNN-RNN). Check the flags in main.lua for parameters to run the code.

For CNN model:

th main.lua -cnn

For CNN model:

th main.lua -rnn

For CNN-RNN model:

th main.lua -cnn -rnn

Step 3: Visualize the Model's Predictions

Once you have trained models, you can visualize the predictions.

Saliency Map

th saliency_map.lua

Temporal Output Values

th temporal_output_values.lua

Class Optimization

th class_optimization.lua

deepmotif's People

Contributors

jacklanchantin avatar qiyanjun avatar

Watchers

 avatar  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.