Chemical Data Processing Library C++ API - Version 1.4.0
Namespaces | Classes | Functions
CDPL::GRAIL Namespace Reference

Contains classes and functions related to the GRAIL method [GRAIL, GRADE]. More...

Namespaces

 AttributedGridProperty
 Provides keys for built-in Grid::AttributedGrid properties.
 
 AttributedGridPropertyDefault
 Provides default values for built-in Grid::AttributedGrid properties.
 
 FeatureType
 Provides constants for the specification of GRAIL-specific extended pharmacophore feature types that refine H-bond donor and acceptor categories by the chemical environment (atom element + SYBYL-like type) of the participating heavy atom.
 

Classes

class  AtomDensityGridCalculator
 Calculator that fills a spatial grid with combined per-atom density contributions. More...
 
class  BindingAffinityCalculator
 Predicts the binding affinity of a ligand pose from its GRAIL descriptor vector. More...
 
class  BuriednessGridCalculator
 Calculator that fills a spatial grid with per-cell buriedness scores derived from GRAIL::BuriednessScore. More...
 
class  BuriednessScore
 Functor for the calculation of the buriedness of a 3D query position with respect to the surrounding atoms. More...
 
class  FeatureInteractionScoreGridCalculator
 Calculator that fills a spatial grid with per-cell feature-interaction scores against a set of target pharmacophore features. More...
 
class  GeneralizedBellAtomDensity
 Functor for the evaluation of the generalized-bell atom density contribution of an atom at a query position. More...
 
class  GRAILDataSetGenerator
 Generator that pre-computes the per-cell interaction-score grids and the atom-density grid used by GRAIL scoring of ligand poses against a target environment. More...
 
class  GRAILDescriptorCalculator
 Calculation of GRAIL descriptors for protein-ligand complexes. More...
 
class  GRAILXDescriptorCalculator
 Calculation of the extended GRAIL-X descriptor for protein-ligand complexes. More...
 

Functions

CDPL_GRAIL_API unsigned int getFeatureType (const Grid::AttributedGrid &grid)
 Returns the value of the GRAIL::AttributedGridProperty::FEATURE_TYPE property of grid. More...
 
CDPL_GRAIL_API void setFeatureType (Grid::AttributedGrid &grid, unsigned int type)
 Sets the value of the GRAIL::AttributedGridProperty::FEATURE_TYPE property of grid. More...
 
CDPL_GRAIL_API void clearFeatureType (Grid::AttributedGrid &grid)
 Removes the GRAIL::AttributedGridProperty::FEATURE_TYPE property from grid. More...
 
CDPL_GRAIL_API bool hasFeatureType (const Grid::AttributedGrid &grid)
 Tells whether grid carries an explicit GRAIL::AttributedGridProperty::FEATURE_TYPE property. More...
 
CDPL_GRAIL_API unsigned int getTargetFeatureType (const Grid::AttributedGrid &grid)
 Returns the value of the GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property of grid. More...
 
CDPL_GRAIL_API void setTargetFeatureType (Grid::AttributedGrid &grid, unsigned int type)
 Sets the value of the GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property of grid. More...
 
CDPL_GRAIL_API void clearTargetFeatureType (Grid::AttributedGrid &grid)
 Removes the GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property from grid. More...
 
CDPL_GRAIL_API bool hasTargetFeatureType (const Grid::AttributedGrid &grid)
 Tells whether grid carries an explicit GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property. More...
 
CDPL_GRAIL_API unsigned int perceiveExtendedType (const Pharm::Feature &feature, bool lig_side)
 Perceives the GRAIL extended pharmacophore feature type (see namespace GRAIL::FeatureType) of the given Pharm::Feature instance. More...
 
CDPL_GRAIL_API void prepareForGRAILDescriptorCalculation (Chem::Molecule &mol, bool std_prot_state=false)
 Prepares a molecule for GRAIL descriptor calculation. More...
 

