Binding affinity is the strength of the binding interaction between a biomolecule (e.g. protein or RNA) and its ligand partner (e.g. drug or inhibitor). Using binding affinity as measurement can help design drugs that bind selectively to their target. This project aims to predict the binding affinity of protein-ligand complexes using Graph Neural Networks, and the model is implemented based on the method in Predicting drug-target interaction using 3D structure-embedded graph representations from graph neural networks
- Embed the 3D structure of a protein-ligand complex
where
- Graph-attention Layer
Input: node features
Transform each node by a learable weight matrix
Compute attention coefficient (the importand of
with
Normalize attention coefficient:
Update:
Gated:
where
Finalize:
where
- Architecture:
Subtracting 2 node features, the model will learn the differences when the protein and ligand binds
Representation of the ligand-protein complex:
The aboved representation can be fed into an MLP to predict the binding affinity (as a regression task)
All data processing functions in utils.py
is specialized for PDBbind Dataset. After PDBbind Dataset is downloaded, root
, data_dir
, and affinity_file
in config.py
should be changed based on the dataset's location.
All of the parameters can be changed by modifying the config.py
file, and the model can be trained by running main.py
Jaechang Lim, Seongok Ryu, Kyubyong Park, Yo Joong Choe, Jiyeon Ham, and Woo Youn Kim. 2019. Predicting drug–target interaction using a novel graph neural network with 3D structure-embedded graph representation. Journal of chemical information and modeling 59, 9 (2019), 3981–3988. https://pubs.acs.org/doi/abs/10.1021/acs.jcim.9b00387