Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlignPoseToInvrotTreeMover.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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file protocols/toolbox/match_enzdes_util/AlignPoseToInvrotTreeMover.hh
12 /// @brief small class to setup an invrot tree in an existing pose
13 /// @author Florian Richter, flosopher@gmail.com, march 2012
14 
15 #ifndef INCLUDED_protocols_toolbox_match_enzdes_util_AlignPoseToInvrotTreeMover_hh
16 #define INCLUDED_protocols_toolbox_match_enzdes_util_AlignPoseToInvrotTreeMover_hh
17 
18 // Unit headers
20 #include <protocols/moves/Mover.hh>
21 
22 // package headers
27 
28 // Project headers
30 #include <core/types.hh>
31 #include <core/pose/Pose.fwd.hh>
32 //#include <core/scoring/constraints/Constraint.fwd.hh>
33 
34 // Utility headers
35 //#include <utility/pointer/ReferenceCount.hh>
36 
37 // C++ headers
38 
39 //#include <utility/vector1.fwd.hh>
40 
41 
42 namespace protocols {
43 namespace toolbox {
44 namespace match_enzdes_util {
45 
46 
47 /// @brief small mover that takes an invrot tree
49 
50 public:
51  typedef core::Size Size;
52 
53  /// @brief the invrot tree and the seqpos object
54  /// that are being passed in need to be initialized
56  InvrotTreeCOP invrot_tree,
58  );
59 
61 
62  virtual
64  get_name() const;
65 
66  virtual
67  void
68  apply( core::pose::Pose & pose );
69 
70  void
71  set_add_target_to_pose( bool const setting );
72 
73  void
75  EnzConstraintIOCOP enzcst_io );
76 
77  /// @brief sets up a foldtree such that
78  /// the anchor residue doesn't move,
79  /// i.e. a backward edge from anchor to 1
80  /// and a forward edge from anchor to seqpos
81  /// also need to setup the jumps at anchor res
82  void
84  core::pose::Pose & pose,
85  Size const anchor_seqpos,
86  Size const first_target_seqpos ) const;
87 
88  /// @brief silly helper function to get the equivalent
89  /// of a certain residue in a new residue type set
90  /// note if the passed in residue is already of the
91  /// required residue type set, nothing changes, just
92  /// passes back input pointer
96  std::string const desired_restype_set_name
97  ) const;
98 
99 private:
100 
101  bool add_target_to_pose_; //this variable decides whether the target residues are added or not
105 
106  //the geomcsts for which rotamers the pose can be superimposed on
108 
109 };
110 
111 
112 }
113 }
114 }
115 
116 #endif