16 #ifndef __RD_MOLSTANDARDIZE_H__ 17 #define __RD_MOLSTANDARDIZE_H__ 26 namespace MolStandardize {
42 std::string rdbase = std::getenv(
"RDBASE");
59 normalizations(rdbase +
"/Data/MolStandardize/normalizations.txt"),
60 acidbaseFile(rdbase +
"/Data/MolStandardize/acid_base_pairs.txt"),
61 fragmentFile(rdbase +
"/Data/MolStandardize/fragmentPatterns.txt"),
63 tautomerTransforms(rdbase +
64 "/Data/MolStandardize/tautomerTransforms.in"),
68 preferOrganic(false) {}
91 bool skip_standardize =
false);
107 bool skip_standardize =
false);
126 const std::string &smiles);
130 const std::string &smiles,
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.
RDKIT_MOLSTANDARDIZE_EXPORT void stereoParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
RWMol is a molecule class that is intended to be edited.
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * normalize(const RWMol *mol, const CleanupParameters ¶ms=defaultCleanupParameters)
Works the same as Normalizer().normalize(mol)
RDKIT_MOLSTANDARDIZE_EXPORT void tautomerParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
TODO not yet finished!
pulls in the core RDKit functionality
RDKIT_MOLSTANDARDIZE_EXPORT const CleanupParameters defaultCleanupParameters
RDKIT_MOLSTANDARDIZE_EXPORT std::string standardizeSmiles(const std::string &smiles)
Convenience function for quickly standardizing a single SMILES string.
RDKIT_MOLSTANDARDIZE_EXPORT void isotopeParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * cleanup(const RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)
The cleanup function is equivalent to the.
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * reionize(const RWMol *mol, const CleanupParameters ¶ms=defaultCleanupParameters)
Works the same as Reionizer().reionize(mol)
std::string tautomerTransforms
RDKIT_MOLSTANDARDIZE_EXPORT std::vector< std::string > enumerateTautomerSmiles(const std::string &smiles, const CleanupParameters ¶ms=defaultCleanupParameters)
TODO.
The CleanupParameters structure defines the default parameters for the.
std::string normalizations
RDKIT_MOLSTANDARDIZE_EXPORT RWMol * chargeParent(const RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters, bool skip_standardize=false)
#define RDKIT_MOLSTANDARDIZE_EXPORT
RDKIT_MOLSTANDARDIZE_EXPORT void superParent(RWMol &mol, const CleanupParameters ¶ms=defaultCleanupParameters)