Giter Site home page Giter Site logo

bhattacharya-lab / rrqnet Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 21.23 MB

Protein contact map quality estimation by evolutionary reconciliation

License: GNU General Public License v3.0

Python 100.00%
contact-maps quality-estimation deep-learning protein-structure-prediction

rrqnet's Introduction

rrQNet

rrQNet is a deep learning method for protein contact map quality estimation by evolutionary reconciliation.

Installation

Installing rrQNet is very straightforward. The following instructions should work for 64-bit Linux system:

  • Make sure you have Python with NumPy and TensorFlow installed. rrQNet has been tested on Python 3.8.5 (numpy version 1.18.4 and TensorFlow version 2.3.0), but it should run on higher versions as well.
  • Download and unzip the model from here

That's it! rrQNet is ready to be used.

Usage

To see the usage instructions, run python rrQNet.py -h


Usage: rrQNet.py [options]

Options:
  -h, --help  show this help message and exit
  -p PRE      precision matrix (npy format)
  -r RR       residue-residue contact map (rr format)
  -m MODEL    path to the model
  -t TGT      name of target

File formats and parameters

  • Precision matrix (-p): Precision matrix is obtained from multiple sequence alignment. For example, see ./example/input/T0968s2.out.npy
  • Contact map (-r): The first line contains the amino acid sequence followed by list of contact rows using a five-column format similar to CASP RR format. In each contact row, first two columns are the residue pairs in contact, third and fourth columns are lower and upper bounds of their distance (in ร…) respectively, and fifth column is a real number indicating the probability of the two residues being in contact. For example, see ./examples/input/T0968s2.L.6.fl.metapsicov.rr
  • Model (-m): Path to the directory that contains trained model. For example, see ./model/rrQNet_train_55_40/
  • Target (-t): Name of the target

Test rrQNet

We give an example of running rrQNet on CASP12 FM target T0869.

Run python rrQNet.py -p ./examples/input/T0968s2.out.npy -r ./examples/input/T0968s2.L.6.fl.metapsicov.rr -m ./model/rrQNet_train_55_40/ -t T0968s2.metapsicov > out.txt

The estimated quality score along with selected contacts is generated at out.txt. the output should look like this

rrQNet is very fast. On average it takes only a few seconds on a single core to run rrQNet. However, the running time depends on the sequence length of the target protein. For longer targets, it may take a few minutes to complete.

Cite

If you find rrQNet useful, please cite our PROTEINS paper.

rrqnet's People

Contributors

roche78 avatar

Stargazers

 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.