A preliminary code to predict binding affinity from the pairwise distances between protein and ligand atoms
License
LLNL/PairScore
main
Name already in use
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
This is a preliminary code to predict binding affinity from the pairwise distances between protein and ligand atoms. Please cite the following publication for reference of this code: Binding Affinity Prediction by Pairwise Function Based on Neural Network Fangqiang Zhu, Xiaohua Zhang, Jonathan E. Allen, Derek Jones, and Felice C. Lightstone J. Chem. Inf. Model. 2020, 60, 2766-2772 The files in this folder are: readme.txt - This file calcPK.py - The python code to run the calculation net.pth - The parameters for the trained neural network; needs to be in the same directory as calcPK.py 4llx.npy - An example of the input file for pose 4llx in PDBBind 2018 An example for running the code: $ ./calcPK.py 4llx.npy log(Ka) = 3.86 The argument for calcPK.py is a numpy file for an array with 7 columns. Each row represents a pair of atoms, one from the protein and one from the ligand. Columns 1-3 are the charge, sigma, and epsilon for the protein atom. Columns 4-6 are the charge, sigma, and epsilon for the ligand atom. Column 7 is the distance (in Anstrom) between the two atoms. See 4llx.npy as an example for this file. Numpy and PyTorch are required to run this code. Unlimited Open Source - BSD 3-clause Distribution LLNL-CODE-815696
About
A preliminary code to predict binding affinity from the pairwise distances between protein and ligand atoms