Pharm::FeatureGenerator implementation that perceives pharmacophore features by SMARTS-like substructure pattern matching, with separate include and exclude pattern lists.
More...
#include <PatternBasedFeatureGenerator.hpp>
Pharm::FeatureGenerator implementation that perceives pharmacophore features by SMARTS-like substructure pattern matching, with separate include and exclude pattern lists.
◆ SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated PatternBasedFeatureGenerator instances.
◆ AtomList
◆ PatternAtomLabelFlag
Role-flags assigned (via the atom-mapping-ID property) to atoms of feature substructure patterns added through addIncludePattern(). The flags are bit-OR-combinable so that a single pattern atom can act in several roles simultaneously.
| Enumerator |
|---|
| FEATURE_ATOM_FLAG | The atom is part of the generated feature's substructure.
|
| POS_REF_ATOM_FLAG | The atom contributes (via centroid averaging) to the feature's 3D position.
|
| GEOM_REF_ATOM1_FLAG | The atom defines the first orientation reference (used by both vector- and plane-type features).
|
| GEOM_REF_ATOM2_FLAG | The atom defines the second orientation reference (used by plane-type features).
|
◆ PatternBasedFeatureGenerator() [1/2]
| CDPL::Pharm::PatternBasedFeatureGenerator::PatternBasedFeatureGenerator |
( |
| ) |
|
Constructs the PatternBasedFeatureGenerator instance.
◆ PatternBasedFeatureGenerator() [2/2]
Constructs a copy of the PatternBasedFeatureGenerator instance gen.
- Parameters
-
| gen | The PatternBasedFeatureGenerator instance to copy. |
◆ ~PatternBasedFeatureGenerator()
| virtual CDPL::Pharm::PatternBasedFeatureGenerator::~PatternBasedFeatureGenerator |
( |
| ) |
|
|
virtual |
◆ addIncludePattern()
| void CDPL::Pharm::PatternBasedFeatureGenerator::addIncludePattern |
( |
const Chem::MolecularGraph::SharedPointer & |
molgraph, |
|
|
unsigned int |
type, |
|
|
double |
tol, |
|
|
unsigned int |
geom, |
|
|
double |
length = 1.0 |
|
) |
| |
Appends a new feature substructure include pattern to the current set of patterns.
- Parameters
-
| molgraph | The molecular graph of the feature substructure search pattern. |
| type | The value of the type property of the feature. |
| tol | The value of the tolerance property of the feature. |
| geom | The value of the geometry property of the feature. |
| length | The value of the length property of vector features. |
◆ addExcludePattern()
Appends a new feature substructure exclude pattern to the current set of patterns.
- Parameters
-
| molgraph | The molecular graph of the feature substructure exclude pattern. |
◆ clearIncludePatterns()
| void CDPL::Pharm::PatternBasedFeatureGenerator::clearIncludePatterns |
( |
| ) |
|
Clears the current set of include patterns.
◆ clearExcludePatterns()
| void CDPL::Pharm::PatternBasedFeatureGenerator::clearExcludePatterns |
( |
| ) |
|
Clears the current set of exclude patterns.
◆ generate()
Perceives pharmacophore features according to the specified include/exclude patterns and adds them to the pharmacophore pharm.
- Parameters
-
| molgraph | The molecular graph for which to perceive the features. |
| pharm | The output pharmacophore where to add the generated features. |
Implements CDPL::Pharm::FeatureGenerator.
◆ operator=()
Replaces the current set include/exclude patterns by the patterns in the PatternBasedFeatureGenerator instance gen.
- Parameters
-
| gen | The PatternBasedFeatureGenerator instance providing the new patterns to use. |
- Returns
- A reference to itself.
◆ clone()
Creates a deep copy of the PatternBasedFeatureGenerator instance.
- Returns
- A smart pointer to the cloned feature generator.
Implements CDPL::Pharm::FeatureGenerator.
◆ calcVecFeatureOrientation()
◆ calcPlaneFeatureOrientation()
◆ calcCentroid()
◆ addNonPatternFeatures()
◆ isContainedInIncMatchList()
| bool CDPL::Pharm::PatternBasedFeatureGenerator::isContainedInIncMatchList |
( |
const Util::BitSet & |
| ) |
const |
|
protected |
◆ isContainedInExMatchList()
| bool CDPL::Pharm::PatternBasedFeatureGenerator::isContainedInExMatchList |
( |
const Util::BitSet & |
| ) |
const |
|
protected |
The documentation for this class was generated from the following file: