#include <BALL/STRUCTURE/bindingPocketProcessor.h>
This processor searches for binding pockets in a given atom container. The pockets are detected with the PASS method (Fast Feature Selection Using Fractal Dimension (2000) Caetano Traina, Jr., Agma Traina, et al)
BALL::BindingPocketProcessor::BindingPocketProcessor | ( | ) |
standard constructor
BALL::BindingPocketProcessor::BindingPocketProcessor | ( | Options & | new_options | ) |
constructor with options
BALL::BindingPocketProcessor::BindingPocketProcessor | ( | const BindingPocketProcessor & | pp | ) |
copy constructor
virtual BALL::BindingPocketProcessor::~BindingPocketProcessor | ( | ) | [virtual] |
destructor
void BALL::BindingPocketProcessor::addSphere_s_ | ( | ) | [private] |
compute sphere layers
Vector3 BALL::BindingPocketProcessor::calculateT_ | ( | HashGridBox3< Sphere_ >::DataIterator | data_it, | |
HashGridBox3< Sphere_ >::DataIterator | data_it2 | |||
) | [private] |
geometric computation
virtual bool BALL::BindingPocketProcessor::finish | ( | ) | [virtual] |
Finish .
Reimplemented from BALL::UnaryProcessor< Composite >.
const vector<std::pair<Vector3,double> >& BALL::BindingPocketProcessor::getActiveSitePoints | ( | ) | const |
Returns the position and burial counts of the calculated actice site points
const vector<vector<std::pair<Vector3,double> > >& BALL::BindingPocketProcessor::getLayers | ( | ) | const |
Returns a vector of vectors, each containing one layer with position and probe weight of its spheres
virtual Processor::Result BALL::BindingPocketProcessor::operator() | ( | Composite & | ) | [virtual] |
operator ()
Reimplemented from BALL::UnaryProcessor< Composite >.
const BindingPocketProcessor& BALL::BindingPocketProcessor::operator= | ( | const BindingPocketProcessor & | pp | ) |
assignment operator
bool BALL::BindingPocketProcessor::parse_ | ( | ) | [private] |
read parameter file
Determine the radius of an element
element | the full name of the element for which a radius should be looked up. Example: "Oxygen" |
IllegalArgument | if an unknown element has been passed |
void BALL::BindingPocketProcessor::testFirst_ | ( | HashGrid3< Sphere_ > & | hg, | |
HashGridBox3< Sphere_ >::DataIterator | data_it, | |||
Position | x, | |||
Position | y, | |||
Position | z | |||
) | [private] |
test if three spheres produce two offspring spheres
test clash with protein atoms
void BALL::BindingPocketProcessor::testSecond_ | ( | HashGrid3< Sphere_ > & | hg, | |
HashGridBox3< Sphere_ >::DataIterator | data_it, | |||
HashGridBox3< Sphere_ >::DataIterator | data_it2, | |||
Position | x, | |||
Position | y, | |||
Position | z, | |||
Position | step | |||
) | [private] |
test clash with all existing spheres
void BALL::BindingPocketProcessor::trySphere__ | ( | HashGridBox3< Sphere_ >::DataIterator | data_it, | |
HashGridBox3< Sphere_ >::DataIterator | data_it2, | |||
HashGridBox3< Sphere_ >::DataIterator | data_it3 | |||
) | [private] |
calculates two spheres if possible
void BALL::BindingPocketProcessor::weedCandidates_ | ( | ) | [private] |
remove redundant spheres
std::ostream& operator<< | ( | std::ostream & | os, | |
const BindingPocketProcessor::Sphere_ & | sp | |||
) | [friend] |
output operator for Sphere
std::vector<std::pair<Vector3,double> > BALL::BindingPocketProcessor::asps_ [private] |
need for computation of burial count
threshold for burial count filer
std::vector<Sphere_> BALL::BindingPocketProcessor::candidates [private] |
store all possible new spheres
store all possible new spheres
needed for sphere collision
number of newly found spheres
Position BALL::BindingPocketProcessor::layer_ [private] |
current layer
store all sphere layers
std::vector<std::vector<std::pair<Vector3,double> > > BALL::BindingPocketProcessor::layers_ [private] |
options for BALLPass
radius for collision with protein atoms
store protein atoms
need for computation of probe weight
bool BALL::BindingPocketProcessor::second_it_ [private] |
sphere radius for following layers
std::vector<Sphere_> BALL::BindingPocketProcessor::sorted_spheres_ [private] |
store all spheres
first layer radius