schrodinger.application.scaffold_enumeration.markush module¶
-
schrodinger.application.scaffold_enumeration.markush.
place_rgroups
(mol, atom_indices_and_rgroups, appended_rgroups=None)[source]¶ Generator that yields realizations of
mol
with (some) atoms replaced by R-groups.- Parameters
mol (rdkit.Chem.Mol) – Molecule.
atom_indices_and_rgroups (list(int, rdkit.Chem.Mol)) – List of atom indices paired with corresponding R-groups.
appended_rgroups – List of appended rgroups so far.
rtype appended_rgroups: list(rdkit.Chem.Mol)
-
schrodinger.application.scaffold_enumeration.markush.
canonicalize_R_labels
(mol)[source]¶ Translates different conventions of R-group labelling into the RDKit “native” (AtomRLabel).
- Parameters
mol (rdkit.Chem.Mol) – Molecule.