Coder Social home page Coder Social logo

aain_predictor's Introduction

Prediction of Protein-Protein Binding Affinity Using Amino Acid Counts at the Interface

This repository contains to code to make a Delta G prediction for a protein-protein complex given a PDB file. It calculates interface numbers for six amino acids and makes a prediction with a linear regression equation that was found by training models on a dataset of 141 complexes.

Functions

predict(name, chains=None)

Returns a prediction given the name of a complex as a four-character string (not case-sensitive) referring to its PDB ID. The complex must already exist in the pdbFiles directory. Chains argument is optional and should be a tuple of length two specifying which chains belong to the first and second protein. Otherwise, the first two chains of the complex are used. This is essentially a wrapper for calculating the interface numbers and putting that into the regression equation.

predict("1A2K")
predict("1AHW",("AB","C"))

getPDB(name)

Downloads the PDB file given its four-character ID (not case-sensitive) into the pdbFiles directory. This uses the Biopython module which accesses the PDB database. Some complexes may not be found and must be added manually to the pdbFile directory. The resulting name of the file in the pdbFiles directory is of the form pdb + PDB ID + .ent.

getPDB("1AHW")

This creates a file called pdb1ahw.ent in the pdbFiles directory.

getAAINS(pdbFile, chains)

Given the ID of a pdbfile that exists in the pdbFiles directory, returns a dictionary of length 6 containing the interface numbers of the six amino acids used in the model. If the chains argument is None, uses the first two chains in the complex to represent the two proteins. Otherwise chains is a tuple containing the names of the chains in each protein.

getAAINs("1A2K")
getAAINs("1AHW",("AB","C"))

Note that this takes in the same arguments as the predict(name, chains=None) function and in both cases the pdbfile must already exist in the pdbFiles directory.

predictFromINs(INs)

Given a dictionary with the interface numbers of the six amino acids, makes a prediction.

predictFromINs(getAAINs("1AHW",("AB","C")))

aain_predictor's People

Contributors

kagrat17 avatar yongmeiwang avatar arolihas 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.