Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RefineOneCDRLoopCentroid.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
6 // (c) under license. The Rosetta software is developed by the contributing
7 // (c) members of the Rosetta Commons. For more information, see
8 // (c) http://www.rosettacommons.org. Questions about this can be addressed to
9 // (c) University of Washington UW TechTransfer, email:license@u.washington.edu
10 
11 /// @file protocols/antibody2/RefineOneCDRLoopCentroid.hh
12 /// @brief Build a homology model of an antibody2
13 /// @detailed
14 ///
15 ///
16 /// @author Jianqing Xu (xubest@gmail.com)
17 
18 
19 
20 #ifndef INCLUDED_protocols_antibody2_RefineOneCDRLoopCentroid_hh
21 #define INCLUDED_protocols_antibody2_RefineOneCDRLoopCentroid_hh
22 
23 
24 #include <core/pose/Pose.hh>
27 #include <protocols/loops/Loops.hh>
29 #include <protocols/moves/Mover.hh>
34 
35 
36 
37 using namespace core;
38 namespace protocols {
39 namespace antibody2 {
40 
42 
43 
44 public:
45 
46  /// @brief constructor with arguments
48  AntibodyCDRNameEnum const & loop_name);
49 
51  AntibodyCDRNameEnum const & loop_name,
53 
54  /// @brief constructor with arguments
55  RefineOneCDRLoopCentroid( loops::Loop const & a_cdr_loop);
56 
57  RefineOneCDRLoopCentroid( loops::Loop const & a_cdr_loop,
59 
60  /// @brief default destructor
62 
63 
64  virtual void apply( pose::Pose & pose );
65 
66  virtual std::string get_name() const;
67 
68 
69  void set_benchmark(bool const & setting){
70  benchmark_ = setting;
71  }
72  void set_snugfit(bool const & setting){
73  snug_fit_ = setting;
74  }
75  void set_refine_input_loop(bool const & setting){
76  refine_input_loop_ = setting;
77  }
78 
79  void set_score_function(core::scoring::ScoreFunctionCOP scorefxn);
80 
81 
82 private:
83  void set_default();
84  void finalize_setup( core::pose::Pose const & pose );
85  void loop_centroid_relax(
86  pose::Pose & pose,
87  Size const loop_begin,
88  Size const loop_end );
89 
90 private:
92 
93  bool benchmark_;
94  bool snug_fit_;
97 
98 };
99 
100 
101 
102 
103 
104 } // namespace antibody2
105 } // namespace protocols
106 
107 #endif
108 
109