Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
H3PerturbCCD.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/H3PerturbCCD.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_H3PerturbCCD_hh
21 #define INCLUDED_protocols_antibody2_H3PerturbCCD_hh
22 
23 
24 #include <protocols/moves/Mover.hh>
26 #include <protocols/loops/Loop.hh>
27 #include <protocols/loops/Loops.hh>
28 #include <core/pose/Pose.hh>
30 #include <core/fragment/FragSet.hh>
35 
36 
37 using namespace core;
38 namespace protocols {
39 namespace antibody2 {
40 
41 
42 
43 class H3PerturbCCD: public moves::Mover {
44 
45 
46 public:
47 
48  /// @brief default constructor
49  H3PerturbCCD();
50 
51  /// @brief constructor with arguments
52  H3PerturbCCD(AntibodyInfoOP antibody_in);
53 
54  /// @brief constructor with arguments
55  H3PerturbCCD(AntibodyInfoOP antibody_in,
56  core::scoring::ScoreFunctionCOP highres_scorefxn);
57 
58  virtual protocols::moves::MoverOP clone() const;
59 
60  /// @brief default destructor
61  ~H3PerturbCCD();
62 
63 
64 
65  virtual void apply( core::pose::Pose & pose );
66 
67  virtual std::string get_name() const {
68  return "H3PerturbCCD";
69  }
70 
71  void read_and_store_fragments();
72 
73 
74  void pass_the_loop(loops::Loop & input_loop){
75  input_loop_ = input_loop;
76  }
77 
79  H3_filter_ = false;
80  }
81 
82  /// @brief set scorefunction for low resolution of CDR H3 modeling
84  lowres_scorefxn_ = new core::scoring::ScoreFunction(*lowres_scorefxn);
85  }
86 
87 private:
88 
90 
92 
95 
96 
97 
98  void set_default();
99  void init();
100 
101  void finalize_setup( core::pose::Pose & pose );
102 
103 
104  /// @brief Build centroid mode CDR H3 loop
105  void build_centroid_loop( core::pose::Pose & pose );
106 
107  void scored_frag_close(
108  core::pose::Pose & pose_in,
109  loops::Loop const trimmed_cdr_h3 );
110 
111 
112 
113  /// @brief size of loop above which 9mer frags are used
114  core::Size cutoff_9_; // default 16
115 
116  /// @brief size of loop above which 3mer frags are used
117  core::Size cutoff_3_; // default 6
118 
120 
122 
123  /// @brief flag indicating that current loop being modeled is CDR H3
125 
126  /// @brief actually enables H3 filter for H3 operations
128 
131 
133 
137 
139 
140 };
141 
142 
143 
144 } // namespace antibody2
145 } // namespace protocols
146 
147 #endif
148 
149 
150 
151