Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EnzRepackMinimize.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 under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file protocols/enzdes/EnzRepackMinimize.hh
11 /// @author Sagar Khare (khares@uw.edu)
12 
13 #ifndef INCLUDED_protocols_enzdes_EnzRepackMinimize_hh
14 #define INCLUDED_protocols_enzdes_EnzRepackMinimize_hh
15 
16 // Unit headers
18 
19 // package headers
20 
21 // Project Headers
24 #include <core/pose/Pose.fwd.hh>
26 #include <core/types.hh>
27 
30 #include <protocols/moves/Mover.hh>
31 
32 #include <utility/tag/Tag.fwd.hh>
33 
34 // C++ headers
35 #include <string>
36 
37 #include <utility/vector1.hh>
38 
39 
40 namespace protocols {
41 namespace enzdes {
42 
44 {
45 public:
48  virtual ~EnzRepackMinimize();
49 
50  /// @brief turns on constraint score terms in case the pose
51  /// has an enzdes cst cache
52  void ensure_scofx_cstfication( core::pose::Pose const & pose);
53 
54  void minimize_in_stages(
55  core::pose::Pose & pose,
57  bool const & cstopt,
58  bool const & min_sc,
59  bool const & min_rb,
60  bool const & min_lig);
61 
62  //parser stuff
63  void apply( core::pose::Pose &pose );
64  virtual std::string get_name() const;
68 
69  //managing minimization options
70  void set_min_rb( bool const min_rb ) { min_rb_ = min_rb; }
71  bool get_min_rb() const { return min_rb_; }
72  void set_min_sc( bool const min_sc ) { min_sc_ = min_sc; }
73  bool get_min_sc() const { return min_sc_; }
74  void set_min_lig( bool const min_lig ) { min_lig_ = min_lig; }
75  bool get_min_lig() const { return min_lig_; }
76  void set_min_bb( bool const min_bb ) { min_bb_ = min_bb; }
77  bool get_min_bb() const { return min_bb_; }
78 
79  //design?
80  bool get_design() const { return design_; }
81  void set_design( bool const des ) { design_ = des; }
82 
83  //scorefunctions
88 
89  //task stuff
92 
93 private:
96  bool cst_opt_; //do polyala active-site optimization?
97  bool design_, repack_, fix_catalytic_; // design or only repack?
98  bool minimize_in_stages_; // minimize non-bb dofs followed by bb+rb-dofs?
101  core::pack::task::TaskFactoryOP task_factory_; // sequence positions and residue-level tasks to apply when setup_packer_task is done
103 };
104 
105 } // enzdes
106 } // protocols
107 
108 #endif /*INCLUDED_protocols_enzdes_EnzRepackMinimize_HH*/