Code Monkey home page Code Monkey logo

bicomp-dta's Introduction

BiComp-DTA

Drug-target binding affinity prediction through complementary biological-related and compression-based featurization approach

Data

We utilized four DTA datasets including Davis, Kiba, BindingDB, and PDBbind refine set. Davis and Kiba datasets were downloaded from here. BindingDB, and PDBbind datasets were downloaded from here, and here, respectively. It should be noted that you should register and login before downloading data files from the PDBbind repositories.
Each dataset folder includes binding affinity (i.e. Y), protein sequences (i.e. proteins.txt), drug SMILES (i.e. ligands_can.txt), and encoded protein sequences (i.e. protVecLZMA1 and protVecSW) files, and a folder includes the train and test folds settings (i.e. folds).

Requirements

Python
Tensorflow
Keras
Numpy

Usage

For training and evaluation of the method, you can run the following script.

python run_experiments.py --num_windows 128 32 \
                          --smi_window_lengths 4 8 16 \
                          --batch_size 704 \
                          --num_epoch 1000 \
                          --max_smi_len 85 \
                          --dataset_path 'data/davis/' \
                          --problem_type 1 \
                          --log_dir 'logs/' \

Cold-start

Under the constraints of cold-start, BiComp-DTA can only predict binding affinity from unseen protein, unseen drug and both of them.
To train protein cold-start change value of problem_type to 2, to train drug cold-start change value of problem_type to 3 and to train protein-drug cold-start change value of problem_type to 4. For example you can use the following script to train protein cold-start:

python run_experiments.py --num_windows 128 32 \
                          --smi_window_lengths 4 8 16 \
                          --batch_size 704 \
                          --num_epoch 1000 \
                          --max_smi_len 85 \
                          --dataset_path 'data/davis/' \
                          --problem_type 2 \
                          --log_dir 'logs/' \

Also, an alternative splitting setting in protein family level for the PDBbind dataset is considered. Drug-target pairs including HIV-1 protease variants are excluded from the training set and are considered for testing model.
For training and evaluation of the method, you can run the following script:

python run_experiments.py --num_windows 128 32 \
                          --smi_window_lengths 4 8 16 \
                          --batch_size 704 \
                          --num_epoch 500 \
                          --max_smi_len 200 \
                          --dataset_path 'data/pdb/' \
                          --problem_type 2 \
                          --log_dir 'logs/' \

bicomp-dta's People

Contributors

mahmood83 avatar mojtabaze7 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.