All Projects â†’ MinkaiXu â†’ CGCF-ConfGen

MinkaiXu / CGCF-ConfGen

Licence: other
🧪 Learning Neural Generative Dynamics for Molecular Conformation Generation (ICLR 2021)

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to CGCF-ConfGen

Ansible Role Bootstrap
Prepare your system to be managed by Ansible.
Stars: ✭ 106 (+158.54%)
Mutual labels:  molecule
icml-nips-iclr-dataset
Papers, authors and author affiliations from ICML, NeurIPS and ICLR 2006-2021
Stars: ✭ 21 (-48.78%)
Mutual labels:  iclr
chemprop
Fast and scalable uncertainty quantification for neural molecular property prediction, accelerated optimization, and guided virtual screening.
Stars: ✭ 75 (+82.93%)
Mutual labels:  molecule
Kekule.js
A Javascript cheminformatics toolkit.
Stars: ✭ 156 (+280.49%)
Mutual labels:  molecule
Avogadrio
Worship your favorite molecule by setting it as your wallpaper.
Stars: ✭ 239 (+482.93%)
Mutual labels:  molecule
MoleculeJS
A library for creating fast and reactive Custom Elements
Stars: ✭ 39 (-4.88%)
Mutual labels:  molecule
Ansible Telegraf
Installing and configuring Telegraf via Ansible for RedHat/Debian/Ubuntu/Windows/Suse.
Stars: ✭ 91 (+121.95%)
Mutual labels:  molecule
molecule-libvirt
Molecule LibVirt Provider
Stars: ✭ 35 (-14.63%)
Mutual labels:  molecule
ansible-snmp-exporter
Provision SNMP metrics exporter for prometheus monitoring
Stars: ✭ 18 (-56.1%)
Mutual labels:  molecule
development-environment
A development environment for Java, Python, Node.js and Go built using Vagrant
Stars: ✭ 50 (+21.95%)
Mutual labels:  molecule
Dgl Lifesci
Python package for graph neural networks in chemistry and biology
Stars: ✭ 194 (+373.17%)
Mutual labels:  molecule
Ansible Dockerswarm
Docker Engine clustering using "Swarm Mode" and Ansible
Stars: ✭ 226 (+451.22%)
Mutual labels:  molecule
MolDQN-pytorch
A PyTorch Implementation of "Optimization of Molecules via Deep Reinforcement Learning".
Stars: ✭ 58 (+41.46%)
Mutual labels:  molecule
Chemozart
Web-based 3D molecule editor and visualizer with molecular mechanics calculators.
Stars: ✭ 142 (+246.34%)
Mutual labels:  molecule
WhitenBlackBox
Towards Reverse-Engineering Black-Box Neural Networks, ICLR'18
Stars: ✭ 47 (+14.63%)
Mutual labels:  iclr
Ansible Alertmanager
Deploy Prometheus Alertmanager service
Stars: ✭ 93 (+126.83%)
Mutual labels:  molecule
class-norm
Class Normalization for Continual Zero-Shot Learning
Stars: ✭ 34 (-17.07%)
Mutual labels:  iclr2021
kospeech
Open-Source Toolkit for End-to-End Korean Automatic Speech Recognition leveraging PyTorch and Hydra.
Stars: ✭ 456 (+1012.2%)
Mutual labels:  conformer
ansible-role-fail2ban
Install and configure fail2ban on your system.
Stars: ✭ 42 (+2.44%)
Mutual labels:  molecule
cellblender
Create, Simulate, Visualize, and Analyze Realistic 3D Cell Models
Stars: ✭ 52 (+26.83%)
Mutual labels:  molecule

📢 News

[NEWS] Please check our latest work on molecular conformation generation, which has been accepted in ICML'2021 (Long Talk): Learning Gradient Fields for Molecular Conformation Generation. [Code]

ConfGF


CGCF for Conformation Generation

cover

[OpenReview] [arXiv] [Code]

This is the official code repository of our ICLR paper "Learning Neural Generative Dynamics for Molecular Conformation Generation" (2021).

Installation

Install via Conda (Recommended)

Step 1: Create a conda environment named CGCF from env.yml :

conda env create --file env.yml

Step 2: Install PyTorch Geometric :

conda activate CGCF
./install_torch_geometric.sh

Install Manually

# Create conda environment
conda create --name CGCF python=3.7

# Activate the environment
conda activate CGCF

# Install packages
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch
conda install rdkit==2020.03.3 -c rdkit
conda install tqdm networkx scipy scikit-learn h5py tensorboard -c conda-forge
pip install torchdiffeq==0.0.1

# Install PyTorch Geometric
pip install --no-index torch-scatter -f https://pytorch-geometric.com/whl/torch-1.6.0+cu101.html
pip install --no-index torch-sparse -f https://pytorch-geometric.com/whl/torch-1.6.0+cu101.html
pip install --no-index torch-cluster -f https://pytorch-geometric.com/whl/torch-1.6.0+cu101.html
pip install --no-index torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.6.0+cu101.html
pip install torch-geometric

Data

Official Datasets

The official datasets are available here.

Input Format / Make Your Own Datasets

The dataset file is a pickled Python list consisting of rdkit.Chem.rdchem.Mol objects. Each conformation is stored individually as a Mol object. For example, if a dataset contains 3 molecules, where the first molecule has 4 conformations, the second one and the third one have 5 and 6 conformations respectively, then the pickled Python list will contain 4+5+6 Mol objects in total.

Output Format

The output format is identical to the input format.

Usage

Generate Conformations

Example: generating 50 conformations for each molecule in the QM9 test-split with the pre-trained model.

python generate.py --ckpt ./pretrained/ckpt_qm9.pt --dataset ./data/qm9/test.pkl --num_samples 50 --out ./generated.pkl

More generation options can be found in generate.py.

Train

Example: training a model for QM9 molecules.

python train.py --train_dataset ./data/qm9/train.pkl --val_dataset ./data/qm9/val.pkl

More training options can be found in train.py.

Citation

Please consider citing our work if you find it helpful.

@inproceedings{
  xu2021learning,
  title={Learning Neural Generative Dynamics for Molecular Conformation Generation},
  author={Minkai Xu* and Shitong Luo* and Yoshua Bengio and Jian Peng and Jian Tang},
  booktitle={International Conference on Learning Representations},
  year={2021},
  url={https://openreview.net/forum?id=pAbm1qfheGk}
}

Contact

If you have any question, please contact me at [email protected] or [email protected].

Updates

  • Feb 4, 2021. Code is coming soon.
  • Feb 20, 2021. Code is released.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].