Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ModelCDRH3.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/ModelCDRH3.hh
12 /// @brief
13 ///// @author Jianqing Xu ( xubest@gmail.com )
14 //
15 
16 
17 #ifndef INCLUDED_protocols_antibody2_ModelCDRH3_hh
18 #define INCLUDED_protocols_antibody2_ModelCDRH3_hh
19 
21 
25 #include <core/pose/Pose.hh>
29 #include <protocols/moves/Mover.hh>
30 #include <utility/vector1.fwd.hh>
34 #include <basic/Tracer.hh>
36 
37 
38 
39 
40 using namespace core;
41 
42 namespace protocols {
43 namespace antibody2 {
44 
45 //////////////////////////////////////////////////////////////////////////
46 /// @brief Ab initio modeling of CDR H3 loop
47 /// @details
49 public:
50  /// @brief default constructor
51  ModelCDRH3();
52 
53  /// @brief constructor with arguments
54  ModelCDRH3( AntibodyInfoOP antibody_info );
55 
56  /// @brief constructor with arguments
57  ModelCDRH3( AntibodyInfoOP antibody_info ,
58  core::scoring::ScoreFunctionCOP lowres_scorefxn);
59 
60  /// @brief default destructor
61  ~ModelCDRH3();
62 
63  void set_default();
64  virtual void apply( pose::Pose & pose_in );
65  virtual std::string get_name() const;
66 
67  /// @brief enable benchmark mode
68  inline void enable_benchmark_mode( bool setting ) {
69  benchmark_ = setting;
70  }
71 
72  /// @brief enable camelid modeling mode
73  inline void set_camelid( bool setting ) {
74  is_camelid_ = setting;
75  }
76 
77 
78  /// @brief set scorefunction for low resolution of CDR H3 modeling
79  void set_lowres_score_func(core::scoring::ScoreFunctionCOP lowres_scorefxn );
80 
81  /// @brief set task factory
82  void set_task_factory(pack::task::TaskFactoryCOP tf);
83 
84  void turn_off_H3_filter();
85 
87  do_cter_insert_ = false;
88  }
89 
90 
92  remodel_ = setting;
93  }
94 
95  void set_bad_nter(bool setting){
96  bad_nter_ = setting;
97  }
98 
99 private:
101 
103 
104  // constraints
107 
108 
109  /// @brief Number of ADDITIONAL residues modeled from H3_CTERM
110  /// These residues range from H:n-2,n-1,n,n+1 of H3
112 
114 
115 
116  // score functions
118 
119  /// @brief benchmark flag
121 
122  /// @brief loop_building in docking
124 
125  /// @brief insert fragment in docking
126  bool dle_flag_;
127 
128  bool bad_nter_;
129 
130 
131  /// @brief is camelid antibody without light chain
133 
135 
136  //packer task
138 
139  void init();
140 
144 
145 
147 
148 }; // class ModelCDRH3
149 
150 
151 
152 
153 
154 // JQX: make a class, which inherits from abstract class "loop_mover"
155 //class my_LoopMover: public protocols::loops::loop_mover::LoopMover {
156 //protected:
157 // virtual basic::Tracer & tr() const;
158 //};
159 
160 
161 
162 
163 } // antibody2
164 } // protocols
165 
166 
167 #endif