![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Decomposes a molecular graph into its Bemis-Murcko framework, ring systems, linkers and side chains. More...
#include <BemisMurckoAnalyzer.hpp>
Public Types | |
| typedef std::shared_ptr< BemisMurckoAnalyzer > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated BemisMurckoAnalyzer instances. More... | |
Public Member Functions | |
| BemisMurckoAnalyzer () | |
Constructs the BemisMurckoAnalyzer instance. More... | |
| void | stripHydrogens (bool strip) |
| Specifies whether hydrogen atoms shall be stripped from the input before the decomposition. More... | |
| bool | hydrogensStripped () const |
| Tells whether hydrogen atoms are stripped from the input before the decomposition. More... | |
| void | analyze (const MolecularGraph &molgraph) |
| Performs the Bemis-Murcko decomposition of the molecular graph molgraph. More... | |
| const FragmentList & | getRingSystems () const |
| Returns the perceived ring systems of the input molecular graph. More... | |
| const FragmentList & | getSideChains () const |
| Returns the side chains (acyclic substituents) of the input molecular graph. More... | |
| const FragmentList & | getLinkers () const |
| Returns the linker fragments connecting different ring systems of the input molecular graph. More... | |
| const FragmentList & | getFrameworks () const |
| Returns the Bemis-Murcko frameworks of the input molecular graph (union of ring systems and linkers). More... | |
Decomposes a molecular graph into its Bemis-Murcko framework, ring systems, linkers and side chains.
After calling analyze() the four constituent fragment sets can be queried separately via getRingSystems(), getLinkers(), getFrameworks() and getSideChains(). The framework of a molecule is the union of all ring systems together with the linker chains that connect them; side chains are the remaining acyclic substituents. Hydrogen atoms can optionally be stripped from the input.
| typedef std::shared_ptr<BemisMurckoAnalyzer> CDPL::Chem::BemisMurckoAnalyzer::SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated BemisMurckoAnalyzer instances.
| CDPL::Chem::BemisMurckoAnalyzer::BemisMurckoAnalyzer | ( | ) |
Constructs the BemisMurckoAnalyzer instance.
| void CDPL::Chem::BemisMurckoAnalyzer::stripHydrogens | ( | bool | strip | ) |
Specifies whether hydrogen atoms shall be stripped from the input before the decomposition.
| strip | If true, hydrogens are removed prior to analysis. |
| bool CDPL::Chem::BemisMurckoAnalyzer::hydrogensStripped | ( | ) | const |
Tells whether hydrogen atoms are stripped from the input before the decomposition.
true if hydrogens are stripped, and false otherwise. | void CDPL::Chem::BemisMurckoAnalyzer::analyze | ( | const MolecularGraph & | molgraph | ) |
Performs the Bemis-Murcko decomposition of the molecular graph molgraph.
After this call the four fragment sets produced by the decomposition are available via getRingSystems(), getLinkers(), getFrameworks() and getSideChains().
| molgraph | The molecular graph to decompose. |
| const FragmentList& CDPL::Chem::BemisMurckoAnalyzer::getRingSystems | ( | ) | const |
Returns the perceived ring systems of the input molecular graph.
const reference to the list of ring-system fragments. | const FragmentList& CDPL::Chem::BemisMurckoAnalyzer::getSideChains | ( | ) | const |
Returns the side chains (acyclic substituents) of the input molecular graph.
const reference to the list of side-chain fragments. | const FragmentList& CDPL::Chem::BemisMurckoAnalyzer::getLinkers | ( | ) | const |
Returns the linker fragments connecting different ring systems of the input molecular graph.
const reference to the list of linker fragments. | const FragmentList& CDPL::Chem::BemisMurckoAnalyzer::getFrameworks | ( | ) | const |
Returns the Bemis-Murcko frameworks of the input molecular graph (union of ring systems and linkers).
const reference to the list of framework fragments.