pulls in the core RDKit functionality
The class for representing atoms.
int getAtomicNum() const
returns our atomic number
RWMol is a molecule class that is intended to be edited.
#define RDKIT_RGROUPDECOMPOSITION_EXPORT
RDKIT_RGROUPDECOMPOSITION_EXPORT const std::string RLABEL_CORE_INDEX
std::string labellingToString(Labelling type)
return the user friendly name for the given labelling
RDKIT_RGROUPDECOMPOSITION_EXPORT const std::string done
RDKIT_RGROUPDECOMPOSITION_EXPORT const std::string UNLABELED_CORE_ATTACHMENT
bool rdvalue_is(const RDValue_cast_t)
std::map< std::string, ROMOL_SPTR > RGroupRow
std::vector< ROMOL_SPTR > RGroupColumn
RDKIT_RGROUPDECOMPOSITION_EXPORT void relabelMappedDummies(ROMol &mol, unsigned int inputLabels=AtomMap|Isotope|MDLRGroup, unsigned int outputLabels=MDLRGroup)
bool isDummyRGroupAttachment(const Atom &atom)
bool setLabel(Atom *atom, int label, std::set< int > &labels, int &maxLabel, bool relabel, Labelling type)
void clearInputLabels(Atom *atom)
Remove the user labels from the atom.
std::map< std::string, RGroupColumn > RGroupColumns
bool isAtomWithMultipleNeighborsOrNotDummyRGroupAttachment(const Atom &atom)
RDKIT_RGROUPDECOMPOSITION_EXPORT const std::string RLABEL
bool hasDummy(const RWMol &core)
Returns true if the core has a dummy atom.
RDKIT_RGROUPDECOMPOSITION_EXPORT const std::string SIDECHAIN_RLABELS
RDKIT_RGROUPDECOMPOSITION_EXPORT std::string toJSON(const RGroupRow &rgr, const std::string &prefix="")
bool isAnyAtomWithMultipleNeighborsOrNotUserRLabel(const Atom &atom)
RDKIT_RGROUPDECOMPOSITION_EXPORT const std::string RLABEL_TYPE
const unsigned int EMPTY_CORE_LABEL
bool isUserRLabel(const Atom &atom)
Return true if the atom has a user-defined R group label.
std::vector< RGroupRow > RGroupRows
std::map< int, Atom * > getRlabels(const RWMol &mol)
Get the RLabels,atom mapping for the current molecule.