 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
16 #ifndef __RD_MOLSTANDARDIZE_H__
17 #define __RD_MOLSTANDARDIZE_H__
26 namespace MolStandardize {
43 const char *rdbase_cstr = std::getenv(
"RDBASE");
46 std::string rdbase = rdbase_cstr !=
nullptr ? rdbase_cstr :
"";
65 normalizations(rdbase +
"/Data/MolStandardize/normalizations.txt"),
66 acidbaseFile(rdbase +
"/Data/MolStandardize/acid_base_pairs.txt"),
67 fragmentFile(rdbase +
"/Data/MolStandardize/fragmentPatterns.txt"),
69 tautomerTransforms(rdbase +
70 "/Data/MolStandardize/tautomerTransforms.in"),
98 bool skip_standardize =
false);
114 bool skip_standardize =
false);
133 const std::string &smiles);
137 const std::string &smiles,
RDKIT_MOLSTANDARDIZE_EXPORT std::vector< std::string > enumerateTautomerSmiles(const std::string &smiles, const CleanupParameters ¶ms=defaultCleanupParameters)
TODO.
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * fragmentParent(const RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters, bool skip_standardize=false)
Returns the fragment parent of a given molecule. The fragment parent is the.
RWMol is a molecule class that is intended to be edited.
RDKIT_MOLSTANDARDIZE_EXPORT void stereoParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
RDKIT_MOLSTANDARDIZE_EXPORT std::string standardizeSmiles(const std::string &smiles)
Convenience function for quickly standardizing a single SMILES string.
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * chargeParent(const RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters, bool skip_standardize=false)
RDKIT_MOLSTANDARDIZE_EXPORT void isotopeParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
RDKIT_MOLSTANDARDIZE_EXPORT void superParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
pulls in the core RDKit functionality
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * cleanup(const RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
The cleanup function is equivalent to the.
std::string normalizations
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * normalize(const RWMol *mol, const CleanupParameters ¶ms=defaultCleanupParameters)
Works the same as Normalizer().normalize(mol)
The CleanupParameters structure defines the default parameters for the.
RDKIT_MOLSTANDARDIZE_EXPORT void tautomerParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
TODO not yet finished!
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * reionize(const RWMol *mol, const CleanupParameters ¶ms=defaultCleanupParameters)
Works the same as Reionizer().reionize(mol)
std::string tautomerTransforms
#define RDKIT_MOLSTANDARDIZE_EXPORT
const RDKIT_MOLSTANDARDIZE_EXPORT CleanupParameters defaultCleanupParameters