18 #ifndef _PHIPSIOMEGA_H_
19 #define _PHIPSIOMEGA_H_
23 #include <TorsionPotential.h>
26 #include <AminoAcidCode.h>
30 using namespace Victor::Biopool;
31 using namespace Victor::Energy;
32 using namespace Victor;
33 namespace Victor {
namespace Energy {
44 string knownledge =
"data/tor.par");
51 virtual long double calculateEnergy(
Spacer& sp);
52 virtual long double calculateEnergy(
Spacer& sp,
unsigned int index1,
54 virtual long double calculateEnergy(
AminoAcid& aa);
55 virtual long double calculateEnergy(
AminoAcid& diheds, AminoAcidCode code);
58 return calculateEnergy(aa);
60 virtual double pReturnMaxPropensities(
int amino);
61 virtual double pReturnMinPropensities(
int amino);
63 virtual double pReturnMaxPropensitiesPreAngle(
int amino,
int prephi,
int prepsi) {
64 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception)
67 virtual int sGetPropBin2(
double p) {
68 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception)
70 virtual vector< vector<ANGLES> >* getOrderedEnergyTable();
73 return "phi-psi-omega";
77 virtual int setRange_Omega(
int n);
78 virtual void setArcStep(
int n);
85 virtual void pConstructData();
86 virtual void pResetData();
87 virtual double pGetMaxPropensities(
int amino);
88 virtual double pGetMinPropensities(
int amino);
91 virtual double pGetMaxPropensities(
int amino,
int prephi,
int prepsi) {
92 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception)
94 void sAddProp(
int code,
int x,
int y,
int z);
95 int sGetPropOmegaBin(
double p);
96 int sGetPropBin(
double p);
97 virtual void pConstructMaxPropensities();
98 virtual void pConstructMinPropensities();
99 virtual double getOmegaAngle(
int prop,
long RANGE_OMEGA);
100 virtual double getPhiPsiAngle(
int prop,
long SIZE_TABLE,
int ARC_STEP);
108 string TOR_PARAM_FILE;
111 int amino_count[AminoAcid_CODE_SIZE];
112 vector<vector<vector<vector<int>* >* >* > propensities;
113 vector<vector<vector<int>* >* > all_propensities;
115 vector<double> amino_max_propensities;
116 vector<double> amino_min_propensities;
123 #endif// _FULLTORSIONPOTENTIAL_H_
class manages the angle qualities and the energy
Definition: PhiPsiOmega.h:39
It mplements a simple amino acid.
Definition: AminoAcid.h:43
This class implements a simple torsion potential based on the statistical preference of aminoacid typ...
Definition: TorsionPotential.h:40
Implements a "Spacer" for a protein chain. Includes methods to obtain values from the atoms and its p...
Definition: Spacer.h:42