Chemical Data Processing Library C++ API - Version 1.0.0
GRAILDescriptorCalculator.hpp
Go to the documentation of this file.
1 /*
2  * GRAILDescriptorCalculator.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_GRAIL_GRAILDESCRIPTORCALCULATOR_HPP
30 #define CDPL_GRAIL_GRAILDESCRIPTORCALCULATOR_HPP
31 
32 #include <vector>
33 #include <utility>
34 #include <cstddef>
35 #include <memory>
36 
37 #include "CDPL/GRAIL/APIPrefix.hpp"
43 #include "CDPL/Math/Vector.hpp"
44 
45 
46 namespace CDPL
47 {
48 
49  namespace Internal
50  {
51 
52  template <typename PT, typename CT, typename ST>
53  class Octree;
54  }
55 
56  namespace GRAIL
57  {
58 
64  {
65 
66  public:
67  static constexpr std::size_t TOTAL_DESCRIPTOR_SIZE = 177;
68  static constexpr std::size_t LIGAND_DESCRIPTOR_SIZE = 31;
69 
70  typedef std::shared_ptr<GRAILDescriptorCalculator> SharedPointer;
71 
73  {
74 
251  VDW_ENERGY_REP
252  };
253 
255 
257 
259 
260  void initTargetData(const Chem::MolecularGraph& tgt_env, const Chem::Atom3DCoordinatesFunction& coords_func,
261  bool tgt_env_changed = true);
262 
264 
265  void calculate(const Math::Vector3DArray& atom_coords, Math::DVector& descr, bool update_lig_part = true);
266 
267  private:
268  void calcLigFtrCoordinates(const Math::Vector3DArray::StorageType& atom_coords);
269 
270  void calcTgtEnvHBAHBDOccupations(const Math::Vector3DArray::StorageType& atom_coords,
271  Math::DVector& descr, std::size_t& idx);
272  void calcTgtEnvHBAHBDOccupation(const Math::Vector3DArray::StorageType& atom_coords,
273  Math::DVector& descr, unsigned int tgt_ftr_type, bool is_hba_type,
274  std::size_t& idx);
275 
276  void calcFeatureInteractionScores(Math::DVector& descr, std::size_t& idx);
277 
278  void calcElectrostaticInteractionEnergy(const Math::Vector3DArray::StorageType& atom_coords,
279  Math::DVector& descr, std::size_t& idx);
280 
281  void calcVdWInteractionEnergy(const Math::Vector3DArray::StorageType& atom_coords,
282  Math::DVector& descr, std::size_t idx);
283 
284  typedef std::vector<std::size_t> IndexList;
285  typedef std::vector<const Pharm::Feature*> FeatureList;
286  typedef std::vector<double> DoubleArray;
287  typedef std::vector<IndexList> IndexListArray;
288  typedef std::vector<Math::Vector3D> FastVector3DArray;
289  typedef Internal::Octree<Math::Vector3D, FastVector3DArray, double> Octree;
290  typedef std::shared_ptr<Octree> OctreePtr;
291 
292  struct FeatureSubset
293  {
294 
295  FeatureList features;
296  OctreePtr octree;
297  FastVector3DArray ftrCoords;
298  };
299 
300  struct TargetAtomCoordsFunc
301  {
302 
303  TargetAtomCoordsFunc(const Chem::MolecularGraph& tgt_env, const FastVector3DArray& coords):
304  tgtEnv(&tgt_env), coords(&coords) {}
305 
306  const Math::Vector3D& operator()(const Chem::Atom& atom) const;
307 
308  const Chem::MolecularGraph* tgtEnv;
309  const FastVector3DArray* coords;
310  };
311 
312  typedef std::vector<FeatureSubset> FeatureSubsetList;
313  typedef std::pair<double, double> DoublePair;
314  typedef std::vector<DoublePair> DoublePairArray;
315 
316  void getVdWParameters(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, DoublePair& params) const;
317  bool isPolarHydrogen(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph) const;
318 
319  void initPharmGenerators();
320 
321  void copyTgtFtrSubsets(const FeatureSubsetList& ftr_ss_list);
322 
323  Pharm::DefaultPharmacophoreGenerator tgtPharmGenerator;
324  Pharm::BasicPharmacophore tgtPharmacophore;
325  DoubleArray tgtAtomCharges;
326  DoublePairArray tgtAtomVdWParams;
327  FastVector3DArray tgtAtomCoords;
328  OctreePtr tgtAtomOctree;
329  FeatureSubsetList tgtFtrSubsets;
330  Pharm::DefaultPharmacophoreGenerator ligPharmGenerator;
331  Pharm::BasicPharmacophore ligPharmacophore;
332  DoubleArray ligAtomCharges;
333  DoublePairArray ligAtomVdWParams;
334  IndexList ligHeavyAtoms;
335  IndexListArray ligFtrSubsets;
336  IndexListArray ligFtrAtoms;
337  DoubleArray ligFtrWeights;
338  FastVector3DArray ligFtrCoords;
339  MolProp::TPSACalculator ligTPSACalculator;
340  double ligDescriptor[LIGAND_DESCRIPTOR_SIZE];
341  std::size_t numLigAtoms;
342  IndexList tmpIndexList;
343  };
344  } // namespace GRAIL
345 } // namespace CDPL
346 
347 #endif // CDPL_GRAIL_GRAILDESCRIPTORCALCULATOR_HPP
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_COUNT
@ HBA_Oco2_COUNT
Definition: GRAILDescriptorCalculator.hpp:98
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_HBA_O_SCORE_SUM
@ HBD_N2_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:140
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_HBD_N_SCORE_MAX
@ HBA_N2_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:193
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_COUNT
@ HBD_S3_COUNT
Definition: GRAILDescriptorCalculator.hpp:90
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBD_S_OCC_SUM
@ ENV_HBD_S_OCC_SUM
Definition: GRAILDescriptorCalculator.hpp:116
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_HBD_O_SCORE_MAX
@ HBA_N3_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:189
CDPL::Math::Vector< double >
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_HBA_S_SCORE_MAX
@ HBD_Nam_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:155
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_HBD_S_SCORE_MAX
@ HBA_Nar_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:209
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_HBD_N_SCORE_MAX
@ HBA_O3_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:217
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_HBD_O_SCORE_MAX
@ HBA_N1_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:201
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_HBA_S_SCORE_SUM
@ HBD_N2_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:142
CDPL::GRAIL::GRAILDescriptorCalculator::XBD_XBA_SCORE_SUM
@ XBD_XBA_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:246
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_HBA_O_SCORE_SUM
@ HBD_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:128
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_HBA_N_SCORE_MAX
@ HBD_N3_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:133
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_HBD_N_SCORE_SUM
@ HBA_N3_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:186
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_HBA_N_SCORE_SUM
@ HBD_O3_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:168
VectorArray.hpp
Definition of the class CDPL::Math::VectorArray.
CDPL::GRAIL::GRAILDescriptorCalculator::H_H_SCORE_SUM
@ H_H_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:122
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_HBA_N_SCORE_SUM
@ HBD_Nar_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:144
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_HBD_S_SCORE_SUM
@ HBA_Oco2_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:232
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_HBA_N_SCORE_SUM
@ HBD_N4_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:162
CDPL::GRAIL::GRAILDescriptorCalculator::GRAILDescriptorCalculator
GRAILDescriptorCalculator(const GRAILDescriptorCalculator &calc)
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_HBA_O_SCORE_SUM
@ HBD_N3_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:134
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_HBD_S_SCORE_SUM
@ HBA_O2_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:226
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_HBD_O_SCORE_SUM
@ HBA_S2_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:242
CDPL::GRAIL::GRAILDescriptorCalculator::HVY_ATOM_COUNT
@ HVY_ATOM_COUNT
Definition: GRAILDescriptorCalculator.hpp:101
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_HBD_N_SCORE_SUM
@ HBA_S2_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:240
CDPL::GRAIL::GRAILDescriptorCalculator::GRAILDescriptorCalculator
GRAILDescriptorCalculator()
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_COUNT
@ HBA_Nar_COUNT
Definition: GRAILDescriptorCalculator.hpp:94
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_COUNT
@ HBD_Nar_COUNT
Definition: GRAILDescriptorCalculator.hpp:85
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_HBA_N_SCORE_SUM
@ HBD_Nam_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:150
CDPL::GRAIL::GRAILDescriptorCalculator::calculate
void calculate(const Math::Vector3DArray &atom_coords, Math::DVector &descr, bool update_lig_part=true)
CDPL::Math::Vector3D
CVector< double, 3 > Vector3D
A bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:1637
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_HBA_O_SCORE_MAX
@ HBD_O3_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:171
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_HBA_N_SCORE_MAX
@ HBD_N2_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:139
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_HBD_S_SCORE_MAX
@ HBA_O3_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:221
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_HBA_S_SCORE_SUM
@ HBD_Nam_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:154
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_HBD_O_SCORE_MAX
@ HBA_S2_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:243
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_HBD_O_SCORE_SUM
@ HBA_O3_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:218
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_HBD_N_SCORE_SUM
@ HBA_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:180
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_COUNT
@ HBA_S3_COUNT
Definition: GRAILDescriptorCalculator.hpp:99
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_HBD_O_SCORE_MAX
@ HBA_O2_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:225
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_HBA_O_SCORE_MAX
@ HBD_Npl3_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:159
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_HBA_N_SCORE_SUM
@ HBD_N2_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:138
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_COUNT
@ HBD_O3_COUNT
Definition: GRAILDescriptorCalculator.hpp:89
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_COUNT
@ HBA_N3_COUNT
Definition: GRAILDescriptorCalculator.hpp:91
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_COUNT
@ HBA_O2_COUNT
Definition: GRAILDescriptorCalculator.hpp:97
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_HBA_N_SCORE_SUM
@ HBD_S3_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:174
CDPL::Chem::Atom
Atom.
Definition: Atom.hpp:52
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_HBD_S_SCORE_MAX
@ HBA_O2_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:227
BasicPharmacophore.hpp
Definition of the class CDPL::Pharm::BasicPharmacophore.
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBA_O_OCC_SUM
@ ENV_HBA_O_OCC_SUM
Definition: GRAILDescriptorCalculator.hpp:108
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_HBD_S_SCORE_SUM
@ HBA_Npl3_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:214
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_HBD_N_SCORE_MAX
@ HBA_Oco2_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:229
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_HBA_N_SCORE_MAX
@ HBD_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:127
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_HBA_S_SCORE_SUM
@ HBD_O3_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:172
CDPL::GRAIL::GRAILDescriptorCalculator::VDW_ENERGY_ATT
@ VDW_ENERGY_ATT
Definition: GRAILDescriptorCalculator.hpp:250
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_HBD_N_SCORE_MAX
@ HBA_O2_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:223
CDPL::GRAIL::GRAILDescriptorCalculator::XBD_XBA_SCORE_MAX
@ XBD_XBA_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:247
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_HBA_S_SCORE_SUM
@ HBD_N3_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:136
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_HBD_N_SCORE_SUM
@ HBA_Oco2_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:228
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_HBD_O_SCORE_MAX
@ HBA_O3_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:219
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_HBD_N_SCORE_SUM
@ HBA_S3_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:234
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_HBD_O_SCORE_MAX
@ HBA_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:183
CDPL::GRAIL::GRAILDescriptorCalculator::AR_PI_SCORE_MAX
@ AR_PI_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:121
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_HBD_O_SCORE_SUM
@ HBA_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:182
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_HBA_O_SCORE_MAX
@ HBD_N2_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:141
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBD_N_OCC_SUM
@ ENV_HBD_N_OCC_SUM
Definition: GRAILDescriptorCalculator.hpp:112
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_HBA_S_SCORE_SUM
@ HBD_S3_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:178
VectorArray< Vector3D >
CDPL::Chem::MolecularGraph
MolecularGraph.
Definition: MolecularGraph.hpp:52
CDPL::GRAIL::GRAILDescriptorCalculator::initLigandData
void initLigandData(const Chem::MolecularGraph &ligand)
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_COUNT
@ HBA_COUNT
Definition: GRAILDescriptorCalculator.hpp:80
Atom3DCoordinatesFunction.hpp
Type definition of a generic wrapper class for storing user-defined Chem::Atom 3D-coordinates functio...
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_HBD_S_SCORE_SUM
@ HBA_O3_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:220
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_HBD_S_SCORE_MAX
@ HBA_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:185
CDPL::GRAIL::GRAILDescriptorCalculator::TOTAL_HYD
@ TOTAL_HYD
Definition: GRAILDescriptorCalculator.hpp:103
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_HBD_O_SCORE_SUM
@ HBA_N1_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:200
TPSACalculator.hpp
Definition of the class CDPL::MolProp::TPSACalculator.
CDPL::GRAIL::GRAILDescriptorCalculator::NI_COUNT
@ NI_COUNT
Definition: GRAILDescriptorCalculator.hpp:76
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_HBD_N_SCORE_SUM
@ HBA_Nar_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:204
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_HBD_S_SCORE_SUM
@ HBA_N3_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:190
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_HBD_O_SCORE_MAX
@ HBA_N2_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:195
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_HBD_O_SCORE_SUM
@ HBA_O2_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:224
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_HBD_S_SCORE_SUM
@ HBA_S3_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:238
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBD_S_OCC_MAX
@ ENV_HBD_S_OCC_MAX
Definition: GRAILDescriptorCalculator.hpp:117
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_HBD_O_SCORE_MAX
@ HBA_S3_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:237
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_COUNT
@ HBA_S2_COUNT
Definition: GRAILDescriptorCalculator.hpp:100
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_HBD_S_SCORE_MAX
@ HBA_S3_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:239
CDPL::GRAIL::GRAILDescriptorCalculator::SharedPointer
std::shared_ptr< GRAILDescriptorCalculator > SharedPointer
Definition: GRAILDescriptorCalculator.hpp:70
CDPL::GRAIL::GRAILDescriptorCalculator::LOGP
@ LOGP
Definition: GRAILDescriptorCalculator.hpp:104
CDPL::GRAIL::GRAILDescriptorCalculator::H_COUNT
@ H_COUNT
Definition: GRAILDescriptorCalculator.hpp:78
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_HBA_S_SCORE_MAX
@ HBD_S3_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:179
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_HBA_O_SCORE_MAX
@ HBD_Nam_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:153
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_HBA_S_SCORE_MAX
@ HBD_Nar_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:149
CDPL::GRAIL::GRAILDescriptorCalculator::initTargetData
void initTargetData(const Chem::MolecularGraph &tgt_env, const Chem::Atom3DCoordinatesFunction &coords_func, bool tgt_env_changed=true)
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBA_O_OCC_MAX
@ ENV_HBA_O_OCC_MAX
Definition: GRAILDescriptorCalculator.hpp:109
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_HBA_O_SCORE_MAX
@ HBD_Nar_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:147
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_HBD_N_SCORE_MAX
@ HBA_Nar_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:205
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_HBA_O_SCORE_SUM
@ HBD_S3_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:176
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_HBA_N_SCORE_MAX
@ HBD_S3_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:175
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_HBA_O_SCORE_MAX
@ HBD_N3_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:135
CDPL::GRAIL::GRAILDescriptorCalculator::AR_PI_SCORE_SUM
@ AR_PI_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:120
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_COUNT
@ HBA_N1_COUNT
Definition: GRAILDescriptorCalculator.hpp:93
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_HBD_O_SCORE_SUM
@ HBA_N3_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:188
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_HBA_S_SCORE_SUM
@ HBD_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:130
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_HBD_O_SCORE_SUM
@ HBA_N2_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:194
CDPL::GRAIL::GRAILDescriptorCalculator::XBA_COUNT
@ XBA_COUNT
Definition: GRAILDescriptorCalculator.hpp:82
CDPL::GRAIL::GRAILDescriptorCalculator::AR_AR_SCORE_MAX
@ AR_AR_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:125
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBA_S_OCC_MAX
@ ENV_HBA_S_OCC_MAX
Definition: GRAILDescriptorCalculator.hpp:111
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_HBA_O_SCORE_SUM
@ HBD_O3_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:170
APIPrefix.hpp
Definition of the preprocessor macro CDPL_GRAIL_API.
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_COUNT
@ HBA_N2_COUNT
Definition: GRAILDescriptorCalculator.hpp:92
CDPL::GRAIL::GRAILDescriptorCalculator::ElementIndex
ElementIndex
Definition: GRAILDescriptorCalculator.hpp:73
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_HBA_O_SCORE_SUM
@ HBD_Nar_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:146
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_HBD_S_SCORE_MAX
@ HBA_Npl3_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:215
CDPL::GRAIL::GRAILDescriptorCalculator::PI_AR_SCORE_MAX
@ PI_AR_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:119
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_COUNT
@ HBD_N2_COUNT
Definition: GRAILDescriptorCalculator.hpp:84
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_HBD_O_SCORE_MAX
@ HBA_Npl3_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:213
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBA_N_OCC_SUM
@ ENV_HBA_N_OCC_SUM
Definition: GRAILDescriptorCalculator.hpp:106
CDPL::Chem::Atom3DCoordinatesFunction
std::function< const Math::Vector3D &(const Chem::Atom &)> Atom3DCoordinatesFunction
A generic wrapper class used to store a user-defined Chem::Atom 3D-coordinates function.
Definition: Atom3DCoordinatesFunction.hpp:43
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_HBA_S_SCORE_MAX
@ HBD_Npl3_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:161
CDPL::GRAIL::GRAILDescriptorCalculator
GRAILDescriptorCalculator.
Definition: GRAILDescriptorCalculator.hpp:64
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_HBD_S_SCORE_SUM
@ HBA_Nar_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:208
CDPL::GRAIL::GRAILDescriptorCalculator::PI_AR_SCORE_SUM
@ PI_AR_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:118
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_HBD_S_SCORE_SUM
@ HBA_S2_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:244
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBD_N_OCC_MAX
@ ENV_HBD_N_OCC_MAX
Definition: GRAILDescriptorCalculator.hpp:113
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_HBD_S_SCORE_MAX
@ HBA_S2_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:245
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_HBD_S_SCORE_MAX
@ HBA_N3_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:191
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_COUNT
@ HBD_Nam_COUNT
Definition: GRAILDescriptorCalculator.hpp:86
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_HBD_O_SCORE_MAX
@ HBA_Nar_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:207
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_HBD_O_SCORE_SUM
@ HBA_S3_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:236
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O2_HBD_N_SCORE_SUM
@ HBA_O2_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:222
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBA_N_OCC_MAX
@ ENV_HBA_N_OCC_MAX
Definition: GRAILDescriptorCalculator.hpp:107
CDPL::GRAIL::GRAILDescriptorCalculator::TPSA
@ TPSA
Definition: GRAILDescriptorCalculator.hpp:105
CDPL::GRAIL::GRAILDescriptorCalculator::operator=
GRAILDescriptorCalculator & operator=(const GRAILDescriptorCalculator &calc)
CDPL
The namespace of the Chemical Data Processing Library.
CDPL::GRAIL::GRAILDescriptorCalculator::ES_ENERGY_SQRD_DIST
@ ES_ENERGY_SQRD_DIST
Definition: GRAILDescriptorCalculator.hpp:249
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S3_HBD_N_SCORE_MAX
@ HBA_S3_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:235
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_HBD_O_SCORE_MAX
@ HBA_Oco2_HBD_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:231
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_COUNT
@ HBD_N3_COUNT
Definition: GRAILDescriptorCalculator.hpp:83
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_HBD_O_SCORE_SUM
@ HBA_Npl3_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:212
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_HBA_S_SCORE_MAX
@ HBD_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:131
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBD_O_OCC_MAX
@ ENV_HBD_O_OCC_MAX
Definition: GRAILDescriptorCalculator.hpp:115
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_HBA_S_SCORE_SUM
@ HBD_Npl3_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:160
DefaultPharmacophoreGenerator.hpp
Definition of the class CDPL::Pharm::DefaultPharmacophoreGenerator.
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_HBA_N_SCORE_MAX
@ HBD_N4_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:163
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_COUNT
@ HBA_Npl3_COUNT
Definition: GRAILDescriptorCalculator.hpp:95
CDPL::GRAIL::GRAILDescriptorCalculator::PI_COUNT
@ PI_COUNT
Definition: GRAILDescriptorCalculator.hpp:75
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_HBA_S_SCORE_SUM
@ HBD_N4_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:166
CDPL::GRAIL::GRAILDescriptorCalculator::XBD_COUNT
@ XBD_COUNT
Definition: GRAILDescriptorCalculator.hpp:81
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_HBA_S_SCORE_MAX
@ HBD_N4_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:167
CDPL::GRAIL::GRAILDescriptorCalculator::H_H_SCORE_MAX
@ H_H_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:123
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_COUNT
@ HBA_O3_COUNT
Definition: GRAILDescriptorCalculator.hpp:96
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_COUNT
@ HBD_COUNT
Definition: GRAILDescriptorCalculator.hpp:79
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_S3_HBA_O_SCORE_MAX
@ HBD_S3_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:177
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_HBA_O_SCORE_MAX
@ HBD_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:129
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBA_S_OCC_SUM
@ ENV_HBA_S_OCC_SUM
Definition: GRAILDescriptorCalculator.hpp:110
CDPL::GRAIL::GRAILDescriptorCalculator::ENV_HBD_O_OCC_SUM
@ ENV_HBD_O_OCC_SUM
Definition: GRAILDescriptorCalculator.hpp:114
CDPL::GRAIL::GRAILDescriptorCalculator::AR_COUNT
@ AR_COUNT
Definition: GRAILDescriptorCalculator.hpp:77
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_HBD_S_SCORE_SUM
@ HBA_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:184
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_S2_HBD_N_SCORE_MAX
@ HBA_S2_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:241
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_HBD_N_SCORE_MAX
@ HBA_Npl3_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:211
CDPL_GRAIL_API
#define CDPL_GRAIL_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N2_HBA_S_SCORE_MAX
@ HBD_N2_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:143
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_HBA_O_SCORE_MAX
@ HBD_N4_HBA_O_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:165
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_HBD_N_SCORE_SUM
@ HBA_N2_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:192
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_HBD_S_SCORE_MAX
@ HBA_Oco2_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:233
CDPL::GRAIL::GRAILDescriptorCalculator::ES_ENERGY
@ ES_ENERGY
Definition: GRAILDescriptorCalculator.hpp:248
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_HBD_S_SCORE_MAX
@ HBA_N2_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:197
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_HBD_S_SCORE_MAX
@ HBA_N1_HBD_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:203
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_COUNT
@ HBD_N4_COUNT
Definition: GRAILDescriptorCalculator.hpp:88
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_HBA_N_SCORE_SUM
@ HBD_N3_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:132
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_HBA_S_SCORE_MAX
@ HBD_O3_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:173
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Nar_HBD_O_SCORE_SUM
@ HBA_Nar_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:206
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_HBA_S_SCORE_SUM
@ HBD_Nar_HBA_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:148
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_HBA_O_SCORE_SUM
@ HBD_Npl3_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:158
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_O3_HBD_N_SCORE_SUM
@ HBA_O3_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:216
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_HBD_N_SCORE_MAX
@ HBA_N1_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:199
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_O3_HBA_N_SCORE_MAX
@ HBD_O3_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:169
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_HBA_O_SCORE_SUM
@ HBD_Nam_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:152
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nam_HBA_N_SCORE_MAX
@ HBD_Nam_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:151
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_HBD_N_SCORE_MAX
@ HBA_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:181
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N4_HBA_O_SCORE_SUM
@ HBD_N4_HBA_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:164
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_HBD_N_SCORE_SUM
@ HBA_N1_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:198
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Oco2_HBD_O_SCORE_SUM
@ HBA_Oco2_HBD_O_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:230
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_Npl3_HBD_N_SCORE_SUM
@ HBA_Npl3_HBD_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:210
CDPL::GRAIL::GRAILDescriptorCalculator::ROT_BOND_COUNT
@ ROT_BOND_COUNT
Definition: GRAILDescriptorCalculator.hpp:102
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_HBA_N_SCORE_MAX
@ HBD_Npl3_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:157
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_HBA_N_SCORE_SUM
@ HBD_Npl3_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:156
Vector.hpp
Definition of vector data types.
CDPL::GRAIL::GRAILDescriptorCalculator::AR_AR_SCORE_SUM
@ AR_AR_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:124
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Nar_HBA_N_SCORE_MAX
@ HBD_Nar_HBA_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:145
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_Npl3_COUNT
@ HBD_Npl3_COUNT
Definition: GRAILDescriptorCalculator.hpp:87
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N1_HBD_S_SCORE_SUM
@ HBA_N1_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:202
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N3_HBD_N_SCORE_MAX
@ HBA_N3_HBD_N_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:187
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_N3_HBA_S_SCORE_MAX
@ HBD_N3_HBA_S_SCORE_MAX
Definition: GRAILDescriptorCalculator.hpp:137
CDPL::GRAIL::GRAILDescriptorCalculator::HBA_N2_HBD_S_SCORE_SUM
@ HBA_N2_HBD_S_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:196
CDPL::GRAIL::GRAILDescriptorCalculator::HBD_HBA_N_SCORE_SUM
@ HBD_HBA_N_SCORE_SUM
Definition: GRAILDescriptorCalculator.hpp:126