Code Monkey home page Code Monkey logo

cport's Introduction

CPORT: Consensus Prediction Of interface Residues in Transient complexes

License unittests Codacy Badge Codacy Badge

CII Best Practices fair-software.eu

DISCLAIMER

This repository contains an ongoing development of the next version of CPORT, and as such it is not stable yet. The codebase might change drastically in the future.

For the current stable version, please access the web service at https://alcazar.science.uu.nl/services/CPORT.

Please also refer to the original publication:


Predictors

Server Status Implemented
WHISCY ๐ŸŸข โœ”๏ธ
SCRIBER ๐ŸŸข โœ”๏ธ
ISPRED4 ๐ŸŸข โœ”๏ธ
SPPIDER ๐ŸŸข โœ”๏ธ
meta-PPISP ๐ŸŸข โœ”๏ธ
PredUs2 ๐ŸŸ 
Cons-PPISP ๐ŸŸข โœ”๏ธ
PredictProtein ๐ŸŸข โœ”๏ธ
PSIVER ๐Ÿ”ด โœ”๏ธ
CSM-Potential ๐Ÿ”ด โœ”๏ธ
ScanNet ๐ŸŸข โœ”๏ธ

Installation

Please refer to INSTALL.md for installation instructions.

Example

cport path/to/file/1PPE.pdb E

Machine Learning based consensus prediction of interface residues

See all related data at https://github.com/haddocking/cport-data

scriber_ispred4_sppider_csm_potential_scannet

pending

cport_ispred4_scannet_sppider

The cport_ispred4_scannet_sppider model was developed to obtain the interface residues of proteins for protein docking, using the predictions of several webservers and a deep neural network. This model uses SCRIBER, SCANNET, ISPRED4, and SPPIDER.

Data Preparation

The training and validation data can be found in "cport/data". Scripts for data preparetion step can be found in "cport/src/data_prep".

prepare_training_data.py: This script is used for combining the retrieved predictions of the receptors in BM5 and ARCTIC3D interface residues, and create a master ".csv" file for training the machine learning model.

prepare_validation_data.py: This script is used for combining the retrieved predictions of the Alphafold reference structures of the ligands in the BM5 and ARCTIC3D interface residues, and create a master ".csv" file for validating the machine learning model.

filter_pdb.py: This script is used on the AlphaFold validation data to distinguish between the residues according to their b-factor values. The residues with a b-factor value higher than 0.8 and below 0.8 are seperated and used for creating 2 different master ".csv" files. This is performed because the residues with lower b-factor values were not reliable for validation.

Machine Learning Model

Scripts related to the machine learning model can be found in "cport/src/ml_models".

ml_dataprep.py: This script contains the codes for utilities used in building the model such as handling imbalance in the data, splitting the data into train-test data, etc. The default model is built and trained without any sampling on the data, with the ratio of the labels 0 and 1 being 2/1. If desired, the sampler can be used, created in lines 32-33.

tf_class.py: This is the script where the model is built and trained with the proper data. The model is built with certain parameters to maximize the efficiency of the predictions, considering the amount of the features and the training data. These parameters can be adjusted and a new model can be created by modifiying the following lines as desired:

line 44 -> modify units=16

line 47 -> modify loop variable to create more layers

line 48 -> modify units=16

line 55 -> modify learning_rate=1e-2

After the model has been built and trained, the model and the analysis graphs are saved into the path given in line 92. The training data for the model can be changed by changing the "pred_path" parameter in line 68. The sampling method can be modified by changing the "sampler" parameter in line 69

alphafold_data_prediction.py: This script is used to analyze the created model using the validation data of AlphaFold proteins.

How to contribute

Please have a look at CONTRIBUTE

How to get Support

If you encounter a bug or would like to request a feature, please open an ISSUE or a PR.

cport's People

Contributors

albanogueira avatar aldovdn avatar amjjbonvin avatar apalazis avatar brianjimenez avatar dependabot[bot] avatar palazis avatar rvhonorato 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.