RDKit
Open-source cheminformatics and machine learning.
|
RGroupMatch is the decomposition for a single molecule. More...
#include <RGroupMatch.h>
Public Member Functions | |
RGroupMatch (size_t core_index, size_t numberMissingUserRGroups, R_DECOMP input_rgroups, RWMOL_SPTR matchedCore) | |
std::string | toString () const |
void | setTargetMoleculeForHighlights (const RWMOL_SPTR &targetMol) |
RWMOL_SPTR | getTargetMoleculeForHighlights (bool trimHs) |
Public Attributes | |
size_t | core_idx |
size_t | numberMissingUserRGroups |
R_DECOMP | rgroups |
RWMOL_SPTR | matchedCore |
RGroupMatch is the decomposition for a single molecule.
Definition at line 19 of file RGroupMatch.h.
|
inline |
Definition at line 26 of file RGroupMatch.h.
|
inline |
Get the target molecule to be used for highlighting R groups
trimHs | whether explicit hydrogens should be removed, except for those corresponding to R groups (if any) |
Definition at line 57 of file RGroupMatch.h.
References RDKit::common_properties::_rgroupTargetAtoms, RDKit::common_properties::_rgroupTargetBonds, RDKit::rdvalue_is(), RDKit::MolOps::removeHs(), RDKit::MolOps::RemoveHsParameters::removeMapped, and rgroups.
|
inline |
Set the target molecule to be used for highlighting R groups
targetMol | the target molecule |
Definition at line 48 of file RGroupMatch.h.
References RDKit::rdvalue_is().
|
inline |
Definition at line 33 of file RGroupMatch.h.
References core_idx, numberMissingUserRGroups, RDKit::rdvalue_is(), and rgroups.
size_t RDKit::RGroupMatch::core_idx |
Definition at line 21 of file RGroupMatch.h.
Referenced by toString().
RWMOL_SPTR RDKit::RGroupMatch::matchedCore |
Definition at line 24 of file RGroupMatch.h.
size_t RDKit::RGroupMatch::numberMissingUserRGroups |
Definition at line 22 of file RGroupMatch.h.
Referenced by toString().
R_DECOMP RDKit::RGroupMatch::rgroups |
Definition at line 23 of file RGroupMatch.h.
Referenced by getTargetMoleculeForHighlights(), and toString().