Skip to content

The code for SAG-DTA: Prediction of Drug–Target Affinity Using Self-Attention Graph Network.

Notifications You must be signed in to change notification settings

ljzengwenlian/SAG-DTA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAG-DTA

The code is the implementation for the paper 'SAG-DTA: Prediction of Drug–Target Affinity Using Self-Attention Graph Network'.

Requirements

python 3.6.7
pytorch 1.2.0
scipy 1.3.1
numpy 1.17.2
pandas 0.25.1
deepchem 2.2.1
pickle 0.7.5
rdkit 2019.03.4.0
sklearn 0.0.0

Data Download

Please download the data file (SAG_DTA_data.zip) from the following BaiduDisk link.

Download link: https://pan.baidu.com/s/1AHy6gcqW9H1lt6CrnN7DLw
Extraction code: zy2n

Uncompress the file to get a 'data' folder containing all the original data and processed data. Replace the original 'data' folder by this new folder.

Run the code

Run the 'predict_with_pretrained_model_BindingDB/Human' for a quick check of the results reported in the paper. Or if you want to train the network by yourself, run the 'training_validation_BindingDB/Human/Davis_KIBA'. The training process should be less than 1 hour.

Create a novel network

The network files for SAG-Global and SAG-Hierarchical structures are within the 'models' folder. If you wish to create a novel network by yourself, you can do so by adding new network file in this folder. Noted that there are also some other networks from the GraphDTA (see https://github.com/thinng/GraphDTA) for you references.

Create a new dataset

You might like to test the model on more DTA or CPI datasets. If this is the case, please add the data in the folder 'data' and process them to be suitable for PyTorch. Detailed processing scripts for converting original data formats to PyTorch formats have been uploaded for your references, e.g., prepare_data_Human.py, prepare_data_bindingDB.py.

Acknowledging this work

If you publish any work based on the contents of this repository please cite: Zhang, S.; Jiang, M.; Wang, S.; Wang, X.; Wei, Z.; Li, Z. SAG-DTA: Prediction of Drug–Target Affinity Using Self-Attention Graph Network. Int. J. Mol. Sci. 2021, 22, 8993. https://doi.org/10.3390/ijms22168993

About

The code for SAG-DTA: Prediction of Drug–Target Affinity Using Self-Attention Graph Network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%