Skip to content

slryou41/reaction-gcnn

Repository files navigation

Multi-Label Classification Models for the Prediction of Cross-Coupling Reaction Conditions

Code repository for Multilabel Classification Models for the Prediction of Cross-Coupling Reaction Conditions, Michael R. Maser*, Alexander Y. Cui*, Serim Ryou*, Travis J. DeLano, Yisong Yue, Sarah E. Reisman J. Chem. Inf. Model. 2021, 61, 156.

Including:

Graph Neural Networks for the Prediction of Substrate-Specific Organic Reaction Conditions

Chainer implementation of Graph Neural Networks for the Prediction of Substrate-Specific Organic Reaction Conditions, Serim Ryou*, Michael R. Maser*, Alexander Y. Cui*, Travis J. DeLano, Yisong Yue, Sarah E. Reisman, ICML 2020 Graph Representation Learning and Beyond (GRL+) Workshop. arXiv:2007.04275

Link to view jupyter notebooks on your browser

Binder

Requirements for GNN modeling

  1. Install chainer-chemistry
  2. Download the dataset by following the instruction from Reaxys®
  3. This code supports the label dictionary of suzuki, CN coupling, Negishi and PKR datasets.
  4. Training command (with gpu)
python train.py -m <METHOD> -e <NUM_EPOCHS> -o <OUTPUT_DIR> -g 0 --data-name <One from suzuki, CN, Negishi or PKR>

Example:

python train.py -m relgcn -e 50 -o relgcn_output -g 0 --data-name suzuki
  1. Testing command (with gpu)
python predict.py -m <METHOD> -i <DIR_WITH_MODEL> -g 0 --load-modelname <FILEPATH_TO_MODEL> --data-name <One from suzuki, CN, Negishi or PKR>

Example:

python predict.py -m relgcn -i relgcn_output -g 0 --load-modelname relgcn_output/model_epoch-1 --data-name suzuki
  1. Modify the path to the result directory in convert_to_evaluation_format.ipynb and generate json files.

About

Chainer implementation of Graph Neural Networks for the Prediction of Substrate-Specific Organic Reaction Conditions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published