Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseRNA_JobParameters.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_ResidueSampler.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 /// @author Parin Sripakdeevong
16 
17 
18 #ifndef INCLUDED_protocols_swa_rna_StepWiseRNA_JobParameters_HH
19 #define INCLUDED_protocols_swa_rna_StepWiseRNA_JobParameters_HH
20 
23 
24 #include <core/pose/Pose.fwd.hh>
25 #include <core/types.hh>
26 #include <utility/vector1.hh>
27 #include <utility/pointer/ReferenceCount.hh>
28 
29 
30 #include <ObjexxFCL/FArray1D.hh>
31 #include <ObjexxFCL/FArray1D.fwd.hh>
32 
33 #include <string>
34 #include <map>
35 
36 namespace protocols {
37 namespace swa {
38 namespace rna {
39 
41  public:
42 
43  //constructor!
45 
46  //destructor -- necessary?
48 
49  bool const & output_extra_RMSDs() const;
50  bool const & Is_simple_full_length_job_params() const;
51 
52  std::string const & full_sequence() const;
53  std::string const & working_sequence() const;
54 
55  Size const & moving_res() const;
56  Size const & working_moving_res() const;
59 
60  Size const & working_moving_suite() const;
62 
63  Size actually_moving_res() const;
64 
66  std::map< core::Size, core::Size > & full_to_sub();
67  std::map< core::Size, core::Size > & sub_to_full();
68  std::map< core::Size, core::Size > const & const_full_to_sub() const;
69  std::map< core::Size, core::Size > const & const_sub_to_full() const;
70  core::kinematics::FoldTree const & fold_tree() const;
71  std::map< core::Size, bool > const & Is_prepend_map() const;
72 
73 
75  //Size const & which_chain_has_moving_res() const;
76  Size const & gap_size() const;
77  Size const & five_prime_chain_break_res() const;
78 
79  bool const & Is_prepend() const;
80  bool const & Is_internal() const;
81  bool const & add_virt_res_as_root() const;
82 
83  ObjexxFCL::FArray1D< bool > const & partition_definition() const;
84 
89 
93 
94 
97 
98 
101 
104 
107 
110 
113 
114  void set_output_extra_RMSDs( bool const & setting );
115  void set_Is_simple_full_length_job_params( bool const & setting );
116 
117  void set_full_sequence( std::string const & setting );
118  //void set_working_sequence( std::string const & setting );
119  void set_moving_res( Size const & setting );
121 
122  //void set_working_moving_res( Size const & setting );
123  //void set_working_moving_suite_list( utility::vector1< core::Size > const & setting );
124  //void set_working_moving_suite( Size const & setting );
125 
126  void set_is_working_res( utility::vector1< core::Size > const & setting );
127  void set_full_to_sub( std::map< core::Size, core::Size > const & setting );
128 
129  void set_fold_tree(core::kinematics::FoldTree const & setting);
130  void set_Is_prepend_map( std::map< core::Size, bool > const & setting );
131 
132 
133  void set_chain_boundaries( utility::vector1< std::pair< core::Size, core::Size > > const & setting );
134  //void set_which_chain_has_moving_res( Size const & setting );
135  void set_gap_size( Size const & setting );
136  void set_five_prime_chain_break_res( Size const & setting );
137 
138  void set_Is_prepend( bool const & setting );
139  void set_Is_internal( bool const & setting );
140  void set_partition_definition( ObjexxFCL::FArray1D< bool > const & setting );
141 
143  void set_working_fixed_res( utility::vector1< core::Size > const & working_fixed_res);
144  void set_rmsd_res_list( utility::vector1< core::Size > const & rmsd_res_list);
145  void set_working_terminal_res( utility::vector1< core::Size > const & working_terminal_res);
146  void set_working_moving_partition_pos( utility::vector1< core::Size > const & working_moving_partition_pos);
150 
153 
159  void set_add_virt_res_as_root( bool const setting){ add_virt_res_as_root_=setting; }
160 
161 
163 
164 
165 
166  private:
167 
170 
171  std::map< core::Size, core::Size > create_sub_to_full_map(std::map< core::Size, core::Size > const & full_to_sub) const;
172 
173  private:
174 
175  bool output_extra_RMSDs_; //Used in StepWiseRNA_Output_Data.cc
177 
180 
186 
188  std::map< core::Size, core::Size > full_to_sub_;
189  std::map< core::Size, core::Size > sub_to_full_;
190  std::map< core::Size, bool > Is_prepend_map_;
191 
193  //Size which_chain_has_moving_res_;
196 
200 
201  ObjexxFCL::FArray1D< bool > partition_definition_;
202 
204 
213 
216 
219 
222 
225 
228 
229 
232 
233 
234  };
235 
236 }
237 } //swa
238 } // protocols
239 
240 #endif
241