Giter Site home page Giter Site logo

antoinepassemiers / gde-gaussfold Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 606 KB

Lightning-Fast Template-free Protein Folding based on Predicted Residue Contacts and Secondary Structure

Python 99.91% Makefile 0.09%
protein-folding protein-3d-structure template-free-modelling graph-distance l-bfgs genetic-algorithm

gde-gaussfold's Introduction

Graph-Distance Evolutionary (GDE) Gaussian Folding

GDE-GaussFold is a template-free protein modelling software that assign 3D coordinates to residues based on predicted contact maps and secondary structure. It uses Gaussian restraints to model distances between pairs of residues and searches for the model that maximizes log-likelihood. Optimization is done heuristically with a non-stationary genetic algorithm.

from gaussfold import GaussFold

# cmap is an array of shape (L, L) of
# predicted contact probabilities.
cmap = ...

# ssp is an array of shape (L,) representing
# 3-state secondary structure prediction.
# 0 stands for 'H', 1 for 'E' and 2 for 'C'.
ssp = ...

coords_predicted = GaussFold().run(cmap, ssp)

The library provides projection-invariant evaluation metrics for the predicted 3D models:

from gaussfold import tm_score, rmsd

# coords_target is an array of shape (L, 3)
# representing the 3D coordinates of the protein
# native structure. If at least one residue is unknown,
# then coords_target is a list of triples where
# missing residues are replaced by None.
coords_target = ...

print(tm_score(coords_predicted, coords_target))
print(rmsd(coords_predicted, coords_target))

A complete example is available in example/ folder.

Installation

GDE-GaussFold can be installed with the following command:

python setup.py install

Dependencies

  • Numpy
  • Scipy
  • NetworkX
  • Scikit-learn

Optional dependencies (but required in order to use the PDBParser):

gde-gaussfold's People

Contributors

antoinepassemiers avatar

Stargazers

 avatar  avatar

Watchers

 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.