Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
22 #include <core/pose/Pose.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  /////////////////////////////////////////////////////////////////////////////////////////////////
43  public:
44 
45  //constructor!
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
56 
57  virtual void apply();
58 
60 
61  void
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
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
76 
77  void
79 
80  void
82 
83  void
84  set_native_alignment_res(utility::vector1< Size > const & native_alignment);
85 
86  void
88 
89  void
91 
92  void
94 
95  void
97 
98  void
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
115 
116  void
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
134 
135  void
137 
138  void
140 
141  void
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
155 
156  void
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 
167 
168  void
170 
171  core::Size
172  reroot_fold_tree(core::Size const fake_working_moving_suite);
173 
174  core::Size
176 
177 // void
178 // reset_Is_prepend(core::Size const root_res);
179 
180  void
182 
185 
188 
189 
190  /////////////////////////////////////////////////////////////////////////////////////
191 
192  private:
193 
196 
200 
201  ObjexxFCL::FArray1D< bool > is_cutpoint_;
205 
207 
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
217 
218  };
219 
220 }
221 } //swa
222 } // protocols
223 
224 #endif