Giter Club home page Giter Club logo

deepselex's Introduction

DeepSELEX

Inference of DNA-binding preferences from HT-SELEX data using deep neural networks

Flags

The flags for the command line interface:

    • learning_file_list: A list of HT-SELEX files. Should be written as follows: -lfl demo_data/ALX4_TGTGTC20NGA_W_0.fastq demo_data/ALX4_TGTGTC20NGA_W_1.fastq demo_data/ALX4_TGTGTC20NGA_W_2.fastq demo_data/ALX4_TGTGTC20NGA_W_3.fastq demo_data/ALX4_TGTGTC20NGA_W_4.fastq
    • primary_selex_sequence: the sequence which is the HT-SELEX experiment primary sequence. If the selex file is of the form: ALX4_TGTGTC20NGA_W_0.fastq, the primary sequence is: TGTGTC20NGA this sequence should be supplied in the cmd. Should be written as follows: -pss TGTGTC20NGA
    • prediction_file: Prediction data file. Should be written as follows: -pf demo_data/Alx4_1744.1_deBruijn.txt or any other predicted file
    • output_file_location: The output file name and location. Should be written as follows: -ofl results.csv
    • saved_model_location: If supply, saves the model in the supplied address. Should be written as follows: -sml output_model.h5
    • loaded_model_location: Loads the model from the supplied address Should be written as follows: -lml loaded_model_name.h5

Examples

  1. Training command line example:
    python deep_selex.py -lfl demo_data/ALX4_TGTGTC20NGA_W_0.fastq demo_data/ALX4_TGTGTC20NGA_W_1.fastq demo_data/ALX4_TGTGTC20NGA_W_2.fastq demo_data/ALX4_TGTGTC20NGA_W_3.fastq demo_data/ALX4_TGTGTC20NGA_W_4.fastq -pss TGTGTC20NGA -sml output_model.h5
  2. Training and predicting command line example:
    python deep_selex.py -lfl demo_data/ALX4_TGTGTC20NGA_W_0.fastq demo_data/ALX4_TGTGTC20NGA_W_1.fastq demo_data/ALX4_TGTGTC20NGA_W_2.fastq demo_data/ALX4_TGTGTC20NGA_W_3.fastq demo_data/ALX4_TGTGTC20NGA_W_4.fastq -pss TGTGTC20NGA -pf demo_data/Alx4_1744.1_deBruijn.txt -ofl results.csv -sml output_model.h5
  3. Using pre-trained model command line example:
    python deep_selex.py -lml test_model.h5 -pf demo_data/Alx4_1744.1_deBruijn.txt -ofl results.csv

Requirements:

Linux based operating system (the trained models at the "models" directory can sometime have errors under other operating systems)

python interpreter > = 3.6

python software packages:
xlrd >= 1.2.0
numpy >= 1.17.5
pandas >= 0.25.3
tensorflow version == 1.14.0
keras version == 2.3.1\

deepselex's People

Contributors

maorasif avatar

Stargazers

 avatar M avatar Chao Zheng avatar

Watchers

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