29 #ifndef CDPL_GRAIL_GRAILDESCRIPTORCALCULATOR_HPP
30 #define CDPL_GRAIL_GRAILDESCRIPTORCALCULATOR_HPP
53 class GRAILDescriptorCalculatorImpl;
73 static constexpr std::size_t TOTAL_DESCRIPTOR_SIZE = 35;
78 static constexpr std::size_t LIGAND_DESCRIPTOR_SIZE = 13;
193 bool tgt_env_changed =
true);
214 void initCalculatorImpl();
216 typedef std::unique_ptr<GRAILDescriptorCalculatorImpl> ImplementationPointer;
218 ImplementationPointer impl;
Type declaration of a generic wrapper class for storing user-defined Chem::Atom 3D-coordinates functi...
Definition of the preprocessor macro CDPL_GRAIL_API.
#define CDPL_GRAIL_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of class CDPL::Math::VectorArray.
Definition of vector data types.
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
Calculation of GRAIL descriptors for protein-ligand complexes.
Definition: GRAILDescriptorCalculator.hpp:67
void calculate(const Math::Vector3DArray &atom_coords, Math::DVector &descr, bool update_lig_part=true)
Calculates the GRAIL descriptor for the current ligand pose.
void initLigandData(const Chem::MolecularGraph &ligand)
Initializes the calculator with the molecular graph of the ligand.
void initTargetData(const Chem::MolecularGraph &tgt_env, const Chem::Atom3DCoordinatesFunction &coords_func, bool tgt_env_changed=true)
Initializes the calculator with target-environment data for subsequent descriptor calculations.
GRAILDescriptorCalculator & operator=(const GRAILDescriptorCalculator &calc)
Copy assignment operator.
std::shared_ptr< GRAILDescriptorCalculator > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated GRAILDescriptorCalculator instanc...
Definition: GRAILDescriptorCalculator.hpp:83
GRAILDescriptorCalculator()
Constructs the GRAILDescriptorCalculator instance.
ElementIndex
Indices of the individual elements of the GRAIL descriptor vector.
Definition: GRAILDescriptorCalculator.hpp:89
@ ENV_HBA_OCC_SUM
Sum of HBA occupancy scores against the target environment.
Definition: GRAILDescriptorCalculator.hpp:118
@ XBD_COUNT
Halogen-bond donor feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:104
@ VDW_ENERGY_ATT
Attractive part of the Van der Waals interaction energy.
Definition: GRAILDescriptorCalculator.hpp:158
@ ROT_BOND_COUNT
Rotatable bond count (ligand).
Definition: GRAILDescriptorCalculator.hpp:110
@ XBD_XBA_SCORE_MAX
Maximum (ligand XBD → target XBA) interaction score.
Definition: GRAILDescriptorCalculator.hpp:152
@ AR_PI_SCORE_SUM
Sum of (ligand aromatic → target positive-ionizable) interaction scores.
Definition: GRAILDescriptorCalculator.hpp:130
@ HBA_HBD_SCORE_SUM
Sum of (ligand HBA → target HBD) interaction scores.
Definition: GRAILDescriptorCalculator.hpp:146
@ PI_COUNT
Positive-ionizable feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:92
@ ES_ENERGY_SQRD_DIST
Electrostatic interaction energy with squared atom-pair distance dependency.
Definition: GRAILDescriptorCalculator.hpp:156
@ TOTAL_HYD
Total computed hydrophobicity (ligand).
Definition: GRAILDescriptorCalculator.hpp:112
@ HBA_HBD_SCORE_MAX
Maximum (ligand HBA → target HBD) interaction score.
Definition: GRAILDescriptorCalculator.hpp:148
@ TPSA
Computed topological polar surface area (ligand).
Definition: GRAILDescriptorCalculator.hpp:116
@ H_H_SCORE_SUM
Sum of hydrophobic-hydrophobic interaction scores.
Definition: GRAILDescriptorCalculator.hpp:134
@ XBA_COUNT
Halogen-bond acceptor feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:106
@ ENV_HBD_OCC_MAX
Maximum HBD occupancy score against the target environment.
Definition: GRAILDescriptorCalculator.hpp:124
@ AR_COUNT
Aromatic feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:96
@ ES_ENERGY
Electrostatic interaction energy.
Definition: GRAILDescriptorCalculator.hpp:154
@ LOGP
Computed (ligand).
Definition: GRAILDescriptorCalculator.hpp:114
@ ENV_HBD_OCC_SUM
Sum of HBD occupancy scores against the target environment.
Definition: GRAILDescriptorCalculator.hpp:122
@ AR_AR_SCORE_MAX
Maximum aromatic-aromatic interaction score.
Definition: GRAILDescriptorCalculator.hpp:140
@ ENV_HBA_OCC_MAX
Maximum HBA occupancy score against the target environment.
Definition: GRAILDescriptorCalculator.hpp:120
@ HVY_ATOM_COUNT
Heavy atom count (ligand).
Definition: GRAILDescriptorCalculator.hpp:108
@ H_COUNT
Hydrophobic feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:98
@ XBD_XBA_SCORE_SUM
Sum of (ligand XBD → target XBA) interaction scores.
Definition: GRAILDescriptorCalculator.hpp:150
@ HBD_HBA_SCORE_SUM
Sum of (ligand HBD → target HBA) interaction scores.
Definition: GRAILDescriptorCalculator.hpp:142
@ H_H_SCORE_MAX
Maximum hydrophobic-hydrophobic interaction score.
Definition: GRAILDescriptorCalculator.hpp:136
@ HBD_COUNT
Hydrogen-bond donor feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:100
@ PI_AR_SCORE_MAX
Maximum (ligand positive-ionizable → target aromatic) interaction score.
Definition: GRAILDescriptorCalculator.hpp:128
@ HBA_COUNT
Hydrogen-bond acceptor feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:102
@ PI_AR_SCORE_SUM
Sum of (ligand positive-ionizable → target aromatic) interaction scores.
Definition: GRAILDescriptorCalculator.hpp:126
@ AR_PI_SCORE_MAX
Maximum (ligand aromatic → target positive-ionizable) interaction score.
Definition: GRAILDescriptorCalculator.hpp:132
@ HBD_HBA_SCORE_MAX
Maximum (ligand HBD → target HBA) interaction score.
Definition: GRAILDescriptorCalculator.hpp:144
@ AR_AR_SCORE_SUM
Sum of aromatic-aromatic interaction scores.
Definition: GRAILDescriptorCalculator.hpp:138
@ NI_COUNT
Negative-ionizable feature count (ligand).
Definition: GRAILDescriptorCalculator.hpp:94
~GRAILDescriptorCalculator()
Destructor.
GRAILDescriptorCalculator(const GRAILDescriptorCalculator &calc)
Constructs a copy of the GRAILDescriptorCalculator instance calc.
std::function< const Math::Vector3D &(const Chem::Atom &)> Atom3DCoordinatesFunction
Generic wrapper class used to store a user-defined Chem::Atom 3D-coordinates function.
Definition: Atom3DCoordinatesFunction.hpp:43
VectorArray< Vector3D > Vector3DArray
Array storing vectors of type Math::Vector3D.
Definition: VectorArray.hpp:85
The namespace of the Chemical Data Processing Library.