schrodinger.rdkit_extensions module¶
schrodinger::rdkit_extensions C++ wrappers
- class schrodinger.rdkit_extensions.Format(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
enum.Enum
- 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¶
- schrodinger.rdkit_extensions.UseModernStereoPerception()¶
- schrodinger.rdkit_extensions.get_mol_layers(original_molecule: rdkit.Chem.rdchem.Mol, data_field_names: Optional[Iterable] = None) {<HashLayer.ESCAPE: 2>, <HashLayer.SGROUP_DATA: 6>, <HashLayer.TAUTOMER_HASH: 7>, <HashLayer.FORMULA: 3>, <HashLayer.NO_STEREO_TAUTOMER_HASH: 5>, <HashLayer.CANONICAL_SMILES: 1>, <HashLayer.NO_STEREO_SMILES: 4>} ¶
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)