| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef BALL_DOCKING_COMMON_STRUCTUREPREPARER_H |
| 7 |
#define BALL_DOCKING_COMMON_STRUCTUREPREPARER_H |
| 8 |
|
| 9 |
#ifndef BALL_KERNEL_ATOMCONTAINER_H |
| 10 |
#include <BALL/KERNEL/atomContainer.h> |
| 11 |
#endif |
| 12 |
|
| 13 |
#ifndef BALL_STRUCTURE_ADDHYDROGENSPROCESSOR_H |
| 14 |
#include <BALL/STRUCTURE/addHydrogenProcessor.h> |
| 15 |
#endif |
| 16 |
|
| 17 |
#include <set> |
| 18 |
|
| 19 |
namespace BALL |
| 20 |
{ |
| 21 |
class BALL_EXPORT StructurePreparer |
| 22 |
{ |
| 23 |
public: |
| 24 |
|
| 25 |
StructurePreparer(String type="", bool ignore = 0); |
| 26 |
|
| 27 |
|
| 28 |
void assignAtomTypes(AtomContainer* at, String iniFile, String AtomType_file=""); |
| 29 |
|
| 30 |
|
| 31 |
void assignSimpleAtomTypes(AtomContainer* at, String iniFile); |
| 32 |
|
| 33 |
|
| 34 |
void assignPLPAtomTypes(AtomContainer* at); |
| 35 |
|
| 36 |
void assignMMFF94AtomTypes(AtomContainer* at); |
| 37 |
|
| 38 |
void setScoringType(String type); |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
void assignCharges(AtomContainer* at, int overwrite_mode); |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
bool assignProteinCharges(AtomContainer* at, String parameterFile, int overwrite_mode); |
| 47 |
|
| 48 |
void buildBonds(AtomContainer* at); |
| 49 |
|
| 50 |
void saturate(AtomContainer* at); |
| 51 |
|
| 52 |
void selectHeavyAtoms(AtomContainer* at); |
| 53 |
|
| 54 |
|
| 55 |
void prepare(AtomContainer* at, String parameterFile, String AtomType_file=""); |
| 56 |
|
| 57 |
void setSimpleAtomTypes(std::set<String>& new_types); |
| 58 |
|
| 59 |
const std::set<String>* getSimpleAtomTypes(); |
| 60 |
|
| 61 |
private: |
| 62 |
|
| 63 |
bool setIonStandardCharge(Atom* atom); |
| 64 |
|
| 65 |
bool use_mmff94_; |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
bool ignore_unassigned_; |
| 70 |
|
| 71 |
|
| 72 |
bool use_PLP_; |
| 73 |
|
| 74 |
std::set<String> simple_atom_types_; |
| 75 |
}; |
| 76 |
} |
| 77 |
|
| 78 |
#endif |