Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseRNA_PoseSetup.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_PoseSetup.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Parin Sripakdeevong
15 /// @author Rhiju Das
16 
17 
18 #ifndef INCLUDED_protocols_swa_rna_StepWiseRNA_PoseSetup_hh
19 #define INCLUDED_protocols_swa_rna_StepWiseRNA_PoseSetup_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 
35 namespace protocols {
36 namespace swa {
37 namespace rna {
38 
39  // typedef std::map< std::string, core::pose::PoseOP > PoseList;
40 
41  /////////////////////////////////////////////////////////////////////////////////////////////////
42  /////////////////////////////////////////////////////////////////////////////////////////////////
44  public:
45 
46  //constructor!
48 
49  //destructor -- necessary?
51 
52  /////////////////////////////////////////////////////////////////////////
53 
54  virtual void apply( core::pose::Pose & pose);
55 
56  virtual std::string get_name() const;
57 
58  void
59  set_input_tags( utility::vector1< std::string > const & setting){ input_tags_=setting; } //Only called if COPY_DOF is true
60 
61  void
62  set_silent_files_in( utility::vector1< std::string > const & setting){ silent_files_in_= setting; } //Only called if COPY_DOF is true
63 
64  void
65  set_bulge_res( utility::vector1 < core::Size > const & bulge_res ){ bulge_res_ = bulge_res; }
66 
67  void
68  set_virtual_res( utility::vector1 < core::Size > const & virtual_res_list){ virtual_res_list_ = virtual_res_list; }
69 
70  void
71  set_native_virtual_res( utility::vector1 < core::Size > const & native_virtual_res_list ){ native_virtual_res_list_ = native_virtual_res_list; } //Parin Mar 22, 2010
72 
73  void
74  set_copy_DOF( bool const setting){ copy_DOF_=setting;} //Parin Mar 29, 2010
75 
76  void
77  set_verbose( bool const setting){ verbose_=setting;}
78 
79  void
81 
82  void
83  set_rebuild_bulge_mode( bool const setting){ rebuild_bulge_mode_=setting;}
84 
85  void
86  set_output_pdb( bool const setting){ output_pdb_=setting;}
87 
88  void
90 
91  void
92  set_align_to_native( bool const setting){ align_to_native_=setting;}
93 
94  private:
95 
96  void
97  Import_pose( Size const & i, core::pose::Pose & import_pose) const; //Only called if COPY_DOF is true
98 
99  void
100  make_pose( core::pose::Pose & pose ); //Only called if COPY_DOF is true
101 
102  void
103  read_input_pose_and_copy_dofs( core::pose::Pose & pose ); //Only called if COPY_DOF is true
104 
105  void
106  apply_cutpoint_variants( core::pose::Pose & pose , core::pose::Pose & pose_without_cutpoints);
107 
108  void
109  apply_bulge_variants( core::pose::Pose & pose ) const;
110 
111  void
113 
114  void
116 
117  void
119 
120  void
122 
123  core::Real
124  get_nearest_dist_to_O2star( core::Size const O2star_seq_num, core::pose::Pose const & input_pose, utility::vector1< core::Size > const input_res_list , utility::vector1< core::Size > const & common_res_list);
125 
126  //void
127  //ensure_idealize_bond_length_bond_angle_at_cutpoint( core::pose::Pose & working_pose);
128 
129  void
131 
132  void
134 
135  void
137 
138  private:
139 
140 // utility::vector1< utility::vector1< Size > > input_res_vectors_;
141 
146  bool copy_DOF_;
147  bool verbose_;
148 
152 
157 
158  };
159 
160 }
161 } //swa
162 } // protocols
163 
164 #endif