Skip to content
/ liGAN Public
forked from mattragoza/LiGAN

Deep generative models of 3D grids for structure-based drug discovery

License

Notifications You must be signed in to change notification settings

bwingert/liGAN

 
 

Repository files navigation

liGAN

liGAN methods diagram

liGAN is a PyTorch project for structure-based drug discovery with deep generative models of atomic density grids.

Dependencies

  • numpy
  • pandas
  • scikit-image
  • torch
  • openbabel
  • rdkit
  • molgrid
  • gnina

NOTE: Please be aware that the current version of molgrid provided through pip/conda is incompatible with conda openbabel, and you will likely get segmentation faults if you install them both through conda.

A molgrid conda build recipe is in the works (see https://github.com/mattragoza/conda-molgrid), but for now you can use this environment to build libmolgrid from source.

Usage

Generating molecules

To generate molecules, you must first download the pretrained model weights:

sh download_weights.sh

Then just run the generate.py script with the default configuration file:

python3 generate.py config/generate.config

Training a model

To train a model from scratch, you must first download the full Crossdocked2020 data set:

sh download_data.sh

More info about this data set can be found here.

Then you can run the train.py script with the default configuration file:

python3 train.py config/train.config

Citation

Coming soon!

About

Deep generative models of 3D grids for structure-based drug discovery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%