Git Product home page Git Product logo

keratinocyte_models's Introduction

keratinocyte_models

assembly-free keratinocyte models

The tiledb database is stored in:

/oak/stanford/groups/akundaje/projects/keratinocyte_models/db_keratinocyte

Getting seqdataloader and kerasAC

To run the scripts below, you will need the seqdataloader and kerasAC code bases. The pip packages are outdated, so please install from source:

# first install the latest tiledb version 
pip install --upgrade tiledb 

git clone https://github.com/kundajelab/seqdataloader
cd seqdataloader 
python setup.py build 
python setup.py develop 
git clone https://github.com/kundajelab/kerasAC.git 
cd kerasAC 
python setup.py build 
python setup.py develop 

generating tiledb database and training models

  1. run make_task_file.py to create tiledb representation of:
  • dataset
  • 100bp_peak
  • 200bp_peak
  • 500bp_peak
  • count_bigwig_unstranded_5p
  • count_bigwig_plus_5p
  • count_bigwig_minus_5p

this produces keratinocyte.tasks.tsv 2) run get_ambig.sh to concatenate blacklist regions + 99th quantile read count outliers. This generates ambiguous tracks that should be added as a column in keratinocyte.tasks.tsv

  1. run dbingest.sh to store the dataset in tiledb format This produces the tiledb database "db_keratinocyte"

  2. Identify counts loss weight: get_loss_weights.sh This gets stored in "model_params.txt"

  3. run bpnet.train.wrapper*.sh to train model on specific task/fold

  4. run bpnet.predict.wrapper*.sh to get predictions from the model on the test set.

  5. visualize the loss and the model performance via jupyter notebooks: PLOT_LOSS.ipynb PLOT_PERF.ipynb

keratinocyte_models's People

Contributors

annashcherbina avatar

Watchers

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