Inspired by GraphDTA, a method for predicting the affinity of drug-protein based on graph neural network is proposed, which is called DGraphDTA (double Graph DTA predictor). The method can predict the affinity only using the molecule SMILES and protein sequence. This repo gits from GraphDTA, and compared with GraphDTA, the method constructs both the graph of protein and small molecule at the same time to improve the accuracy. The protein graph is constructed according to contact map.
numpy == 1.17.4
kreas == 2.3.1
Pconsc4 == 0.4
pytorch == 1.3.0
PyG (torch-geometric) == 1.3.2
hhsuite (https://github.com/soedinglab/hh-suite)
rdkit == 2019.03.4.0
ccmpred (https://github.com/soedinglab/CCMpred)
5 folds cross validation.
python training_5folds.py 0 0 0
where the parameters are dataset selection, gpu selection, fold (0,1,2,3,4).
This is to do the prediction with the models we trained. And this step is to reproduce the experiments.
python test.py 0 0
and the parameters are dataset selection, gpu selection.
Beacuse our memory limitation, only 8 combinations were fitted for the best result. It is worth mentioning that if more model combinations were explored, there may be better results.