Giter VIP home page Giter VIP logo

bayesherg's Introduction

BayeshERG : A Bayesian Graph Neural Network for predicting hERG blockers

This repository is BayeshERG official repository. It contains the pytorch implementation of BayeshERG and trained model to predict arbitrary compounds. The implementation of BayehERG has referred to the official implementation of related studies [1-3].

The BayeshERG is developed with the python v3.6 and following packages:dgl, pytorch, and rdkit.

License

BayeshERG follows GPL 3.0v license. Therefore, BayeshERG is open source and free to use for everyone.

However, hERG blockers or structual information found by using BayeshERG follows CC-BY-NC-4.0. Thus, those compounds are freely available for academic purposes or individual research but restricted for commercial use.

Prerequsites

  • Anaconda

To avoid the package version issue, we open our code with Anaconda virtual environment. Therefore, the Anaconda should be installed in advance. https://www.anaconda.com/products/individual

Requirements

Input Format

Any .csv file with smiles column.

(Example)

ID smiles

Usage

Create conda virtual environment and install dependencies

Conda environment file 'environment.yml' is provided

$ conda env create --name BayeshERG --file=environment.yml

Activate the virtual environment

$ conda activate BayeshERG

Prediction

usage: $ python main.py [-i] input_csv_file_path 
                        [-o] output_file_name 
                        [-c] 'cpu' or 'gpu' (default 'cpu')
                        [-t] sampling time (integer, default 30)
  • Example
// With GPU
$ python main.py -i data/External/EX1.csv -o EX1_pred -c gpu -t 30

// With CPU
$ python main.py -i data/External/EX1.csv -o EX1_pred -c cpu -t 30

Output Format

The prediction results (Prediction score, Uncertainties) are appened to the input .csv file and saved to prediction_results directory as output_file_name.csv.

ID smiles score alea epis

Also, the attention images(.svg) are also depicted and saved to attention_results/output_file_name directory.

Contact

Hyunho Kim, [email protected]

Minsu Park, [email protected]

Hojung Nam (Corresponding Author), [email protected]

Reference

[1] Gal, Yarin, Jiri Hron, and Alex Kendall. "Concrete dropout." arXiv preprint arXiv:1705.07832 (2017).

[2] Scalia, Gabriele, et al. "Evaluating scalable uncertainty estimation methods for deep learning-based molecular property prediction." Journal of chemical information and modeling 60.6 (2020): 2697-2717.

[3] Yang, Kevin, et al. "Analyzing learned molecular representations for property prediction." Journal of chemical information and modeling 59.8 (2019): 3370-3388.


@ Last modified : 2022.11.18

bayesherg's People

Contributors

sunset222 avatar csbl-account 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.