Giter VIP home page Giter VIP logo

d-gcan's Introduction

logo

Prediction of Drug-likeness using Graph Convolutional Attention Network.

-----------------------------------------------------------------------------------------------------------------

A deep learning method was developed to predict drug-likeness based on the graph convolutional attention network (D-GCAN) directly from molecular structures. The model combined the advantages of graph convolution and attention mechanism. D-GCAN is a promising tool to predict drug-likeness for selecting potential candidates and accelerating the process of drug discovery by excluding unpromising candidates and avoiding unnecessary biological and clinical testing.

ๅ›พ็‰‡

Motivation

The drug-likeness has been widely used as a criterion to distinguish drug-like molecules from non-drugs. Developing reliable computational methods to predict drug-likeness of candidate compounds is crucial to triage unpromising molecules and accelerate the drug discovery process.

Depends

Anaconda for python 3.8

conda install pytorch

conda install -c conda-forge rdkit

Discussion

The Discussion folder contains the scripts for evaluating the classification performance. We compared sevaral common methods widely used in drug-likeness prediction, such as GNN,RF, CNN,SVC,and GPC.

Usage

If you want to retrain the model, please put the molecule's SMILES files in to data directory and run D-GCAN. The test set can be replaced by changing the path. It is recommended to retrain the model before predicting. The process will take less than 15 minutes. It is as simple as

import train
test = train.train('../dataset/bRo5.txt',  
    radius = 1,         
    dim = 52,         
    layer_hidden = 4,  
    layer_output = 10, 
    dropout = 0.45,   
    batch_train = 8,   
    batch_test = 8,   
    lr =3e-4,          
    lr_decay = 0.85,   
    decay_interval = 25,
    iteration = 140,    
    N = 5000,           
    dataset_train='../dataset/data_train.txt') 

If you want to make the prediction of druglikeness of unknown molecule, it can be made as follow

import predict
test = predict.predict('../dataset/bRo5.txt',
    radius = 1,
    property = True,   #True if drug-likeness is known 
    dim = 52 ,
    layer_hidden = 4,
    layer_output = 10,
    dropout = 0.45,
    batch_train = 8,
    batch_test = 8,
    lr = 3e-4,
    lr_decay = 0.85,
    decay_interval = 25 ,
    iteration = 140,
    N = 5000)

or you can run run.py and modify the hyperparameters of the neural network to optimize the model .

The D-GCAN-screened GDB-13 database (S-GDB13) is a more drug-like database and can be used to find new drug candidates.

-Notice-

As described in paper, the prediction of drug-likeness was deeply influenced by the dataset, especially the negative set. If necessary, retrain the model on your dataset.

Contact

Jinyu Sun E-mail: [email protected]

Cite

@article{10.1093/bioinformatics/btac676,
author = {Sun, Jinyu and Wen, Ming and Wang, Huabei and Ruan, Yuezhe and Yang, Qiong and Kang, Xiao and Zhang, Hailiang and Zhang, Zhimin and Lu, Hongmei},
title = "{Prediction of Drug-likeness using Graph Convolutional Attention Network}",
journal = {Bioinformatics},
year = {2022},
month = {10}
}

d-gcan's People

Contributors

jinysun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.