Git Product home page Git Product logo

deep6ma's Introduction

Deep6mA

Deep6mA is a deep-learning-based framework to predict 6mA-containing sequences.

Dependency

  • Python3

  • numpy==1.14.2

  • torch==0.4.0a0+0e24630 ( pytorch )

  • scikit_learn==0.19.1

Content

  • data: data of rice for model training ( data of Arabidopsis thaliana, Fragaria vesca and Rosa chinensis for validation on other three species)

  • demo_test:

    • test.fa: data for testing scripts
    • expected results
      • predout.tsv: prediciton results
  • result:

    • trained_models: trained models for rice(5-fold)

Usage

1. train model

The script main_train.py is used to train model. The required arguments

  • model_type: cnn-rnn
  • pos_fa/neg_fa: the fasta file for positive samples/negative samples ( the length of sequences should be no more than 41bp)
  • out_dir: the path of output directory

This script ouput the trained model and prediction result in the out_dir.

python main_train.py -m model_type -pos_fa pos_fa -neg_fa neg_fa -od out_dir

2. predict 6mA-containing sequences

The script main_test.py is used to predict if a given sequence contain 6mA sites. The required arguments

  • model_type: cnn-rnn
  • input_fa: a fasta file for test samples ( the length of sequences should be no more than 41bp)
  • model_dir: the path of model directory
  • out_fn: output file

This script ouput the prediction scores for given sequences.

python main_test.py -m model_type -in_fa input_fa -md model_dir -outfn out_fn

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.