Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LigandDockProtocol.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/ligand_docking/LigandDockProtocol.hh
11 ///
12 /// @brief
13 /// @author Ian W. Davis
14 
15 
16 #ifndef INCLUDED_protocols_ligand_docking_LigandDockProtocol_hh
17 #define INCLUDED_protocols_ligand_docking_LigandDockProtocol_hh
18 
20 
21 // AUTO-REMOVED #include <core/grid/CartGrid.fwd.hh>
23 #include <core/pose/Pose.fwd.hh>
25 // AUTO-REMOVED #include <protocols/enzdes/EnzConstraintIO.hh> //for adding constraints if demanded by user
29 #include <protocols/moves/Mover.hh>
30 // AUTO-REMOVED #include <utility/vector1.hh>
31 
32 #include <map>
33 
35 #include <utility/vector1.hh>
36 
37 
38 #ifdef WIN32
41 #endif
42 
43 namespace protocols {
44 namespace ligand_docking {
45 
46 
47 ///@brief
48 ///
49 ///@details
50 ///
52 {
53 public:
54 
56 
58  std::string const protocol,
59  bool const minimize_ligand,
60  bool const minimize_backbone,
61  bool const tether_ligand,
62  bool const mutate_same_name3,
63  core::Real const ligand_chi_stddev_deg,
64  core::Real const protein_CA_stddev_Ang,
66  core::Size const ligand_shear_moves=0
67  );
68 
69  virtual ~LigandDockProtocol();
70 
72 
73  virtual void apply( core::pose::Pose & pose );
74  virtual std::string get_name() const;
75 
76  void
78  core::pose::Pose const & before,
79  core::pose::Pose const & after,
81  std::map< std::string, core::Real > & scores, //< appended to for output
83  ) const;
84 
85 private:
86 
88 
89  void
91  core::pose::Pose & pose,
92  int jump_id,
95  core::Size num_cycles,
96  core::Size repack_every_Nth
97  ) const;
98 
99  void
101  core::pose::Pose & pose,
102  int jump_id,
105  core::Size num_cycles
106  ) const;
107 
108  void
110  core::pose::Pose & pose,
111  int jump_id,
112  core::Size lig_id
113  );
114 
115  void
117  core::pose::Pose & pose
118  ) const;
119 
122  core::pose::Pose const & pose,
123  int jump_id,
124  protocols::moves::MoverOP repack_mover,
125  protocols::moves::MoverOP rigbod_mover,
126  core::kinematics::MoveMapOP movemap, //< would be COP but MinMover wants OP
129  ) const;
130 
131  void
133  core::pose::Pose & pose
134  );
135 
136 private:
137  std::string protocol_; // i.e. 50 cycles instead of just 5
152 
153 }; // class LigandDockProtocol
154 
155 
156 } // namespace ligand_docking
157 } // namespace protocols
158 
159 #endif // INCLUDED_protocols_ligand_docking_LigandDockProtocol_HH