How guaguabujianle/gign works
This repository is a collection of seven protein–ligand binding-affinity prediction baselines: EGNN, GIGN, GNN_DTI, IGN, PotentialNet, SchNet, and RF-Score. The documented GIGN workflow starts with raw complex files, preprocesses them, builds model-specific graph data, then trains, predicts, and evaluates affinity. The graph preserves each baseline’s model and dataset implementation, with GIGN’s documented workflow as the clearest end-to-end example. Training and prediction relationships for other baselines are supported by the source index; their internals were not all sampled.
Main entry points: GIGN GIGN train and inference · EGNN EGNN train and inference · GNN_DTI GNN-DTI train and inference · IGN IGN train and inference
Components 28
Input preparation
- Complex structures
- Complex preprocessing
GIGN/preprocessing.py - EGNN graphs
EGNN/dataset_EGNN.py - GIGN graphs
GIGN/dataset_GIGN.py - GNN-DTI graphs
GNN_DTI/dataset_GNNDTI.py - IGN graphs
IGN/dataset_IGN.py - PotentialNet graphs
PotentialNet/dataset_PN.py - SchNet graphs
SchNet/dataset_SchNet.py - RF feature data
RF-Score/dataset.py
Graph baselines
- EGNN model
EGNN/EGNN.py - GIGN model
GIGN/GIGN.py - HIL layers
GIGN/HIL.py - GNN-DTI model
GNN_DTI/GNNDTI.py - IGN model
IGN/IGN.py - PotentialNet model
PotentialNet - SchNet model
SchNet/SchNet.py
RF baseline
- RF feature extraction
RF-Score/extract_rf_features.py - RF training
RF-Score/train_rf.py
Experiment runtime
- EGNN train and inference
EGNN - GIGN train and inference
GIGN - GNN-DTI train and inference
GNN_DTI - IGN train and inference
IGN - PotentialNet train and inference
PotentialNet - SchNet train and inference
SchNet - Affinity metrics
GIGN/evaluate.py - Run configuration
IGN/config/config_dict.py - Training logs
IGN/log/train_logger.py
Other components
- Researcher
Connections 27
- Researcher → Complex preprocessing: runs preprocessing
- Complex structures → Complex preprocessing: processes complexes
- Complex preprocessing → GIGN graphs: precedes graph building
- Researcher → GIGN train and inference: trains or predicts
- GIGN train and inference → GIGN graphs: loads graph data
GIGN/train_GIGN.py - GIGN train and inference → GIGN model: uses model
GIGN/train_GIGN.py - GIGN model → HIL layers: uses layers
GIGN/GIGN.py - Researcher → EGNN train and inference: runs baseline
- EGNN train and inference → EGNN graphs: loads graph data
EGNN/train_EGNN.py - EGNN train and inference → EGNN model: uses model
EGNN/train_EGNN.py - Researcher → GNN-DTI train and inference: runs baseline
- GNN-DTI train and inference → GNN-DTI graphs: loads graph data
GNN_DTI/train_GNNDTI.py - GNN-DTI train and inference → GNN-DTI model: uses model
GNN_DTI/train_GNNDTI.py - Researcher → IGN train and inference: runs baseline
- IGN train and inference → IGN graphs: loads graph data
IGN/train_IGN.py - IGN train and inference → IGN model: uses model
IGN/train_IGN.py - Researcher → PotentialNet train and inference: runs baseline
- PotentialNet train and inference → PotentialNet graphs: loads graph data
PotentialNet/train_PN.py - Researcher → SchNet train and inference: runs baseline
- SchNet train and inference → SchNet graphs: loads graph data
SchNet/train_SchNet.py - SchNet train and inference → SchNet model: uses model
SchNet/train_SchNet.py - Researcher → RF feature extraction: extracts features
- RF feature extraction → RF feature data: provides feature data
- RF training → RF feature data: loads training data
RF-Score/train_rf.py - GIGN train and inference → Affinity metrics: evaluates runs
- GIGN train and inference → Run configuration: loads settings
GIGN/train_GIGN.py - GIGN train and inference → Training logs: records runs
GIGN/train_GIGN.py