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
motifs
LigandMotifSearch.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 LigandMotifSearch.hh
11
/// @brief Class declaration for ligand motif searching protocol
12
/// @author mdsmith (mdwsmith@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_motifs_LigandMotifSearch_HH
15
#define INCLUDED_protocols_motifs_LigandMotifSearch_HH
16
17
// Unit Headers
18
#include <
protocols/motifs/LigandMotifSearch.fwd.hh
>
19
20
// Package Headers
21
#include <
protocols/dna/DnaDesignDef.fwd.hh
>
22
#include <
protocols/motifs/BuildPosition.fwd.hh
>
23
#include <
protocols/motifs/Motif.fwd.hh
>
24
#include <
protocols/motifs/MotifLibrary.fwd.hh
>
25
26
// Project Headers
27
#include <
core/conformation/Residue.fwd.hh
>
28
// AUTO-REMOVED #include <core/chemical/ResidueType.fwd.hh>
29
// AUTO-REMOVED #include <protocols/toolbox/rotamer_set_operations/SpecialRotamerRotSetOps.fwd.hh>
30
#include <
core/pack/rotamer_set/RotamerSet.fwd.hh
>
31
// AUTO-REMOVED #include <core/pack/task/operation/TaskOperation.hh>
32
#include <
core/pose/Pose.fwd.hh
>
33
#include <
core/types.hh
>
34
35
// Utility Headers
36
#include <utility/pointer/ReferenceCount.hh>
37
#include <utility/vector1.hh>
38
39
// C++ Headers
40
#include <map>
41
#include <set>
42
#include <string>
43
44
#include <
core/pack/task/PackerTask.fwd.hh
>
45
46
47
namespace
protocols {
48
namespace
motifs {
49
50
class
LigandMotifSearch
:
public
utility::pointer::ReferenceCount
51
{
52
53
public
:
54
55
typedef
core::Real
Real
;
56
typedef
core::Size
Size
;
57
typedef
utility::vector1< Size >
Sizes
;
58
typedef
core::pose::Pose
Pose
;
59
typedef
protocols::dna::DnaDesignDefOP
DnaDesignDefOP
;
60
typedef
protocols::dna::DnaDesignDefOPs
DnaDesignDefOPs
;
61
typedef
core::pack::task::PackerTask
PackerTask
;
62
63
// Constructor
64
LigandMotifSearch
();
65
66
// Destructor
67
virtual
~LigandMotifSearch
();
68
69
// Copy constructor
70
LigandMotifSearch
(
71
LigandMotifSearch
const
& src
72
);
73
74
LigandMotifSearch
const
&
75
operator =
(
76
LigandMotifSearch
const
& src
77
);
78
79
//
80
void
run
(
81
Pose
const
& pose,
82
utility::vector1< Size >
& input_BPs
83
);
84
85
void
run
(
86
Pose
const
& pose,
87
PackerTask
& task
88
);
89
90
void
run
(
91
Pose
const
& pose,
92
core::Real
& ligand_motif_sphere
93
);
94
95
void
initialize
(
96
Pose
const
& pose
97
);
98
99
void
initialize
(
100
Pose
const
& pose,
101
utility::vector1< Size >
& input_BPs
102
);
103
104
void
105
incorporate_motifs
(
106
Pose
const
& pose
107
);
108
109
core::pack::rotamer_set::Rotamers
110
bp_rotamers
(
111
Size
const
seqpos
112
);
113
114
core::pack::rotamer_set::Rotamers
115
get_rotamers
();
116
117
bool
118
protein_dna_motif
();
119
120
void
121
position_vector_setup
(
122
Pose
const
& pose
123
);
124
125
void
126
identify_motif_build_positions
(
127
Pose
const
& pose,
128
Sizes
& build_positions
129
);
130
131
utility::vector1< Size >
132
get_sphere_aa
(
133
Pose
const
& pose,
134
core::Real
cut1
135
);
136
137
/*void
138
fill_bp_allowed_types(
139
Pose const & pose,
140
Size const spos,
141
std::set< std::string > & allowed_types
142
);*/
143
144
void
identify_motif_BuildPositions
(
145
Pose
const
& pose
146
);
147
148
void
149
BuildPosition_from_Size
(
150
Pose
const
& pose,
151
Size
const
input_BP
152
);
153
154
void
155
defs2BuildPositions
(
156
Pose
const
& pose,
157
protocols::dna::DnaDesignDefOPs
const
& defs
158
);
159
160
void
161
defs2BuildPositions_findts
(
162
Pose
const
& pose,
163
protocols::dna::DnaDesignDefOPs
const
& defs
164
);
165
166
utility::vector1< Size >
167
map2keyvector
(
168
std::map<
Size
, std::set< std::string > > mappositions
169
);
170
171
utility::vector1< Size >
172
shorten_target_list
(
173
Pose
const
& pose,
174
Size
const
bp,
175
Sizes
& full_tl
176
);
177
178
void
179
protein_DNA_motif_build_positions_JA
(
180
Pose
const
& pose,
181
Sizes
& build_positions,
182
Sizes
&
target_positions
183
);
184
185
void
186
protein_DNA_motif_target_positions_JA
(
187
Pose
const
& pose,
188
Sizes
& build_positions,
189
Sizes
&
target_positions
,
190
Sizes
& short_tl
191
);
192
193
void
194
override_option_input
(
195
Real
const
& r1,
196
Real
const
& z1,
197
Real
const
& r2,
198
Real
const
& z2,
199
Real
const
& d1,
200
Size
const
& rlevel
201
);
202
203
void
204
reset_option_input
();
205
206
void
207
set_motif_library
(
208
MotifLibrary
& motiflibrary
209
);
210
211
// Accessors
212
MotifCOPs
const
&
motif_library
()
const
{
return
motif_library_
; }
213
Sizes
const
&
dna_positions
()
const
{
return
dna_positions_
; }
214
Sizes
const
&
protein_positions
()
const
{
return
protein_positions_
; }
215
std::map< Size, std::set< std::string > >
const
&
target_positions
()
const
{
return
target_positions_
; }
216
BuildPositionOPs
const
&
build_positionOPs
()
const
{
return
build_positionOPs_
; }
217
std::map< std::string, core::conformation::ResidueOPs >
const
&
target_conformers_map
()
const
{
return
target_conformers_map_
; }
218
Real
const
&
ztest_cutoff_1
()
const
{
return
ztest_cutoff_1_
;}
219
Real
const
&
ztest_cutoff_2
()
const
{
return
ztest_cutoff_2_
;}
220
Real
const
&
rmsd_cutoff_1
()
const
{
return
rmsd_cutoff_1_
;}
221
Real
const
&
rmsd_cutoff_2
()
const
{
return
rmsd_cutoff_2_
;}
222
Real
const
&
dtest_cutoff
()
const
{
return
dtest_cutoff_
;}
223
Size
const
&
rot_level
()
const
{
return
rot_level_
;}
224
bool
const
&
minimize
()
const
{
return
minimize_
;}
225
226
private
:
227
void
init_options
();
228
229
private
:
230
MotifCOPs
motif_library_
;
231
Sizes
dna_positions_
;
232
Sizes
protein_positions_
;
233
std::map< Size, std::set< std::string > >
target_positions_
;
234
BuildPositionOPs
build_positionOPs_
;
235
std::map< std::string, core::conformation::ResidueOPs >
target_conformers_map_
;
236
237
// inputs used for scoring motif, 1s are broader first limit and 2s are a tighter cutoff for final selection
238
Real
ztest_cutoff_1_
;
239
Real
ztest_cutoff_2_
;
240
Real
rmsd_cutoff_1_
;
241
Real
rmsd_cutoff_2_
;
242
Real
dtest_cutoff_
;
243
244
// input rotamer level (4 = all chis explosion, 8 is extra deviations of explosion on all 4 chis)
245
Size
rot_level_
;
246
247
bool
minimize_
;
248
249
// options set in init_options
250
bool
bpdata_
;
251
std::string
bpdata_filename_
;
252
bool
output_
;
253
std::string
output_filename_
;
254
bool
data_
;
255
std::string
data_filename_
;
256
bool
quick_and_dirty_
;
257
bool
dump_motifs_
;
258
bool
clear_bprots_
;
259
Size
rots2add_
;
260
261
};
262
263
}
// namespace motifs
264
}
// namespace protocols
265
266
#endif // INCLUDED_protocols_motifs_LigandMotifSearch
Generated on Sat Jun 1 2013 12:00:02 for Rosetta 3.5 by
1.8.4