Detailed Description

Contains classes and functions related to the GRAIL method [GRAIL, GRADE].

Function Documentation

◆ getFeatureType()

CDPL_GRAIL_API unsigned int CDPL::GRAIL::getFeatureType ( const Grid::AttributedGrid grid)

Returns the value of the GRAIL::AttributedGridProperty::FEATURE_TYPE property of grid.

Parameters
gridThe grid whose feature type is requested.
Returns
The feature type value.

◆ setFeatureType()

CDPL_GRAIL_API void CDPL::GRAIL::setFeatureType ( Grid::AttributedGrid grid,
unsigned int  type 
)

Sets the value of the GRAIL::AttributedGridProperty::FEATURE_TYPE property of grid.

Parameters
gridThe grid whose feature type to set.
typeThe new feature type value.

◆ clearFeatureType()

CDPL_GRAIL_API void CDPL::GRAIL::clearFeatureType ( Grid::AttributedGrid grid)

Removes the GRAIL::AttributedGridProperty::FEATURE_TYPE property from grid.

Parameters
gridThe grid to clear the property from.

◆ hasFeatureType()

CDPL_GRAIL_API bool CDPL::GRAIL::hasFeatureType ( const Grid::AttributedGrid grid)

Tells whether grid carries an explicit GRAIL::AttributedGridProperty::FEATURE_TYPE property.

Parameters
gridThe grid to query.
Returns
true if the property is set on the grid, and false otherwise.

◆ getTargetFeatureType()

CDPL_GRAIL_API unsigned int CDPL::GRAIL::getTargetFeatureType ( const Grid::AttributedGrid grid)

Returns the value of the GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property of grid.

Parameters
gridThe grid whose target feature type is requested.
Returns
The target feature type value.

◆ setTargetFeatureType()

CDPL_GRAIL_API void CDPL::GRAIL::setTargetFeatureType ( Grid::AttributedGrid grid,
unsigned int  type 
)

Sets the value of the GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property of grid.

Parameters
gridThe grid whose target feature type to set.
typeThe new target feature type value.

◆ clearTargetFeatureType()

CDPL_GRAIL_API void CDPL::GRAIL::clearTargetFeatureType ( Grid::AttributedGrid grid)

Removes the GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property from grid.

Parameters
gridThe grid to clear the property from.

◆ hasTargetFeatureType()

CDPL_GRAIL_API bool CDPL::GRAIL::hasTargetFeatureType ( const Grid::AttributedGrid grid)

Tells whether grid carries an explicit GRAIL::AttributedGridProperty::TARGET_FEATURE_TYPE property.

Parameters
gridThe grid to query.
Returns
true if the property is set on the grid, and false otherwise.

◆ perceiveExtendedType()

CDPL_GRAIL_API unsigned int CDPL::GRAIL::perceiveExtendedType ( const Pharm::Feature feature,
bool  lig_side 
)

Perceives the GRAIL extended pharmacophore feature type (see namespace GRAIL::FeatureType) of the given Pharm::Feature instance.

Parameters
featureThe feature for which to perceive the extended type.
lig_sideIf true, the perception is performed assuming the feature is part of a ligand; otherwise it is assumed to be part of a target structure.
Returns
The perceived extended feature type.

◆ prepareForGRAILDescriptorCalculation()

CDPL_GRAIL_API void CDPL::GRAIL::prepareForGRAILDescriptorCalculation ( Chem::Molecule mol,
bool  std_prot_state = false 
)

Prepares a molecule for GRAIL descriptor calculation.

Performs the pre-processing steps (e.g. ring perception, atom typing, hydrogen handling) required by GRAIL::GRAILDescriptorCalculator on the molecular structure.

Parameters
molThe molecule to prepare. The molecule is modified in place.
std_prot_stateIf true, the standard protonation state of the molecule is assigned prior to the GRAIL-specific pre-processing.