Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RefineOneCDRLoop.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/RefineOneCDRLoop.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_RefineOneCDRLoop_hh
21 #define INCLUDED_protocols_antibody2_RefineOneCDRLoop_hh
22 
23 
24 #include <core/pose/Pose.hh>
27 #include <protocols/loops/Loops.hh>
28 #include <protocols/moves/Mover.hh>
31 
32 
33 
34 using namespace core;
35 namespace protocols {
36 namespace antibody2 {
37 
39 
40 
41 public:
42 
43  /// @brief default constructor
45 
46  /// @brief constructor with arguments
47  RefineOneCDRLoop( AntibodyInfoOP antibody_info);
48 
49  /// @brief constructor with arguments
50  RefineOneCDRLoop(AntibodyInfoOP antibody_info, std::string refine_mode);
51 
52  /// @brief constructor with arguments
53  RefineOneCDRLoop(AntibodyInfoOP antibody_info, std::string refine_mode,
55 
56  /// @brief constructor with arguments
57  RefineOneCDRLoop(AntibodyInfoOP antibody_info,
58  AntibodyCDRNameEnum const & cdr_loop_name,
59  std::string refine_mode,
61 
62  /// @brief default destructor
64 
65 
67  benchmark_=true;
68  }
69  void set_h3_filter(bool setting){
70  H3_filter_=setting;
71  }
73  num_filter_tries_=setting;
74  }
75  void set_flank_relax(bool setting){
76  flank_relax_=setting;
77  }
78  void set_flank_size(core::Size setting){
79  flank_size_=setting;
80  }
81  void set_refine_mode(std::string refine_mode){
82  refine_mode_ = refine_mode;
83  }
84  virtual void apply( core::pose::Pose & pose );
85 
86 
87  void set_score_function(core::scoring::ScoreFunctionCOP scorefxn);
88 
89  void pass_start_pose(core::pose::Pose & start_pose);
90  virtual std::string get_name() const;
91  virtual protocols::moves::MoverOP clone() const;
92 
93 
94 private:
95 
98  bool benchmark_;
109 
110  void set_default();
111  void init();
112  void finalize_setup( core::pose::Pose & pose );
113 
114 };
115 
116 
117 
118 
119 
120 
121 
122 } // namespace antibody2
123 } // namespace protocols
124 
125 #endif
126 
127