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
symmetric_docking
SymDockProtocol.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
// This file is part of the Rosetta software suite and is made available under license.
5
// The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6
// (C) 199x-2009 Rosetta Commons participating institutions and developers.
7
// For more information, see http://www.rosettacommons.org/.
8
9
/// @file protocols/symmetric_docking/SymDockProtocol.hh
10
///
11
/// @brief
12
/// @author Ingemar Andre
13
14
15
#ifndef INCLUDED_protocols_symmetric_docking_SymDockProtocol_hh
16
#define INCLUDED_protocols_symmetric_docking_SymDockProtocol_hh
17
18
#include <
protocols/moves/Mover.hh
>
19
#include <
protocols/symmetric_docking/SymDockProtocol.fwd.hh
>
20
// AUTO-REMOVED #include <protocols/symmetric_docking/SymDockBaseProtocol.hh>
21
22
#include <
core/types.hh
>
23
24
#include <
core/kinematics/MoveMap.fwd.hh
>
25
26
#include <
core/pack/task/TaskFactory.fwd.hh
>
27
#include <
protocols/symmetric_docking/SymDockingLowRes.fwd.hh
>
28
#include <
protocols/symmetric_docking/SymDockingHiRes.fwd.hh
>
29
#include <
core/conformation/symmetry/SymmetricConformation.fwd.hh
>
30
#include <
core/conformation/symmetry/SymmetryInfo.fwd.hh
>
31
32
#include <
core/scoring/ScoreFunction.fwd.hh
>
33
#include <
core/scoring/symmetry/SymmetricScoreFunction.fwd.hh
>
34
#include <
protocols/moves/MonteCarlo.fwd.hh
>
35
#include <utility/vector1.hh>
36
37
38
namespace
protocols {
39
namespace
symmetric_docking {
40
41
void
SymDock_main
();
42
43
class
SymDockProtocol
:
public
moves::Mover
44
{
45
public
:
46
47
typedef
core::conformation::symmetry::SymmetricConformation
SymmetricConformation
;
48
typedef
core::conformation::symmetry::SymmetryInfo
SymmetryInfo
;
49
50
public
:
51
52
SymDockProtocol
();
53
54
SymDockProtocol
(
55
bool
const
fullatom,
56
bool
const
local_refine,
57
bool
const
view=
false
58
);
59
60
SymDockProtocol
(
61
bool
const
fullatom,
62
bool
const
local_refine,
63
bool
const
view,
64
core::scoring::ScoreFunctionOP
docking_score_low,
65
core::scoring::ScoreFunctionOP
docking_score_high
66
);
67
68
virtual
~SymDockProtocol
();
69
70
/// @brief setup that is called from constructor
71
void
set_default
();
72
73
void
register_options
();
74
75
/// @brief setter
76
77
void
set_dock_rtmin
(
bool
dock_rtmin_in );
78
79
void
set_sc_min
(
bool
sc_min_in );
80
void
set_max_repeats
(
Size
const
max_repeats_in );
81
void
set_dock_ppk
(
bool
dock_ppk_in );
82
83
void
set_fullatom
(
bool
const
fullatom_in );
84
85
void
set_local_refine
(
bool
const
local_refine_in );
86
87
void
set_view
(
bool
view_in );
88
89
void
set_lowres_scorefxn
(
core::scoring::ScoreFunctionOP
docking_score_low_in );
90
91
void
set_highres_scorefxn
(
core::scoring::ScoreFunctionOP
docking_score_high_in );
92
93
void
set_highres_scorefxn
(
94
core::scoring::ScoreFunctionOP
docking_score_high_in,
95
core::scoring::ScoreFunctionOP
docking_score_pack_in );
96
97
bool
docking_lowres_filter
(
core::pose::Pose
& pose );
98
bool
docking_highres_filter
(
core::pose::Pose
& pose );
99
100
core::Real
101
calc_interaction_energy
(
core::pose::Pose
& pose );
102
103
core::Real
104
calc_rms
(
core::pose::Pose
& pose );
105
106
/// @brief recovers the side-chains from the native-pose
107
void
recover_sidechains
(
core::pose::Pose
& pose,
const
core::pose::Pose
& native_pose );
108
109
void
task_factory
(
core::pack::task::TaskFactoryOP
task_factory
);
110
111
// turn on design of partner2 during docking. Not thoroughly tested!
112
void
design
(
bool
const
des );
113
bool
design
()
const
;
114
115
// skip population of the score map
116
void
hurry
(
bool
const
hurry
);
117
118
core::pack::task::TaskFactoryOP
task_factory
()
const
;
119
core::pack::task::TaskFactoryOP
&
task_factory
();
120
121
void
score_only
(
core::pose::Pose
& pose );
122
123
virtual
void
apply
(
core::pose::Pose
& pose );
124
virtual
std::string
get_name
()
const
;
125
virtual
protocols::moves::MoverOP
clone
()
const
;
126
127
private
:
128
129
void
130
classic_mcm_protocol
(
131
core::pose::Pose
& pose,
132
core::scoring::symmetry::SymmetricScoreFunctionOP
scorefxn,
133
protocols::moves::MonteCarloOP
monteCarlo,
134
core::Size
num_cycles,
135
core::Size
repack_every_Nth
136
)
const
;
137
138
protocols::moves::MoverOP
139
make_dockmcm_mover
(
140
core::pose::Pose
const
& pose,
141
protocols::moves::MoverOP
repack_mover,
142
protocols::moves::MoverOP
rigbod_mover,
143
core::kinematics::MoveMapOP
movemap,
//< would be COP but MinMover wants OP
144
core::scoring::symmetry::SymmetricScoreFunctionOP
scorefxn,
145
protocols::moves::MonteCarloOP
monteCarlo
146
)
const
;
147
148
private
:
149
150
/// information about the mode
151
bool
fullatom_
;
152
bool
local_refine_
;
153
bool
rtmin_
;
154
bool
sc_min_
;
155
Size
max_repeats_
;
156
bool
dock_ppk_
;
157
158
/// the jump number across which to do rigid_body transformations
159
utility::vector1<core::Size>
movable_jumps_
;
160
//core::Size rb_jump_;
161
/// should docking change the foldtree?
162
bool
autofoldtree_
;
163
/// whether or not to initialize the viewer (for opengl)
164
bool
view_
;
165
bool
design_
;
166
bool
passed_lowres_filter_
;
167
bool
passed_highres_filter_
;
168
bool
hurry_
;
// skip populating the score map
169
// for outputting scorefiles
170
std::map < std::string, core::Real >
score_map_
;
171
172
// for scoring
173
core::scoring::ScoreFunctionOP
docking_score_low_
;
174
core::scoring::ScoreFunctionOP
docking_score_high_
;
175
core::scoring::ScoreFunctionOP
docking_score_high_min_
;
176
core::scoring::ScoreFunctionOP
docking_score_pack_
;
177
178
moves::MonteCarloOP
mc_
;
179
180
//protocols
181
protocols::symmetric_docking::SymDockingLowResOP
docking_low_
;
182
protocols::symmetric_docking::SymDockingHiResOP
docking_high_
;
183
core::pack::task::TaskFactoryOP
init_task_factory_
;
// use this to restrict the packer task for docking protocol
184
185
};
186
187
}
// symmetric_docking
188
}
// protocols
189
#endif //INCLUDED_protocols_symmetric_docking_SymDockProtocol_HH
Generated on Sat Jun 1 2013 12:20:34 for Rosetta 3.5 by
1.8.4