Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
scoring
methods
NMerPSSMEnergy.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file core/scoring/methods/NMerPSSMEnergy.hh
11
/// @brief PSSM energy method declaration
12
/// @author Chris King (dr.chris.king@gmail.com)
13
14
15
#ifndef INCLUDED_core_scoring_methods_NMerPSSMEnergy_hh
16
#define INCLUDED_core_scoring_methods_NMerPSSMEnergy_hh
17
18
// Unit headers
19
#include <
core/scoring/methods/NMerPSSMEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/methods/ContextIndependentOneBodyEnergy.hh
>
23
#include <
core/scoring/ScoreFunction.fwd.hh
>
24
25
// Project headers
26
#include <
core/chemical/AA.hh
>
27
#include <
core/pose/Pose.fwd.hh
>
28
#include <
core/id/TorsionID.fwd.hh
>
29
#include <
core/id/DOF_ID.fwd.hh
>
30
31
#include <utility/vector1.hh>
32
#include <basic/Tracer.hh>
33
#include <map>
34
35
// Utility headers
36
37
38
namespace
core {
39
namespace
scoring {
40
namespace
methods {
41
42
class
NMerPSSMEnergy
:
public
ContextIndependentOneBodyEnergy
43
{
44
public
:
45
typedef
ContextIndependentOneBodyEnergy
parent
;
46
47
public
:
48
49
///
50
NMerPSSMEnergy
();
51
52
///
53
NMerPSSMEnergy
(
utility::vector1
< std::map<
core::chemical::AA
,
utility::vector1< core::Real >
> >
const
& all_nmer_pssms_in );
54
55
///
56
virtual
~NMerPSSMEnergy
();
57
58
virtual
59
EnergyMethodOP
60
clone
()
const
;
61
62
/////////////////////////////////////////////////////////////////////////////
63
// methods for ContextIndependentOneBodyEnergies
64
/////////////////////////////////////////////////////////////////////////////
65
66
///
67
virtual
68
void
69
residue_energy
(
70
conformation::Residue
const
& rsd,
71
pose::Pose
const
& pose,
72
EnergyMap
& emap
73
)
const
;
74
75
bool
76
minimize_in_whole_structure_context
(
pose::Pose
const
& )
const
{
return
false
; }
77
78
///
79
virtual
80
Real
81
eval_dof_derivative
(
82
id::DOF_ID
const
& dof_id,
83
id::TorsionID
const
& tor_id,
84
pose::Pose
const
& pose,
85
ScoreFunction
const
& sfxn,
86
EnergyMap
const
& weights
87
)
const
;
88
89
/// @brief DunbrackEnergy is context independent; indicates that no
90
/// context graphs are required
91
virtual
92
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
93
94
void
read_nmer_pssm_list
(
std::string
const
);
95
void
read_nmer_pssm
(
std::string
const
);
96
void
nmer_length
(
core::Size
const
);
97
void
gate_pssm_scores
(
bool
const
);
98
void
nmer_pssm_scorecut
(
core::Real
const
);
99
100
private
:
101
utility::vector1< std::map< core::chemical::AA, utility::vector1< core::Real >
> >
all_nmer_pssms_
;
102
core::Size
nmer_length_
;
103
core::Size
nmer_cterm_
;
104
bool
gate_pssm_scores_
;
105
core::Real
nmer_pssm_scorecut_
;
106
107
void
read_nmer_pssms_from_options
();
108
void
initialize_from_options
();
109
virtual
110
core::Size
version
()
const
;
111
};
112
113
}
// methods
114
}
// scoring
115
}
// core
116
117
118
#endif
Generated on Sat Jun 1 2013 11:38:30 for Rosetta 3.5 by
1.8.4