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
coarse_rna
CoarseRNA_DeNovoProtocol.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 RNA_DeNovo_Protocol.hh
11
/// @brief
12
/// @detailed
13
///
14
/// @author Rhiju Das
15
16
17
#ifndef INCLUDED_protocols_coarse_rna_CoarseRNA_DeNovoProtocol_HH
18
#define INCLUDED_protocols_coarse_rna_CoarseRNA_DeNovoProtocol_HH
19
20
#include <
core/types.hh
>
21
// AUTO-REMOVED #include <core/chemical/ResidueTypeSet.fwd.hh>
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/scoring/ScoreFunction.fwd.hh
>
24
#include <
core/scoring/constraints/ConstraintSet.fwd.hh
>
25
#include <
protocols/rna/RNA_FragmentMover.fwd.hh
>
26
#include <
protocols/moves/Mover.hh
>
27
#include <
protocols/moves/MonteCarlo.fwd.hh
>
28
#include <
protocols/rna/MultipleDomainMover.fwd.hh
>
29
#include <
protocols/rna/RNA_ChunkLibrary.fwd.hh
>
30
#include <
protocols/rna/RNA_StructureParameters.fwd.hh
>
31
#include <
protocols/rna/RNA_DataReader.fwd.hh
>
32
#include <
protocols/coarse_rna/CoarseRNA_LoopCloser.fwd.hh
>
33
34
#include <utility/vector1.hh>
35
36
//Oooh.
37
// AUTO-REMOVED #include <ObjexxFCL/FArray1D.hh>
38
39
//// C++ headers
40
// AUTO-REMOVED #include <cstdlib>
41
#include <string>
42
43
//Auto Headers
44
namespace
protocols {
45
namespace
coarse_rna {
46
47
/// @brief The RNA de novo structure modeling protocol
48
class
CoarseRNA_DeNovoProtocol
:
public
protocols::moves::Mover
{
49
public
:
50
51
/// @brief Construct the protocol object given
52
/// the RNA fragment library to use.
53
CoarseRNA_DeNovoProtocol
(
54
Size
const
nstruct,
55
Size
const
monte_carlo_cycles,
56
std::string
const
silent_file );
57
58
~CoarseRNA_DeNovoProtocol
();
59
60
/// @brief Clone this object
61
virtual
protocols::moves::MoverOP
clone
()
const
;
62
63
/// @brief Apply the loop-rebuild protocol to the input pose
64
void
apply
(
core::pose::Pose
& pose );
65
66
virtual
std::string
get_name
()
const
;
67
68
void
69
set_dump_pdb
(
bool
const
setting ){
dump_pdb_
= setting; };
70
71
void
72
set_force_ideal_chainbreak
(
bool
const
& setting ){
force_ideal_chainbreak_
= setting; }
73
74
void
75
set_check_pairing_dists
(
bool
const
& setting ){
check_pairing_dists_
= setting; }
76
77
void
78
set_add_base_pair_constraints
(
bool
const
& setting ){
add_base_pair_constraints_
= setting; }
79
80
void
81
set_jump_library_file
(
std::string
const
jump_library_file ) {
82
jump_library_file_
= jump_library_file;
83
}
84
85
void
86
set_rna_params_file
(
std::string
const
file ) {
87
rna_params_file_
= file;
88
}
89
90
void
91
set_rna_data_file
(
std::string
const
file ) {
92
rna_data_file_
= file;
93
}
94
95
void
96
set_chunk_silent_files
(
utility::vector1< std::string >
const
& chunk_silent_files ) {
97
chunk_silent_files_
= chunk_silent_files;
98
}
99
100
void
101
set_input_res
(
utility::vector1< core::Size >
const
& setting ){
input_res_
= setting; }
102
103
104
105
void
106
set_lores_scorefxn
(
std::string
const
& lores_scorefxn ){
lores_scorefxn_
= lores_scorefxn; }
107
108
void
109
output_to_silent_file
(
core::pose::Pose
& pose,
std::string
const
& silent_file,
std::string
const
& out_file_tag,
bool
const
score_only =
false
)
const
;
110
111
void
112
set_temperature
(
core::Real
const
& setting){
m_Temperature_
= setting; }
113
114
void
115
set_staged_constraints
(
bool
const
& setting){
staged_constraints_
= setting; }
116
117
void
118
set_sim_anneal
(
bool
const
& setting){
sim_anneal_
= setting; }
119
120
void
121
set_close_loops
(
bool
const
& setting){
close_loops_
= setting; }
122
123
void
124
set_choose_best_solution
(
bool
const
& setting){
choose_best_solution_
= setting; }
125
126
void
127
set_freeze_domains
(
bool
const
& setting){
freeze_domains_
= setting; }
128
129
private
:
130
131
void
132
initialize_movers
(
core::pose::Pose
& pose );
133
134
void
135
initialize_tag_is_done
();
136
137
core::Real
138
get_temperature
(
Size
const
& r,
Size
const
& rounds )
const
;
139
140
void
141
do_random_fragment_insertions
(
core::pose::Pose
& pose );
142
143
void
144
RNA_move_trial
(
core::pose::Pose
& pose );
145
146
void
147
random_fragment_trial
(
core::pose::Pose
& pose );
148
149
void
150
random_domain_move_trial
(
core::pose::Pose
& pose );
151
152
void
153
initialize_constraints
(
core::pose::Pose
& pose );
154
155
Size
156
figure_out_constraint_separation_cutoff
(
Size
const
& r,
Size
const
& rounds,
Size
const
& max_dist );
157
158
void
159
update_pose_constraints
(
Size
const
& r,
Size
const
& rounds,
core::pose::Pose
& pose );
160
161
void
162
update_domain_rot_trans_mag
(
Size
const
& r,
Size
const
& rounds );
163
164
void
165
fill_pairing_dists
(
core::pose::Pose
& pose );
166
167
void
168
check_new_pairing_dists
(
core::pose::Pose
& pose,
Size
const
& frag_pos );
169
170
private
:
171
172
// protocol-specific data ... need to be specified as input.
173
Size
const
nstruct_
;
174
Size
const
monte_carlo_cycles_
;
175
Size
const
rounds_
;
176
std::string
const
silent_file_
;
177
bool
freeze_domains_
;
178
bool
dump_pdb_
;
179
core::Real
domain_move_frequency_
;
180
181
// parameters
182
core::Real
m_Temperature_
;
// default temperature for monte carlo
183
bool
sim_anneal_
;
184
185
core::scoring::constraints::ConstraintSetOP
constraint_set_
;
186
bool
staged_constraints_
;
187
188
Size
frag_size_
;
189
190
protocols::moves::MonteCarloOP
monte_carlo_
;
191
192
std::string
rna_params_file_
;
193
std::string
rna_data_file_
;
194
std::string
all_rna_fragments_file_
;
195
std::string
jump_library_file_
;
196
197
std::map< std::string, bool >
tag_is_done_
;
198
199
std::string
lores_scorefxn_
;
200
core::scoring::ScoreFunctionOP
denovo_scorefxn_
;
201
202
protocols::rna::RNA_FragmentMoverOP
frag_mover_
;
203
protocols::rna::RNA_StructureParametersOP
rna_structure_parameters_
;
204
protocols::rna::RNA_DataReaderOP
rna_data_reader_
;
205
protocols::rna::RNA_ChunkLibraryOP
rna_chunk_library_
;
206
protocols::coarse_rna::CoarseRNA_LoopCloserOP
rna_loop_closer_
;
207
protocols::rna::MultipleDomainMoverOP
multiple_domain_mover_
;
208
209
utility::vector1< std::string >
chunk_silent_files_
;
210
utility::vector1< core::Size >
input_res_
;
211
212
bool
close_loops_
;
213
bool
choose_best_solution_
;
214
bool
force_ideal_chainbreak_
;
215
bool
add_base_pair_constraints_
;
216
bool
check_pairing_dists_
;
217
bool
view_monte_carlo_
;
218
219
utility::vector1< core::Real >
pairing_dists_
;
220
221
};
// class CoarseRNA_DeNovoProtocol
222
223
224
225
}
226
}
// protocols
227
228
#endif
Generated on Sat Jun 1 2013 11:45:13 for Rosetta 3.5 by
1.8.4