GithubHelp home page GithubHelp logo

sbmolgen's Introduction

Structure-based de novo Molecular Generator (SBMolGen)

Supporting Information for the paper "Structure-Based de Novo Molecular Generator Combined with Artificial Intelligence and Docking Simulations".

In this study, we developed a new deep learning-based molecular generator, SBMolGen, that integrates a recurrent neural network, a Monte Carlo tree search, and docking simulations. The results of an evaluation using four target proteins (two kinases and two G protein-coupled receptors) showed that the generated molecules had a better binding affinity score (docking score) than the known active compounds, and they possessed a broader chemical space distribution. SBMolGen not only generates novel binding active molecules but also presents 3D docking poses with target proteins, which will be useful in subsequent drug design.

SBMolGen uses and modifies some ChemTS features. For more information on ChemTS, please see the paper of ChemTS.

Requirements

  1. Python>=3.7
  2. Keras (version 2.0.5) If you installed the newest version of keras, some errors will show up. Please change it back to keras 2.0.5 by pip install keras==2.0.5.
  3. tensoflow (version 1.15.2, ver>=2.0 occurred error.)
  4. rdkit
  5. rDock

How to use

  1. Get SBMolGen.
git clone https://github.com/clinfo/SBMolGen.git
cd SBMolGen

Set the system path, here is the example for bash.

export SBMolGen_PATH=/Path to SBMolGen/SBMolGen
export PATH=${SBMolGen_PATH}:${PATH}
export RBT_ROOT=/Path to rDock 
export LD_LIBRARY_PATH=${RBT_ROOT}/lib:${LD_LIBRARY_PATH}
  1. Train the RNN model.
cd train_RNN
python train_RNN.py train_RNN.yaml
  1. Make a setting file for molecule generate.

A sample of setting file.

setting.yaml

c_val: 1.0
loop_num_nodeExpansion: 1000
target: 'CDK2'
target_path: /home/apps/SBMolGen/example_ligand_design
hours: 1
score_target: 'SCORE.INTER'
docking_num: 10
base_rdock_score: -20
sa_threshold: 3.5
# rule5 1: weigth < 500 logp <5 donor < 5 acceptor < 10, 2: weigth < 300 logp <3 donor < 3 acceptor < 3 rotbonds <3
rule5: 1
radical_check: True
simulation_num: 3
hashimoto_filter: True
model_name: model
  1. Prepare the target file.

Refer to the rDock Tutorials for instructions on preparing the required files for docking.

  1. Molecule generate.
cd example_ligand_design
python ${SBMolGen_PATH}/sbmolgen.py setting.yaml

License

This package is distributed under the MIT License.

sbmolgen's People

Contributors

biao-ma avatar ktera1988 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.