Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GraftCDRLoopsProtocol.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/GraftCDRLoopsProtocol.hh
12 /// @brief Build a homology model of an antibody2
13 /// @detailed
14 ///
15 ///
16 /// @author Jianqing Xu ( xubest@gmail.com )
17 
18 
19 #ifndef INCLUDED_protocols_antibody2_GraftCDRLoopsProtocol_hh
20 #define INCLUDED_protocols_antibody2_GraftCDRLoopsProtocol_hh
21 
22 
24 #include <core/pose/Pose.hh>
29 #include <protocols/moves/Mover.hh>
31 
32 
33 using namespace core;
34 
35 namespace protocols {
36 namespace antibody2 {
37 
39 public:
40  typedef std::map < std::string, bool > GraftMap;
41 
42  // default constructor
44 
45  // default destructor
47 
48  virtual protocols::moves::MoverOP clone() const;
49 
50  /// @brief Assigns default values to primitive members
51  void set_default();
52 
53 
54  virtual void apply( core::pose::Pose & pose );
55 
56  // simple inline setters
57  void set_graft_l1( bool graft_l1 ) {
58  graft_l1_ = graft_l1;
59  }
60  void set_graft_l2( bool graft_l2 ) {
61  graft_l2_ = graft_l2;
62  }
63  void set_graft_l3( bool graft_l3 ) {
64  graft_l3_ = graft_l3;
65  }
66  void set_graft_h1( bool graft_h1 ) {
67  graft_h1_ = graft_h1;
68  }
69  void set_graft_h2( bool graft_h2 ) {
70  graft_h2_ = graft_h2;
71  }
72  void set_graft_h3( bool graft_h3 ) {
73  graft_h3_ = graft_h3;
74  }
75  void set_h3_stem_graft(bool h3_stem_graft){
76  h3_no_stem_graft_=h3_stem_graft;
77  }
78  void set_packonly_after_graft (bool setting){
79  packonly_after_graft_ = setting;
80  }
81  void set_camelid( bool camelid ) {
82  camelid_ = camelid;
83  }
84  void set_camelid_constraints( bool camelid_constraints ) {
85  camelid_constraints_ = camelid_constraints;
86  }
87  void set_benchmark( bool benchmark ) {
88  benchmark_ = benchmark;
89  }
90  void set_cst_weight(core::Real cst_weight){
91  cst_weight_ = cst_weight;
92  }
93  void set_sc_min (bool scmin) {
94  sc_min_ = scmin ;
95  }
96  void set_rt_min (bool rtmin) {
97  rt_min_ = rtmin ;
98  }
99  virtual std::string get_name() const;
100 
101 
102  /// @brief Associates relevant options with the AntibodyModeler class
103  static void register_options();
104 
105  void display_constraint_residues( core::pose::Pose & pose );
106 
107  void show( std::ostream & out=std::cout );
108  friend std::ostream & operator<<(std::ostream& out, const GraftCDRLoopsProtocol & ab_m_2 );
109 
110 
111 
112 private:
113  void finalize_setup( core::pose::Pose & pose );
114  void init();
115  void setup_objects();
116  void init_from_options();
117 
118 private:
119  bool graft_l1_, graft_l2_, graft_l3_;
120  bool graft_h1_, graft_h2_, graft_h3_;
123  bool camelid_;
125  bool sc_min_;
126  bool rt_min_;
128 
131 
134 
136 
138 
139 
140 
141 }; // class GraftCDRLoopsProtocol
142 
143 
144 
145 
146 
147 } // namespace antibody2
148 } // namespace protocols
149 
150 #endif