Git Product home page Git Product logo

zerobind's Introduction

ZeroBind

This is the implementation of ZeroBind: A protein-specific zero-shot predictor with subgraph matching for drug-target interactions.

Installation

ZeroBind is built on Python3, we recommend using a virtual conda environment as enviroment management for the installation of ZeroBind and its dependencies. The virtual environment can be created as follows:

conda create -n your_environment python==3.9
conda activate your_environment

Download the source code of ZeroBind from GitHub:

git clone https://github.com/myprecioushh/ZeroBind.git

Install ZeroBind dependencies as following:

conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 cu102 -c pytorch
conda install pyg==2.3.0 -c pyg
conda install lightning==2.0.1 -c conda-forge or pip install lightning==2.0.1
conda install -c conda-forge rdkit
pip install graphein
pip install fair-esm

Train

Multiple hyperparameters can be selected in meta.py.

python metaentry.py  --batch_size=4  --num_workers=16 --num_inner_steps=5 --k_query=50

After model training starts, the progress bar will be automatically shown on your command line, and the trained model parameters will be saved in "checkpoints" dictory for every epoch.

Prediction

python metaentry.py  --test --num_workers=16 --k_query=50 --checkpoint_path="your_model_path"

After predicting with your well trained model, the predicting output will be saved in a "txt" file and the prediction metrics will be shown on your command line.

Online service and benchmark datasets

Online retrieval service and benchmark datasets are in (http://www.csbio.sjtu.edu.cn/bioinf/ZeroBind/).

License

This project is covered under the Apache 2.0 License.

zerobind's People

Contributors

myprecioushh avatar xypan1232 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.