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
swa
rna
StepWiseRNA_JobParameters_Setup.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 SWA_JobParameters_Setup.hh
11
/// @brief
12
/// @detailed
13
///
14
/// @author Parin Sripakdeevong
15
/// @author Rhiju Das
16
17
18
#ifndef INCLUDED_protocols_swa_rna_StepWiseRNA_JobParameters_Setup_HH
19
#define INCLUDED_protocols_swa_rna_StepWiseRNA_JobParameters_Setup_HH
20
21
#include <
protocols/swa/rna/StepWiseRNA_Util.hh
>
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/chemical/ResidueTypeSet.fwd.hh
>
24
#include <
protocols/swa/rna/StepWiseRNA_JobParameters.fwd.hh
>
25
#include <
core/types.hh
>
26
#include <utility/vector1.hh>
27
#include <
protocols/moves/Mover.hh
>
28
#include <ObjexxFCL/FArray1D.fwd.hh>
29
#include <ObjexxFCL/FArray1D.hh>
30
31
#include <string>
32
#include <map>
33
34
namespace
protocols {
35
namespace
swa {
36
namespace
rna {
37
38
39
40
/////////////////////////////////////////////////////////////////////////////////////////////////
41
/////////////////////////////////////////////////////////////////////////////////////////////////
42
class
StepWiseRNA_JobParameters_Setup
:
public
utility::pointer::ReferenceCount
{
43
public
:
44
45
//constructor!
46
StepWiseRNA_JobParameters_Setup
(
utility::vector1< core::Size >
const
& moving_res_list,
47
std::string
const
& full_sequence,
48
utility::vector1< core::Size >
const
& input_res,
49
utility::vector1< core::Size >
const
& input_res2,
50
utility::vector1< core::Size >
const
& cutpoint_open,
51
Size
const
& cutpoint_closed );
52
53
54
//destructor -- necessary? yes of course it is
55
virtual
~StepWiseRNA_JobParameters_Setup
();
56
57
virtual
void
apply
();
58
59
StepWiseRNA_JobParametersOP
&
job_parameters
();
60
61
void
62
set_fixed_res
(
utility::vector1 < core::Size >
const
& fixed_res );
63
64
// Undefined, commenting out to fix PyRosetta build void set_virtual_res(utility::vector1 < core::Size > const & set_virtual_res_list);
65
66
void
67
set_terminal_res
(
utility::vector1 < core::Size >
const
& terminal_res );
68
69
// // Undefined, commenting out to fix PyRosetta build void set_bulge_res(utility::vector1 < core::Size > const & bulge_res );
70
71
void
72
set_jump_point_pair_list
(
utility::vector1< std::string >
const
& jump_point_pairs_string);
73
74
void
75
set_rmsd_res_list
(
utility::vector1< core::Size >
const
& setting );
76
77
void
78
set_alignment_res
(
utility::vector1< std::string >
const
& setting){
alignment_res_string_list_
=setting; }
79
80
void
81
set_filter_user_alignment_res
(
bool
const
setting){
filter_user_alignment_res_
=setting; }
82
83
void
84
set_native_alignment_res
(
utility::vector1< Size >
const
& native_alignment);
85
86
void
87
set_global_sample_res_list
(
utility::vector1 < core::Size >
const
& setting );
88
89
void
90
set_force_syn_chi_res_list
(
utility::vector1 < core::Size >
const
& setting );
91
92
void
93
set_force_north_ribose_list
(
utility::vector1 < core::Size >
const
& setting );
94
95
void
96
set_force_south_ribose_list
(
utility::vector1 < core::Size >
const
& setting );
97
98
void
99
set_protonated_H1_adenosine_list
(
utility::vector1 < core::Size >
const
& setting );
100
101
void
102
set_output_extra_RMSDs
(
bool
const
setting);
103
104
void
105
set_add_virt_res_as_root
(
bool
const
setting);
106
107
void
108
set_input_tags
(
utility::vector1< std::string >
const
& setting){
input_tags_
=setting; }
//Only called if check_for_previously_closed_cutpoint_with_input_pose is true
109
110
void
111
set_silent_files_in
(
utility::vector1< std::string >
const
& setting){
silent_files_in_
= setting; }
//Only called if check_for_previously_closed_cutpoint_with_input_pose is true
112
113
void
114
set_allow_chain_boundary_jump_partner_right_at_fixed_BP
(
bool
const
setting){
allow_chain_boundary_jump_partner_right_at_fixed_BP_
=setting; }
115
116
void
117
set_allow_fixed_res_at_moving_res
(
bool
const
setting){
allow_fixed_res_at_moving_res_
=setting; }
118
119
void
120
set_simple_append_map
(
bool
const
setting){
simple_append_map_
=setting; }
121
122
void
123
set_skip_complicated_stuff
(
bool
const
setting){
skip_complicated_stuff_
=setting; }
124
125
126
private
:
127
128
void
129
check_moving_res_in_chain
(
Size
const
& start_chain,
Size
const
& end_chain,
130
Size
const
& num_chains,
Size
& which_chain_has_moving_res );
131
132
void
133
figure_out_working_sequence_and_mapping
();
134
135
void
136
setup_additional_cutpoint_closed
();
137
138
void
139
figure_out_chain_boundaries
();
140
141
void
142
figure_out_jump_partners
();
143
144
void
145
figure_out_cuts
();
146
147
void
148
setup_fold_tree
();
149
150
void
151
figure_out_Prepend_Internal
(
core::Size
const
root_res,
InternalWorkingResidueParameter
const
& internal_params);
152
153
void
154
figure_out_working_moving_suite
();
155
156
void
157
figure_out_Is_prepend_map
();
158
159
bool
160
figure_out_Is_residue_prepend
(
core::Size
const
seq_num)
const
;
161
162
core::Size
163
input_struct_definition
(
core::Size
const
working_seq_num);
164
165
InternalWorkingResidueParameter
166
figure_out_partition_definition
();
167
168
void
169
figure_out_gap_size_and_five_prime_chain_break_res
();
170
171
core::Size
172
reroot_fold_tree
(
core::Size
const
fake_working_moving_suite);
173
174
core::Size
175
reroot_fold_tree_simple
();
176
177
// void
178
// reset_Is_prepend(core::Size const root_res);
179
180
void
181
figure_out_best_working_alignment
();
182
183
utility::vector1< core::Size >
184
get_user_input_alignment_res_list
(
core::Size
const
root_res);
185
186
utility::vector1< core::Size >
187
get_previously_closed_cutpoint_from_imported_silent_file
()
const
;
188
189
190
/////////////////////////////////////////////////////////////////////////////////////
191
192
private
:
193
194
Size
const
moving_res_
;
195
utility::vector1< core::Size >
const
moving_res_list_
;
196
197
utility::vector1< Size >
const
cutpoint_open_
;
198
utility::vector1< Size >
added_cutpoint_closed_
;
199
utility::vector1< Size >
fixed_res_
;
200
201
ObjexxFCL::FArray1D< bool >
is_cutpoint_
;
202
utility::vector1< std::pair< core::Size, core::Size >
>
jump_point_pair_list_
;
203
utility::vector1< std::pair< core::Size, core::Size >
>
jump_partners_
;
204
utility::vector1< core::Size >
cuts_
;
205
206
StepWiseRNA_JobParametersOP
job_parameters_
;
207
208
utility::vector1< std::string >
alignment_res_string_list_
;
209
bool
filter_user_alignment_res_
;
210
211
utility::vector1< std::string >
input_tags_
;
//for check_for_previously_closed_cutpoint_with_input_pose
212
utility::vector1< std::string >
silent_files_in_
;
//for check_for_previously_closed_cutpoint_with_input_pose
213
bool
allow_chain_boundary_jump_partner_right_at_fixed_BP_
;
214
bool
allow_fixed_res_at_moving_res_
;
215
bool
simple_append_map_
;
216
bool
skip_complicated_stuff_
;
217
218
};
219
220
}
221
}
//swa
222
}
// protocols
223
224
#endif
Generated on Sat Jun 1 2013 12:19:41 for Rosetta 3.5 by
1.8.4