DGraphDTA
a novel DTA predition method using graph neural network
Install / Use
/learn @595693085/DGraphDTAREADME
DGraphDTA
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.
<div align=center><img width="900" height="400" src="https://github.com/595693085/DGraphDTA/blob/master/figures/architecture.png"/></div>dependencies
numpy == 1.17.4 <br> kreas == 2.3.1 <br> Pconsc4 == 0.4 <br> pytorch == 1.3.0 <br> PyG (torch-geometric) == 1.3.2 <br> hhsuite (https://github.com/soedinglab/hh-suite)<br> rdkit == 2019.03.4.0 <br> ccmpred (https://github.com/soedinglab/CCMpred) <br>
data preparation
- Prepare the data need for train. Get all msa files of the proteins in datasets (for more detail description of datasets, please refer to datasets), and using Pconsc4 to predict all the contact map. A script in the repo can be run to do all the steps: <br> python scripts.py <br><br>
- And if you want to skip the long time preparation, please directly download the contact map and msa files which we already generated from files. For more detailed generating information, please refer to the "scripts.py". Then copy the corresponding two folders to each dataset dir. For example: <br> (1) download the data.zip and unzip it. <br> (2) copy two folders called "aln" and "pconsc4" from davis to the /data/davis of your repo, so do the KIBA. <br>
train (cross validation)
5 folds cross validation. <br> python training_5folds.py 0 0 0 <br> where the parameters are dataset selection, gpu selection, fold (0,1,2,3,4).
test
This is to do the prediction with the models we trained. And this step is to reproduce the experiments. <br> python test.py 0 0 <br> 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.
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
