Implements the algorithm devised by Kuvek et al. [KBPD] for the calculation of receptor binding pocket shape and surface electrostatics descriptors.
More...
#include <KuvekPocketDescriptorCalculator.hpp>
Implements the algorithm devised by Kuvek et al. [KBPD] for the calculation of receptor binding pocket shape and surface electrostatics descriptors.
- Since
- 1.3
◆ AtomChargeFunction
Type of the generic functor used to retrieve the partial charge of an atom.
◆ KuvekPocketDescriptorCalculator()
Constructs a KuvekPocketDescriptorCalculator instance with the given configuration.
- Parameters
-
| sphere_radius | The probe sphere radius. |
| num_test_vecs | The number of test vectors used to sample the probe sphere surface. |
| max_atom_to_sphr_surf_dist | The maximum distance between an atom and the probe sphere surface for the atom to contribute. |
◆ setSphereRadius()
| void CDPL::Descr::KuvekPocketDescriptorCalculator::setSphereRadius |
( |
double |
radius | ) |
|
Sets the probe sphere radius.
- Parameters
-
| radius | The probe sphere radius. |
◆ getSphereRadius()
| double CDPL::Descr::KuvekPocketDescriptorCalculator::getSphereRadius |
( |
| ) |
const |
Returns the currently configured probe sphere radius.
- Returns
- The configured probe sphere radius.
◆ setMaxAtomToSphereSurfaceDistance()
| void CDPL::Descr::KuvekPocketDescriptorCalculator::setMaxAtomToSphereSurfaceDistance |
( |
double |
dist | ) |
|
Sets the maximum distance between an atom and the probe sphere surface for the atom to contribute.
- Parameters
-
| dist | The maximum distance to the probe sphere surface. |
◆ getMaxAtomToSphereSurfaceDistance()
| double CDPL::Descr::KuvekPocketDescriptorCalculator::getMaxAtomToSphereSurfaceDistance |
( |
| ) |
const |
Returns the currently configured maximum atom-to-sphere-surface distance.
- Returns
- The configured maximum distance.
◆ setNumTestVectors()
| void CDPL::Descr::KuvekPocketDescriptorCalculator::setNumTestVectors |
( |
std::size_t |
num_vectors | ) |
|
Sets the number of test vectors used to sample the probe sphere surface.
- Parameters
-
| num_vectors | The number of test vectors. |
◆ getNumTestVectors()
| std::size_t CDPL::Descr::KuvekPocketDescriptorCalculator::getNumTestVectors |
( |
| ) |
const |
Returns the currently configured number of test vectors.
- Returns
- The configured number of test vectors.
◆ getTestVector()
| const Math::Vector3D& CDPL::Descr::KuvekPocketDescriptorCalculator::getTestVector |
( |
std::size_t |
idx | ) |
|
Returns the test vector at index idx (generated on demand).
- Parameters
-
| idx | The test vector index. |
- Returns
- A
const reference to the test vector.
- Exceptions
-
◆ setAtom3DCoordinatesFunction()
Specifies a function for the retrieval of atom 3D-coordinates.
- Parameters
-
| func | The atom 3D-coordinates function. |
◆ getAtom3DCoordinatesFunction()
Returns the function used for the retrieval of atom 3D-coordinates.
- Returns
- The configured atom 3D-coordinates function.
◆ setAtomChargeFunction()
| void CDPL::Descr::KuvekPocketDescriptorCalculator::setAtomChargeFunction |
( |
const AtomChargeFunction & |
func | ) |
|
Specifies a function for the retrieval of atom charges.
- Parameters
-
| func | The atom charge retrieval function. |
- Note
- By default, formal charges will be used.
◆ getAtomChargeFunction()
| const AtomChargeFunction& CDPL::Descr::KuvekPocketDescriptorCalculator::getAtomChargeFunction |
( |
| ) |
const |
Returns the function used for the retrieval of atom charges.
- Returns
- The configured atom charge function.
◆ calculate()
Calculates the Kuvek pocket descriptor at the given query position.
- Parameters
-
| sphere_ctr | The 3D position of the probe sphere center. |
| atoms | The atoms used as the environment for the calculation. |
| descr | The output descriptor vector. |
◆ DEF_PROBE_RADIUS
| constexpr double CDPL::Descr::KuvekPocketDescriptorCalculator::DEF_PROBE_RADIUS = 20.0 |
|
staticconstexpr |
Default radius of the probe sphere centered at the query position.
◆ DEF_MAX_ATOM_TO_SPHERE_SURF_DIST
| constexpr double CDPL::Descr::KuvekPocketDescriptorCalculator::DEF_MAX_ATOM_TO_SPHERE_SURF_DIST = 2.0 |
|
staticconstexpr |
Default maximum distance between an atom and the probe sphere surface for the atom to contribute.
◆ DEF_NUM_TEST_VECTORS
| constexpr std::size_t CDPL::Descr::KuvekPocketDescriptorCalculator::DEF_NUM_TEST_VECTORS = 492 |
|
staticconstexpr |
Default number of test vectors used to sample the probe sphere surface.
The documentation for this class was generated from the following file: