BALL
1.4.79
|
#include <BALL/DOCKING/COMMON/dockingAlgorithm.h>
Public Types | |
enum | DISPLAYMODE { NO_DISPLAY = 0, BEST_INTERMEDIATE_POSES = 1, ALL_INTERMEDIATE_POSES = 2, NO_INTERMEDIATE_POSES = 3 } |
Public Member Functions | |
DockingAlgorithm () | |
DockingAlgorithm (System &receptor, System &ligand, Options &new_options) | |
DockingAlgorithm (System &receptor, System &ligand) | |
virtual | ~DockingAlgorithm () |
virtual void | setup (System &receptor, System &ligand, Options &new_options) |
virtual void | setup (System &receptor, System &ligand) |
virtual double | dockLigand (AtomContainer &ligand, bool verbose=0) |
ScoringFunction * | getScoringFunction () |
void | setScoringFunction (ScoringFunction *scoring) |
void | processMultiMoleculeFile (string input_filename, string output_filename, double score_cutoff, vector< double > *min_atoms_in_ref_areas=0, String toolinfo="", String timestamp="") |
void | setLigand (AtomContainer *ligand) |
const AtomContainer * | getLigand () |
const AtomContainer * | getReferenceLigand () |
const String & | getName () |
virtual void | start () |
virtual void | pause () |
virtual void | proceed () |
virtual void | abort () |
virtual void | finish () |
virtual void | reset () |
virtual bool | hasFinished () const |
virtual bool | wasAborted () const |
virtual bool | wasPaused () const |
virtual float | getProgress () const |
virtual ConformationSet | getConformationSet (Index total_conformations=0) |
double | calculateRMSD (const AtomContainer &S1, const AtomContainer &S2, int *no_matched_atoms=NULL) |
const AtomContainer * | getVisualizationPose () |
void | setVisualizationPose (const double &score) |
double | getVisualizationPoseScore () |
DISPLAYMODE | getDisplayMode () |
void | setDisplayMode (DISPLAYMODE display_mode) |
void | setMaxFps (int no) |
Static Public Member Functions | |
static void | readOptionFile (String filename, Options &output_options, list< Constraint * > &output_constraints, const AtomContainer *ref_ligand=0) |
static void | writeOptionFile (String filename, Options &input_options, list< Constraint * > &input_constraints) |
static Matrix4x4 | mapCompounds (const AtomContainer &S1, const AtomContainer &S2, Size &no_matched_heavy_atoms, double &rmsd, double upper_bound, double lower_bound, double tolerance) |
Public Attributes | |
Options | options |
bool | new_pose_to_be_visualized |
Static Public Attributes | |
static const String | OPTION_FILE_PARAMETER_NAME |
Protected Member Functions | |
void | mapLigandOntoReferenceLigand () |
Static Protected Member Functions | |
static void | writeSubcategories_ (Options &category, std::ostream &out) |
Interface class for docking algorithms.
Definition at line 45 of file dockingAlgorithm.h.
Enumerator | |
---|---|
NO_DISPLAY | |
BEST_INTERMEDIATE_POSES | |
ALL_INTERMEDIATE_POSES | |
NO_INTERMEDIATE_POSES |
Definition at line 49 of file dockingAlgorithm.h.
BALL::DockingAlgorithm::DockingAlgorithm | ( | ) |
BALL::DockingAlgorithm::DockingAlgorithm | ( | System & | receptor, |
System & | ligand, | ||
Options & | new_options | ||
) |
|
virtual |
|
virtual |
double BALL::DockingAlgorithm::calculateRMSD | ( | const AtomContainer & | S1, |
const AtomContainer & | S2, | ||
int * | no_matched_atoms = NULL |
||
) |
|
virtual |
dock the given ligand and return its score
Reimplemented in BALL::EvolutionaryDocking, and BALL::IMGDock.
|
virtual |
|
virtual |
Return total_conformations putative complexes, ordered according to their rank. If total_conformations == 0, the option TOP_N is used
Reimplemented in BALL::GeometricFit.
DISPLAYMODE BALL::DockingAlgorithm::getDisplayMode | ( | ) |
const AtomContainer* BALL::DockingAlgorithm::getLigand | ( | ) |
const String& BALL::DockingAlgorithm::getName | ( | ) |
get the name of this docking algorithm
|
virtual |
Reimplemented in BALL::GeometricFit, and BALL::EvolutionaryDocking.
const AtomContainer* BALL::DockingAlgorithm::getReferenceLigand | ( | ) |
ScoringFunction* BALL::DockingAlgorithm::getScoringFunction | ( | ) |
return the ScoringFunction that is used by this DockingAlgorithm
const AtomContainer* BALL::DockingAlgorithm::getVisualizationPose | ( | ) |
double BALL::DockingAlgorithm::getVisualizationPoseScore | ( | ) |
|
virtual |
Reimplemented in BALL::GeometricFit.
|
static |
|
protected |
|
virtual |
|
virtual |
void BALL::DockingAlgorithm::processMultiMoleculeFile | ( | string | input_filename, |
string | output_filename, | ||
double | score_cutoff, | ||
vector< double > * | min_atoms_in_ref_areas = 0 , |
||
String | toolinfo = "" , |
||
String | timestamp = "" |
||
) |
|
static |
|
virtual |
resets Algorithm before new dock-run, e.g. sets finished_ to false
void BALL::DockingAlgorithm::setDisplayMode | ( | DISPLAYMODE | display_mode | ) |
void BALL::DockingAlgorithm::setLigand | ( | AtomContainer * | ligand | ) |
void BALL::DockingAlgorithm::setMaxFps | ( | int | no | ) |
Set the maximal number of frames per second for the visualization output. This affects only the number of poses that are written for visualization NOT the actual speed of the docking algorithm itself.
|
inline |
Definition at line 94 of file dockingAlgorithm.h.
|
virtual |
OperationsFull setup. Assigns systems 1 and two and the options for this DockingAlgorithm.
Reimplemented in BALL::GeometricFit, BALL::EvolutionaryDocking, and BALL::IMGDock.
Alternative setup. Assigns systems 1 and two without changing the options for this DockingAlgorithm.
Reimplemented in BALL::GeometricFit, and BALL::IMGDock.
void BALL::DockingAlgorithm::setVisualizationPose | ( | const double & | score | ) |
|
virtual |
Reimplemented in BALL::GeometricFit, BALL::EvolutionaryDocking, and BALL::IMGDock.
|
inlinevirtual |
Definition at line 133 of file dockingAlgorithm.h.
|
inlinevirtual |
Definition at line 137 of file dockingAlgorithm.h.
|
static |
|
staticprotected |
|
protected |
Definition at line 179 of file dockingAlgorithm.h.
|
protected |
Definition at line 200 of file dockingAlgorithm.h.
|
protected |
Definition at line 180 of file dockingAlgorithm.h.
|
protected |
Definition at line 189 of file dockingAlgorithm.h.
|
protected |
Definition at line 207 of file dockingAlgorithm.h.
|
protected |
the name of the docking algorithm
Definition at line 185 of file dockingAlgorithm.h.
bool BALL::DockingAlgorithm::new_pose_to_be_visualized |
Definition at line 162 of file dockingAlgorithm.h.
|
static |
Definition at line 154 of file dockingAlgorithm.h.
Options BALL::DockingAlgorithm::options |
Attributes
Definition at line 67 of file dockingAlgorithm.h.
|
protected |
Definition at line 195 of file dockingAlgorithm.h.
|
protected |
Definition at line 178 of file dockingAlgorithm.h.
|
protected |
Definition at line 187 of file dockingAlgorithm.h.
|
protected |
Definition at line 182 of file dockingAlgorithm.h.
|
protected |
Definition at line 193 of file dockingAlgorithm.h.
|
protected |
name of the ScoringFunction to be used
Definition at line 198 of file dockingAlgorithm.h.
|
protected |
Definition at line 175 of file dockingAlgorithm.h.
|
protected |
Definition at line 176 of file dockingAlgorithm.h.
|
protected |
copy of a intermediate pose that is to be visualized.
Definition at line 203 of file dockingAlgorithm.h.
|
protected |
Definition at line 205 of file dockingAlgorithm.h.
|
protected |
Definition at line 208 of file dockingAlgorithm.h.