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
enzdes
EnzdesBaseProtocol.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 protocols/enzdes/EnzdesBaseProtocol.hh
11
///
12
/// @brief
13
/// @author Florian Richter
14
15
16
17
18
#ifndef INCLUDED_protocols_enzdes_EnzdesBaseProtocol_hh
19
#define INCLUDED_protocols_enzdes_EnzdesBaseProtocol_hh
20
21
22
#include <
protocols/enzdes/EnzdesBaseProtocol.fwd.hh
>
23
// AUTO-REMOVED #include <protocols/toolbox/match_enzdes_util/EnzConstraintIO.hh>
24
25
#include <
protocols/ligand_docking/LigandBaseProtocol.hh
>
26
#include <
core/scoring/EnergyMap.hh
>
27
#include <
core/scoring/EnergyMap.fwd.hh
>
28
#include <
core/id/SequenceMapping.fwd.hh
>
29
#include <
core/pose/Pose.fwd.hh
>
30
#include <
core/pack/task/PackerTask.fwd.hh
>
31
#include <
core/chemical/ResidueTypeSet.fwd.hh
>
32
33
#include <utility/vector1.hh>
34
35
36
37
namespace
protocols {
38
namespace
enzdes {
39
40
41
class
EnzdesBaseProtocol
:
public
protocols::ligand_docking::LigandBaseProtocol
42
{
43
44
public
:
45
46
EnzdesBaseProtocol
();
47
virtual
std::string
get_name
()
const
;
48
49
//virtual void apply( core::pose::Pose & pose) const = 0;
50
51
//toolbox::match_enzdes_util::EnzConstraintIOOP cst_io(){ return cst_io_; }
52
53
//catalytic res INCLUDING all ligands in pose numbering in a particular order
54
utility::vector1<Size>
catalytic_res
(
core::pose::Pose
const
& pose)
const
;
55
56
std::set< Size >
const
&
design_targets
(
core::pose::Pose
const
& pose )
const
;
57
58
bool
59
is_catalytic_position
(
core::pose::Pose
const
& pose,
core::Size
const
seqpos )
const
;
60
61
static
void
register_options
();
62
63
core::chemical::ResidueTypeSetCAP
64
restype_set
()
const
{
65
return
restype_set_
; }
66
67
void
68
generate_explicit_ligand_rotamer_poses
(
69
core::pose::Pose
const
& orig_pose,
70
utility::vector1< core::pose::PoseOP >
& ligrot_poses,
71
core::scoring::ScoreFunctionCOP
scofx
72
);
73
74
core::scoring::ScoreFunctionCOP
75
reduced_scorefxn
()
const
;
76
77
core::scoring::ScoreFunctionOP
78
reduced_scorefxn
();
79
80
core::Real
81
design_targets_score
(
82
core::pose::Pose
const
& pose
83
)
const
;
84
85
86
virtual
87
void
88
remap_resid
(
89
core::pose::Pose
const
& pose,
90
core::id::SequenceMapping
const
& smap
91
);
92
93
void
94
remove_enzdes_constraints
(
95
core::pose::Pose
& pose,
96
bool
keep_covalent
97
)
const
;
98
99
void
100
add_pregenerated_enzdes_constraints
(
101
core::pose::Pose
& pose
102
)
const
;
103
104
void
105
cst_minimize
(
106
core::pose::Pose
& pose,
107
core::pack::task::PackerTaskCOP
task,
108
bool
cst_opt =
false
109
)
const
;
110
111
core::pack::task::PackerTaskOP
112
create_enzdes_pack_task
(
113
core::pose::Pose
& pose,
114
bool
design =
true
115
);
//the task
116
117
void
118
setup_sequence_recovery_cache
(
119
core::pose::Pose
& pose,
120
core::pack::task::PackerTask
const
& task
121
)
const
;
122
123
void
124
set_all_jumps_minimizable
(
bool
const
& setting ){
min_all_jumps_
= setting; }
125
126
void
127
set_minimize_options
(
128
bool
const
& min_sc,
129
bool
const
& min_bb,
130
bool
const
& min_rb,
131
bool
const
& min_lig,
132
bool
backrub =
false
){
133
chi_min_
= min_sc;
bb_min_
= min_bb;
rb_min_
=min_rb;
minimize_ligand_torsions_
=min_lig;
bb_backrub_
=backrub;
134
}
135
136
void
137
set_fix_cataa
(
138
bool
const
& setting){
fix_catalytic_aa_
= setting;}
139
140
core::kinematics::MoveMapOP
141
create_enzdes_movemap
(
142
core::pose::Pose
& pose,
143
core::pack::task::PackerTaskCOP
task,
144
bool
min_all_jumps=
false
145
)
const
;
146
147
void
148
enzdes_pack
(
149
core::pose::Pose
& pose,
150
core::pack::task::PackerTaskCOP
,
151
core::scoring::ScoreFunctionCOP
scorefxn,
152
core::Size
cycles,
153
bool
minimize_after_packing,
154
bool
pack_unconstrained,
155
bool
favor_native
156
)
const
;
157
158
void
set_scorefxn
(
core::scoring::ScoreFunctionCOP
scorefxn );
159
160
void
161
setup_bbmin_ft_and_csts
(
162
core::pose::Pose
& pose,
163
utility::vector1< bool >
allow_move_bb,
164
core::Size
jump_id
165
)
const
;
166
protected
:
167
void
168
setup_enzdes_constraints
(
169
core::pose::Pose
& pose,
170
bool
allow_missing_remark_blocks
171
)
const
;
172
173
void
enable_constraint_scoreterms
();
174
175
/// @brief function to disable constraint scoring terms:
176
/// @NOTE: this will leave eventual covalent connections set up by EnzConstraintIO untouched.
177
void
disable_constraint_scoreterms
();
178
179
bool
180
exchange_ligands_in_pose
(
181
core::pose::Pose
& pose,
182
bool
check_bb_clashes,
183
core::scoring::ScoreFunctionCOP
scofx
184
);
185
186
core::scoring::ScoreFunctionOP
reduced_sfxn_
;
187
188
mutable
std::set< core::Size >
design_targets_
;
189
190
bool
include_all_design_targets_in_design_interface_
;
191
192
private
:
193
194
void
195
read_ligand_superposition_file
(
std::string
filename
);
196
197
//data
198
199
//toolbox::match_enzdes_util::EnzConstraintIOOP cst_io_;
200
201
core::chemical::ResidueTypeSetCAP
restype_set_
;
202
core::scoring::EnergyMap
constraint_weights_
;
203
204
core::Real
bb_min_allowed_dev_
;
205
core::Real
loop_bb_min_allowed_dev_
;
206
207
//stuff for optional ligand superposition
208
bool
lig_superposition_file_read_
;
209
std::pair< std::string, std::string >
res_to_superimpose_
;
210
utility::vector1< std::pair< std::string, std::string >
>
atoms_to_superimpose_on_
;
211
bool
chi_min_
,
bb_min_
,
rb_min_
,
minimize_ligand_torsions_
,
bb_backrub_
;
212
bool
min_all_jumps_
;
// minimize protein jumps too?
213
bool
minimize_all_ligand_torsions_
;
214
core::Real
lig_min_stddev_
;
215
216
bool
exclude_protein_protein_hack_elec_
,
fix_catalytic_aa_
;
217
218
};
//class EnzdesBaseProtocol
219
220
221
}
//namespace enzdes
222
}
//namespace protocols
223
224
225
226
227
#endif // INCLUDED_protocols_enzdes_EnzdesBaseProtocol_HH
Generated on Sat Jun 1 2013 11:47:52 for Rosetta 3.5 by
1.8.4