schrodinger.rdkit_extensions module

schrodinger::rdkit_extensions C++ wrappers

class schrodinger.rdkit_extensions.Format(value)

Bases: enum.IntEnum

An enumeration.

AUTO_DETECT = 0
SMILES = 1
EXTENDED_SMILES = 2
SMARTS = 3
MAESTRO = 4
MDL_MOLV2000 = 5
MDL_MOLV3000 = 6
INCHI = 7
INCHI_KEY = 8
PDB = 9
RDMOL_BINARY_BASE64 = 10
XYZ = 11
HELM = 12
FASTA = 13
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)