R-Group Decomposition with RDKit

This section provides a tutorial example on R-Group decompositions using RGroupDecompose() function in RDKit library.

RDKit library also provides functionalities to perform R-Group decompositions.

r = rdkit.Chem.rdRGroupDecomposition.RGroupDecompose(cs, ms) - Decompose a collecion of molecules into their R-Groups according to given scaffolds. It returns two elements, a list of R-Group of matched molecules and a list of un-matched melecules.

The R-Group of a matched molecule is a dictionary of 'Core', 'R1', 'R2', ..., recording the matched the Core (Scaffold) and sidechains.

Here is a Jupyter Notebook example of performing a R-Group decomposition with just 2 molecules.

from rdkit import Chem
from rdkit.Chem import rdRGroupDecomposition
s = Chem.MolFromSmarts('*Nc1ccc(*)cc1')
ms = list(map(Chem.MolFromSmiles, ['CC(=O)Nc1ccc(O)cc1','CCNc1ccc(OC)cc1']))
gs, _ = rdRGroupDecomposition.RGroupDecompose([s], ms)
l = list(gs[0].values()) + [ms[0]] + list(gs[1].values()) + [ms[1]]
display(rdkit.Chem.Draw.MolsToGridImage(l, subImgSize=(180,180),
  molsPerRow=4))
Molecule R-Group Decomposition with RDKit
Molecule R-Group Decomposition with RDKit

Table of Contents

 About This Book

 SMILES (Simplified Molecular-Input Line-Entry System)

 Open Babel: The Open Source Chemistry Toolbox

 Using Open Babel Command: "obabel"

 Generating SVG Pictures with Open Babel

 Substructure Search with Open Babel

 Similarity Search with Open Babel

 Fingerprint Index for Fastsearch with Open Babel

 Stereochemistry with Open Babel

 Command Line Tools Provided by Open Babel

 RDKit: Open-Source Cheminformatics Software

 rdkit.Chem.rdchem - The Core Module

 rdkit.Chem.rdmolfiles - Molecular File Module

 rdkit.Chem.rdDepictor - Compute 2D Coordinates

 rdkit.Chem.Draw - Handle Molecule Images

 Molecule Substructure Search with RDKit

rdkit.Chem.rdmolops - Molecule Operations

 What Is rdkit.Chem.rdmolops Module

 Molecule Similarity Based on Fingerprints with RDKit

 Molecule Core and Sidechains Decomposition with RDKit

R-Group Decomposition with RDKit

 Daylight Fingerprint Generator in RDKit

 Morgan Fingerprint Generator in RDKit

 RDKit Performance on Substructure Search

 Introduction to Molecular Fingerprints

 OCSR (Optical Chemical Structure Recognition)

 AlphaFold - Protein Structure Prediction

 Resources and Tools

 Cheminformatics Related Terminologies

 References

 Full Version in PDF/EPUB