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
protocols
simple_filters
RotamerBoltzmannWeight.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 sw=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 protocols/simple_filters/RotamerBoltzmannWeight.hh
11
/// @brief Reports to Tracer which residues are designable in a taskfactory
12
/// @author Sarel Fleishman (sarelf@uw.edu)
13
14
#ifndef INCLUDED_protocols_simple_filters_RotamerBoltzmannWeight_hh
15
#define INCLUDED_protocols_simple_filters_RotamerBoltzmannWeight_hh
16
17
18
// Project Headers
19
#include <
protocols/filters/Filter.hh
>
20
#include <
core/pose/Pose.fwd.hh
>
21
#include <utility/tag/Tag.fwd.hh>
22
#include <
protocols/moves/DataMap.fwd.hh
>
23
#include <
protocols/moves/Mover.fwd.hh
>
24
#include <
protocols/simple_filters/RotamerBoltzmannWeight.fwd.hh
>
25
#include <
core/scoring/ScoreFunction.fwd.hh
>
26
#include <
core/pack/task/TaskFactory.fwd.hh
>
27
#include <
core/chemical/AA.hh
>
28
29
#include <utility/vector1.hh>
30
31
//Auto Headers
32
// Unit headers
33
34
namespace
protocols {
35
namespace
simple_filters {
36
37
class
RotamerBoltzmannWeight
:
public
protocols::filters::Filter
38
{
39
private
:
40
typedef
protocols::filters::Filter
parent
;
41
public
:
42
/// @brief default ctor
43
RotamerBoltzmannWeight
();
44
///@brief Constructor with a single target residue
45
virtual
bool
apply
(
core::pose::Pose
const
& pose )
const
;
46
virtual
void
report
( std::ostream & out,
core::pose::Pose
const
& pose )
const
;
47
virtual
core::Real
report_sm
(
core::pose::Pose
const
& pose )
const
;
48
virtual
protocols::filters::FilterOP
clone
()
const
;
49
virtual
protocols::filters::FilterOP
fresh_instance
()
const
;
50
core::Real
compute
(
core::pose::Pose
const
& pose )
const
;
51
virtual
~RotamerBoltzmannWeight
();
52
core::pack::task::TaskFactoryOP
task_factory
()
const
;
53
void
task_factory
(
core::pack::task::TaskFactoryOP
task_factory
);
54
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
55
protocols::moves::DataMap
&,
56
protocols::filters::Filters_map
const
&,
57
protocols::moves::Movers_map
const
&,
58
core::pose::Pose
const
& );
59
void
parse_def
( utility::lua::LuaObject
const
& def,
60
utility::lua::LuaObject
const
& score_fxns,
61
utility::lua::LuaObject
const
& tasks );
62
63
utility::vector1< core::Size >
first_pass_ala_scan
(
core::pose::Pose
const
& pose )
const
;
// return a list of residues that pass the ddG threshold
64
core::Real
compute_Boltzmann_weight
(
core::pose::Pose
const
& pose,
core::Size
const
resi )
const
;
65
void
rb_jump
(
core::Size
const
jump );
66
core::Size
rb_jump
()
const
;
67
void
sym_dof_names
(
std::string
const
dof_names );
68
std::string
sym_dof_names
()
const
;
69
void
repacking_radius
(
core::Real
const
rad );
70
core::Real
repacking_radius
()
const
;
71
core::Real
ddG_threshold
()
const
;
72
void
ddG_threshold
(
core::Real
const
ddG );
73
void
scorefxn
(
core::scoring::ScoreFunctionOP
scorefxn
);
74
core::scoring::ScoreFunctionOP
scorefxn
()
const
;
75
core::Real
temperature
()
const
;
76
void
temperature
(
core::Real
const
temp );
77
bool
unbound
()
const
;
78
void
unbound
(
bool
const
u );
79
void
threshold_probability
(
core::chemical::AA
const
aa_type,
core::Real
const
probability );
80
core::Real
threshold_probability
(
core::chemical::AA
const
aa_type )
const
;
81
void
energy_reduction_factor
(
core::Real
const
factor );
82
core::Real
energy_reduction_factor
()
const
;
83
core::Real
interface_interaction_energy
(
core::pose::Pose
const
& pose,
core::Size
const
res )
const
;
84
bool
compute_entropy_reduction
()
const
;
85
void
compute_entropy_reduction
(
bool
const
cer );
86
void
repack
(
bool
const
repack
);
87
bool
repack
()
const
;
88
bool
skip_ala_scan
()
const
;
89
void
skip_ala_scan
(
bool
const
s );
90
std::string
type
()
const
;
91
void
type
(
std::string
const
& s );
92
bool
write2pdb
()
const
;
93
void
write2pdb
(
bool
const
write );
94
core::Real
compute_modified_ddG
(
core::pose::Pose
const
& pose, std::ostream & out )
const
;
95
void
write_to_pdb
(
core::Size
const
residue,
std::string
const
residue_name,
core::Real
const
boltzmann_weight )
const
;
96
private
:
97
core::pack::task::TaskFactoryOP
task_factory_
;
98
core::Size
rb_jump_
;
// dflt 1.
99
std::string
sym_dof_names_
;
// dflt "".
100
bool
unbound_
;
// dflt true. what is the reference state for computing the boltz weight
101
core::scoring::ScoreFunctionOP
scorefxn_
;
102
core::Real
temperature_
;
//dflt 0.8 ; this is actually kT rather than just T
103
core::Real
ddG_threshold_
;
//dflt 1.5 a preliminary alanine scan will identify all allowed positions that also have at least ddG_threshold_ effect on binding for further analysis.
104
core::Real
repacking_radius_
;
// dflt 6.0. how much to repack with each rotamer
105
utility::vector1< core::Real >
threshold_probabilities_per_residue_
;
// dflt 0.1; the rotamer probability below which the energy_reduction_factor kicks in
106
core::Real
energy_reduction_factor_
;
//dflt 0.5; by how much to decrease the binding energy
107
108
bool
compute_entropy_reduction_
;
//dflt false; compute the difference between the bound and unbound states
109
bool
repack_
;
//dflt true; carry out ddG (true) or dG (false) calculations
110
/// the following are mutable b/c they only sum up data in the filter. They do not affect
111
/// how the filter is run (so the filter will remain logically constant, despite these variables)
112
/// Mutability here allows the variables to be changed even in const methods.
113
mutable
std::map< core::Size, core::Real >
ddGs_
;
//save the ddG values for a final report
114
mutable
std::map< core::Size, core::Real >
rotamer_probabilities_
;
//ditto for the probabilities
115
std::string
type_
;
116
bool
skip_ala_scan_
;
//dflt false; if true, only considers the task_factory
117
bool
fast_calc_
;
//default false for now
118
bool
no_modified_ddG_
;
119
std::string
target_residues_
;
120
bool
write2pdb_
;
121
};
122
123
}
// simple_filters
124
}
// protocols
125
126
#endif //INCLUDED_protocols_simple_filters_RotamerBoltzmannWeightFilter_HH_
127
Generated on Sat Jun 1 2013 12:14:30 for Rosetta 3.5 by
1.8.4