Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseScreener.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_Screener.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_swa_StepWiseScreener_hh
18 #define INCLUDED_protocols_swa_StepWiseScreener_hh
19 
20 #include <core/pose/Pose.fwd.hh>
21 // AUTO-REMOVED #include <core/pose/Pose.hh>
22 #include <core/types.hh>
24 #include <utility/vector1.hh>
27 #include <protocols/moves/Mover.hh>
29 #include <string>
30 #include <map>
31 
32 //Auto Headers
33 
34 
35 namespace protocols {
36 namespace swa {
37 
38 typedef std::map< std::string, core::pose::PoseOP > PoseList;
39 typedef std::map< core::Size, core::Size > ResMap;
40 /////////////////////////////////////////////////////////////////////////////////////////////////
41 /////////////////////////////////////////////////////////////////////////////////////////////////
43 public:
44 
45  //constructor!
47  utility::vector1< Size > const & moving_residues
48  );
49 
50  //destructor -- necessary? -- YES destructors are necessary.
52 
53  /// @brief Apply the minimizer to one pose
54  virtual void apply( core::pose::Pose & pose_to_visualize );
55  virtual std::string get_name() const;
56 
57  void
58  set_silent_file( std::string const & setting );
59 
60  void
61  set_rmsd_cutoff( core::Real const & setting );
62 
63  void
64  set_n_sample( core::Size const & setting );
65 
66  void
67  set_nstruct_centroid( core::Size const & setting );
68 
69  void
70  set_filter_native_big_bins( bool const & setting );
71 
72  void
73  set_centroid_screen( bool const & setting );
74 
75  void
76  set_ghost_loops( bool const & setting );
77 
78  void
79  set_apply_vdw_cut( bool const & setting );
80 
81  void
83 
84  void
85  set_centroid_score_diff_cut( core::Real const & setting );
86 
88 
89 private:
90 
91  void
93 
94  void
95  prepare_ghost_pose( core::pose::Pose const & pose );
96 
97  void
99  core::pose::PoseOP & ghost_pose,
100  std::string const & desired_sequence,
101  core::pose::Pose const & template_pose,
102  ResMap const & ghost_map,
104  );
105 
106  void
107  copy_coords( core::pose::Pose & pose, core::pose::Pose const & template_pose, ResMap const & ghost_map ) const;
108 
110  figure_out_fold_tree( ResMap const & ghost_map ) const;
111 
112  void
114  Size const which_res,
115  Size & count,
116  core::pose::Pose & pose
117  );
118 
119  void
121  core::pose::Pose & pose,
122  std::string const & tag
123  );
124 
125  void
127  core::Size const & n,
128  core::pose::Pose const & pose,
129  MainChainTorsionSetList & main_chain_torsion_set_list
130  );
131 
132  void
134  core::Size const & n,
135  core::pose::Pose const & pose,
136  MainChainTorsionSetList & main_chain_torsion_set_list
137  );
138 
139  void
141  core::Size const & n, core::pose::Pose const & pose, core::Real const & best_energy_cutoff,
142  MainChainTorsionSetList & main_chain_torsion_set_list
143  );
144 
145 
146  void
148  core::Size const & n, core::pose::Pose const & pose, core::Real const & best_energy_cutoff,
149  MainChainTorsionSetList & main_chain_torsion_set_list
150  );
151 
152 
153  void
155  core::Size const & n,
156  core::pose::Pose const & pose,
157  core::Real const & best_energy_cutoff,
158  MainChainTorsionSetList & main_chain_torsion_set_list
159  );
160 
161 
162  void
164  core::Size const & n,
165  core::pose::Pose const & pose,
166  core::Real const & best_energy_cutoff,
167  MainChainTorsionSetList & main_chain_torsion_set_list
168  );
169 
170 
171  void
173  core::Size const & n, core::pose::Pose const & pose, core::Real const & best_energy_cutoff,
174  MainChainTorsionSetList & main_chain_torsion_set_list
175  );
176 
177  void
179  core::Size const & n,
180  MainChainTorsionSetList & main_chain_torsion_set_list
181  );
182 
183 private:
184 
185  core::Size
186  get_big_bin( core::Real const phi, core::Real const psi ) const;
187 
188  void
190  core::pose::Pose const & pose, core::pose::PoseCOP const & native_pose_op,
191  std::string const silent_file, std::string const & tag );
192 
193  void
195 
196 
197 private:
198 
202 
209 
212 
214 
216 
220 
224 
225 };
226 
227 } //swa
228 } // protocols
229 
230 #endif