Giter Club home page Giter Club logo

electra-dta's Introduction

ELECTRA-DTA

In this github repository, you will see all the source code. However, the trained data is too big (total 85G). The entire trained data is in the dataset subfolder of the following url.

http://iilab.hit.edu.cn/dtadata/ElectraDTA/

dependency

conda environment

conda create -n ElectraDTA python=3.6
conda activate ElectraDTA

packages

pip install tensorflow-gpu==1.14
pip install keras==2.2.5
pip install rlscore sklearn tqdm

clone

git clone https://github.com/IILab-Resource/ELECTRA-DTA

Run scripts

python DTA-BindingDB-Ki.py: this script use the refined BindingDB dataset with average 12 layers electra embedding. python DTA-BindingDB-Full-average.py: this script use the original BindingDB dataset with average 12 layers electra embedding. python DTA-KIBA-Full.py : this script use the original BindingDB dataset with average 12 layers electra embedding.

for other dataset and embeddings, please change the dataset path in the python script files.
Change the dataset:

data_file = 'dataset/BindingDB-full-data.csv'

to

data_file = 'dataset/davis-full-data.csv'

change the embedding:

protein_seqs_emb  = load_dict('dataset/embedding256-12layers/atomwise_kiba-full_protein_maxlen1022_dim256-layer{}.pkl'.format(embedding_no))
smiles_seqs_emb = load_dict('dataset/embedding256-12layers/atomwise_kiba-full_smiles_maxlen100_dim256-layer{}.pkl'.format(embedding_no))

to

protein_seqs_emb  = load_dict('dataset/embedding256-12layers/atomwise_davis-full_protein_maxlen1022_dim256-layer{}.pkl'.format(embedding_no))
smiles_seqs_emb = load_dict('dataset/embedding256-12layers/atomwise_davis-full_smiles_maxlen100_dim256-layer{}.pkl'.format(embedding_no))

download dataset

cd ELECTRA-DTA
wget -np -nH --cut-dirs 2 -r -A .csv,.pkl http://iilab.hit.edu.cn/dtadata/ElectraDTA

electra-dta's People

Contributors

iilab-resource avatar chunyuw 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.