Giter VIP home page Giter VIP logo

gnn_pocket's Introduction

GNN_pocket


GNN_pocket is a tool to predict the pocket regions in a protein structure, where the residues that are at the edges of a pocket get tagged as active.

Copyright (C) 2022 Yuanyuan Zhang, Xiao Wang, Charles Christoffer, & Daisuke Kihara, and Purdue University.

License: GPL v3 for academic use. (For commercial use, please contact us for different licensing.)

Contact: Daisuke Kihara ([email protected])

Installation

2. Clone the repository in your machine

git clone https://github.com/kiharalab/GNN_pocket
cd GNN_pocket

3. Build dependencies.

You have two options to install dependency on your computer, install requirements.txt or install dependencies one by one:

3.1 Install with pip and python(Ver 3.6.9).

3.1.2 Install dependency in command line.
pip install -r requirements.txt 

If you encounter any errors, you can install each library one by one:

click==8.0.3
matplotlib==3.4.3
numpy==1.20.3
pandas==1.3.4
scikit_learn==1.0.2
scipy==1.7.1
torch==1.10.1
tqdm==4.62.3

Usage

python3 main.py -h:
  --mode                Running Mode
  --gpu                 Specify the gpu to use
  --test_dir            Specify the directory of original dataset, the structure under this dataset 
                        should be "./id/structure.pqr"
  --test_odir           Specify the directory that you want to save the processed data

Running Example

python main.py --mode=1 --gpu=1 --test_dir="./dataset/test" --test_odir="./dataset/test_processed"

Running Time

We strongly recommend you to run on a machine with a SSD, the overall running time for an example would be around 2 minutes with a SSD.

But the running time would be much longer without SSD, it is possible to over 10 minutes in some cases with large structures.

Output file

The output files are saved as final_pred which is at the same directory. For example:

cd ./final_pred
cd 23

structure.pqr: the prediction is at column 9, which 1.000 means pocket 1, 0.000 means not a pocket atom.

Visualization

Two examples about pocktes, the first one is example 23 from test set, the second one is example 142 from validation set.

References

gnn_pocket's People

Contributors

wang3702 avatar zhang038 avatar

Stargazers

emenenezesg avatar

Watchers

James Cloos 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.