Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
H3RefineCCD.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/H3RefineCCD.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_H3RefineCCD_hh
21 #define INCLUDED_protocols_antibody2_H3RefineCCD_hh
22 
23 
24 #include <core/pose/Pose.hh>
28 
29 #include <protocols/loops/Loops.hh>
30 
33 
34 #include <protocols/moves/Mover.hh>
38 
41 
42 
43 using namespace core;
44 namespace protocols {
45 namespace antibody2 {
46 
47 class H3RefineCCD: public moves::Mover {
48 
49 
50 public:
51 
52  /// @brief default constructor
53  H3RefineCCD();
54 
55  /// @brief constructor with arguments
56  H3RefineCCD(AntibodyInfoOP antibody_info, AntibodyCDRNameEnum loop_name);
57 
58  /// @brief constructor with arguments
59  H3RefineCCD(AntibodyInfoOP antibody_info, AntibodyCDRNameEnum loop_name,
60  core::scoring::ScoreFunctionCOP highres_scorefxn );
61 
62  /// @brief constructor with arguments
63  H3RefineCCD( AntibodyInfoOP antibody_info);
64 
65 
66  void set_task_factory(pack::task::TaskFactoryCOP tf);
67 
68  virtual protocols::moves::MoverOP clone() const;
69 
70  /// @brief default destructor
71  ~H3RefineCCD();
72 
73 
74  void pass_start_pose(core::pose::Pose & start_pose);
75  void turn_on_benchmark(){benchmark_=true;}
76  void turn_off_flank_relax(){flank_relax_ = false;}
77  void turn_off_h3_filter(){H3_filter_=false;}
78 
79  virtual void apply( core::pose::Pose & pose );
80 
81  virtual std::string get_name() const;
82 
84  highres_scorefxn_ = new core::scoring::ScoreFunction(*highres_scorefxn);
85  }
86 
87 private:
88 
93  core::Size loop_begin_,loop_end_,loop_size_;
96  core::Size inner_cycles_, outer_cycles_;
98 
101 
105 
106 
107  // the objects
114 
116 
117  core::Real init_temp_, last_temp_, gamma_;
118 
119  void set_default();
120  void init();
121  void finalize_setup( core::pose::Pose & pose );
122 
123 
127 
128  // score functions
130 
131 
132  /// @brief actually enables H3 filter for H3 operations
134 
135 
136  /// @brief number of flanking residues:default 5
138 
139  /// @brief relax flanking regions of h3
141 
143 
144  //packer task
146 
147  /// @brief just refine input loop
149 
151 
152 };
153 
154 
155 
156 
157 
158 
159 
160 } // namespace antibody2
161 } // namespace protocols
162 
163 #endif