Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pose_manipulation.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/toolbox/pose_manipulation.hh
11 /// @brief some general functions to manipulate poses. feel free to add your own
12 /// @brief if you add your own, please mention your name:)
13 /// @author Florian Richter, floric@u.washington.edu
14 /// @author Steven Lewis, smlewi@gmail.com (insert_pose_into_pose) domain insertion code
15 
16 
17 #ifndef INCLUDED_protocols_toolbox_pose_manipulation_hh
18 #define INCLUDED_protocols_toolbox_pose_manipulation_hh
19 
20 // Unit headers
21 // Package headers
22 
23 // Project headers
24 #include <core/types.hh>
25 #include <utility/vector1.fwd.hh>
26 //#include <core/conformation/Residue.fwd.hh>
27 // AUTO-REMOVED #include <core/chemical/ResidueTypeSet.hh>
28 #include <core/pose/Pose.fwd.hh>
29 
31 #include <utility/vector1.hh>
32 
33 
34 //#include <core/id/AtomID.fwd.hh>
35 
36 // Utility Headers
37 //#include <utility/pointer/ReferenceCount.hh>
38 #ifdef WIN32
39 #include <string>
40 #endif
41 
42 //Utility Headers
43 
44 // C++ Headers
45 
46 namespace protocols {
47 namespace toolbox {
48 namespace pose_manipulation{
49 
50 /// @author Florian Richter( floric@u.washington.edu) , june 08
51 /// @brief puts in ala residues at the positions specified in the 'positions' input array
52 void
54  core::pose::Pose & pose,
55  utility::vector1< core::Size > const & positions,
56  bool keep_pro,
57  bool keep_gly,
58  bool keep_disulfide_cys
59 );
60 
61 /// @author Possu Huang ( possu@uw.edu)
62 /// @brief allows construction of a polymer of any residue type
63 void
65  core::pose::Pose & pose,
66  utility::vector1< core::Size > const & positions,
67  core::chemical::ResidueType const & restype,
68  bool keep_pro,
69  bool keep_gly,
70  bool keep_disulfide_cys
71 );
72 
73 /// @author Nobuyasu Koga ( nobuyasu@uw.edu ), Oct 09
74 /// @brief puts in XXX residues at the positions specified in the 'positions' input array
75 void
77  std::string const & aa,
78  core::pose::Pose & pose,
79  utility::vector1< core::Size > const & positions,
80  bool keep_pro,
81  bool keep_gly,
82  bool keep_disulfide_cys
83 );
84 
85 /// @author Florian Richter( floric@u.washington.edu) , aug 08
86 /// @brief deletes all nonprotein residues from a pose
87 void
89  core::pose::Pose & pose
90 );
91 
92 
93 /// @author Florian Richter( floric@u.washington.edu), nov 11
94 /// @brief adds chainbreak residue types depending on fold tree jumps
95 void
97 
98 /// @author Florian Richter( floric@u.washington.edu), nov 11
99 /// @brief removes chainbreak residue types depending on fold tree jumps
100 void
102 
103 /// @author Florian Richter( floric@u.washington.edu) , sep 08
104 /// @brief superimposes one pose onto the other at the positions specified and
105 /// @brief with the offset specified
108  core::pose::Pose & pose,
109  core::pose::Pose const & ref_pose,
110  utility::vector1< core::Size > const & positions,
111  int const offset = 0
112 );
113 
114 
115 } //pose_manipulation
116 } //toolbox
117 } //protocols
118 
119 
120 #endif // INCLUDED_protocols_toolbox_pose_manipulation_HH