Skip to content
/ QBMG Public

QBMG: Quasi-Biogenic Molecule Generator with Deep Recurrent Network

License

Notifications You must be signed in to change notification settings

SYSU-RCDD/QBMG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QBMG: Quasi-Biogenic Molecule Generator with Deep Recurrent Network

Introduction

This is a PyTorch implementation of the paper: QBMG: quasi-biogenic molecule generator with deep recurrent neural network Graph abstract The user can (i) obtain a certain number of unbiased biogenic-like molecules and (ii) obtain a certain number of focused chemotype derivatives with transfer learning.We thank the previous work by the Olivecrona team.The code in this repository is inspired on REINVENT.

Usage

  • sample.py: script that is used to generate a certain number of molecules (both unbiased or certain chemotype biogenic-like molecules) with trained model.

    Example:sampling 1000 molecules from unbiased model and focused chemotype model respectively

   %run sample.py ./data/biogenic.ckpt 1000
   %run sample.py ./data/coumarin.ckpt 1000
  • transfer_learning.py: script that is used to train focused chemotype biogenic moleucles and obtain focused chemotype derivatives. The user can provide own focused chemotype molecules to generate new derivatives.

    Example:training a focused chemotype library

   %run transfer_learning.py ./data/coumarin.smi 

Requirments

This package requires:

  • Python 3.6
  • PyTorch 0.4.0
  • RDKit
  • tqdm
  • jupyter notebook

Contact

Welcome to contact us. http://www.rcdd.org.cn/home/

About

QBMG: Quasi-Biogenic Molecule Generator with Deep Recurrent Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages