Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConformerSwitchMover.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 ConformerSwitchMover.cc
11 /// @brief code for the conformer switch mover in ensemble docking
12 /// @author Sid Chaudhury
13 
14 
15 #ifndef INCLUDED_protocols_docking_ConformerSwitchMover_hh
16 #define INCLUDED_protocols_docking_ConformerSwitchMover_hh
17 
18 // Unit headers
19 
21 
22 
23 // Package headers
24 #include <protocols/moves/Mover.hh>
26 // AUTO-REMOVED #include <protocols/docking/DockFilters.hh>
27 
28 #include <core/types.hh>
29 
30 // AUTO-REMOVED #include <core/pose/Pose.hh>
31 // AUTO-REMOVED #include <core/scoring/ScoreFunction.hh>
32 
33 //Option key includes
34 
35 // ObjexxFCL Headers
36 
37 // C++ Headers
38 #include <map>
39 #include <string>
40 
41 // Utility Headers
42 #include <utility/pointer/ReferenceCount.hh>
43 
45 #include <utility/vector1.hh>
46 
47 
48 namespace protocols {
49 namespace docking {
50 
51 /// @brief this mover does the conformer swap in RosettaDock's ensemble docking. It takes
52 /// in a multi-model PDB file as an ensemble, and does swaps conformers by superpositioning
53 /// over interface residues, and selects a conformer based on a partition function using
54 /// a ScoreFunction.
56 
57 public:
58 
59  //default constructor
61 
62  //constructor with arguments
65  bool random_conformer=false
66  );
67 
68  virtual void apply( core::pose::Pose & pose );
69 
70  void switch_conformer(
71  core::pose::Pose & pose,
72  core::Size conf_num
73  );
74 
75  virtual std::string get_name() const;
76  void set_temperature( core::Real temp_in );
77 
78  void set_random_confomer( bool rand ) { random_conformer_ = rand; }
80  bool use_random_conformer() const {return random_conformer_;}
81 
82 private:
83 
84  void GenerateProbTable( core::pose::Pose & pose );
85 
91 }; //mover
92 
93 std::ostream &operator<< (std::ostream &os, ConformerSwitchMover const &mover);
94 
95 } // docking
96 
97 } // rosetta
98 
99 
100 #endif