Victor
 All Data Structures Functions Variables Friends Pages
EnergyFeatures.h
1 /* This file is part of Victor.
2 
3  Victor is free software: you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation, either version 3 of the License, or
6  (at your option) any later version.
7 
8  Victor is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with Victor. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _ENERGYFEATURE_H_
18 #define _ENERGYFEATURE_H_
19 
20 
21 // Includes:
22 #include <vector>
23 #include <Spacer.h>
24 #include <RapdfPotential.h>
25 #include <SolvationPotential.h>
26 #include <PhiPsi.h>
27 #include <PhiPsiOmegaChi1Chi2.h>
28 
29 
30 // Global constants, typedefs, etc. (to avoid):
31 
32 using namespace Victor::Biopool;
33 using namespace Victor::Energy;
34 using namespace Victor;
35 namespace Victor { namespace Energy {
36 
45  public:
46 
47  // CONSTRUCTORS/DESTRUCTOR:
49 
50  virtual ~EnergyFeatures() {
51  PRINT_NAME;
52  }
53 
54  // PREDICATES:
55  static void showFeatures();
56  static double calculateBackboneHydrogenBonds(Spacer& sp);
57  static vector<double> calculateAaComposition(Spacer& sp);
58  static vector<double> calculateSecondaryComposition(Spacer& sp);
59  static vector<double> calculateMesoStateComposition(Spacer& sp);
60  static vector<double> calculateChainBreaks(Spacer& sp);
61  static double calculateClashes(Spacer& sp);
62 
64  vector<double> calculateFeatures(Spacer& sp);
65 
66  // MODIFIERS:
67 
68  // OPERATORS:
69 
70  protected:
71 
72  private:
73 
74  // HELPERS:
75 
76  // ATTRIBUTES:
77 
78  SolvationPotential solv;
79  RapdfPotential rapdf;
80  TorsionPotential* tors;
81  TorsionPotential* tors2;
82 
83  };
84 
85  // ---------------------------------------------------------------------------
86  // EnergyFeatures
87  // -----------------x-------------------x-------------------x-----------------
88 
89 
90 }} // namespace
91 #endif //_ENERGYFEATURE_H_
Includes methods that allow to calculate solvation, energy and propensity.
Definition: SolvationPotential.h:44
Distance-dependent residue-specific all-atom probability discriminatory function. ...
Definition: RapdfPotential.h:39
Interface/wrapper for energy and feature calculation for a protein chain.
Definition: EnergyFeatures.h:44
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