schrodinger.rdkit_extensions module

schrodinger::rdkit_extensions C++ wrappers

class schrodinger.rdkit_extensions.Format(value)

Bases: enum.Enum

An enumeration.

AUTO_DETECT = 0
RDMOL_BINARY_BASE64 = 1
SMILES = 2
EXTENDED_SMILES = 3
SMARTS = 4
MDL_MOLV2000 = 5
MDL_MOLV3000 = 6
MAESTRO = 7
INCHI = 8
INCHI_KEY = 9
PDB = 10
XYZ = 11
HELM = 12
FASTA_PEPTIDE = 13
FASTA_DNA = 14
FASTA_RNA = 15
FASTA = 16
class schrodinger.rdkit_extensions.UseModernStereoPerception

Bases: object

A context manager that enables RDKit’s modern stereo perception algorithm

schrodinger.rdkit_extensions.get_mol_layers()

Wrapper function for RDKit’s RegistrationHash.GetMolLayers that enables the v2 tautomer hash.

We prefer this function over calling RDKit directly because this allows us to centralize the calls and make sure we always use the v2 hash, which has several improvement’s over v1, which is the default in RDKit. (e.g. deduplication of keto/enol tautomers; see SHARED-9769)