Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util.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 JumpSetup
11 /// @brief read jump-definition file setups fold tree an chainbreak variants
12 /// loop code didn't work because fold-tree to complicated ( overlapping loops )
13 /// @detailed
14 /// @author Oliver Lange
15 
16 
17 #ifndef INCLUDED_protocols_jumping_util_hh
18 #define INCLUDED_protocols_jumping_util_hh
19 
20 // Project Headers
21 // AUTO-REMOVED #include <protocols/Protocol.fwd.hh>
22 #include <core/pose/Pose.fwd.hh>
25 #include <core/types.hh>
27 // AUTO-REMOVED #include <protocols/checkpoint/CheckPointer.hh>
28 
30 #include <utility/vector1.hh>
31 
32 
33 namespace protocols {
34 namespace jumping {
35 
36 //@brief remove cutpoint from fold-tree and idealize bond/angles at cutpoint and cutpoint+1
37 // note that pose_out will have weird structure --> use e.g., SlidingWindowLoopClosure to repair that
38 // returns false if there is a failure
39 bool remove_cut(
40  core::Size cutpoint,
41  core::pose::Pose& pose,
43 );
44 
45 bool remove_cut(
46  core::Size cutpoint,
47  core::kinematics::FoldTree &fold_tree,
49 );
50 
51 //@brief remove all cutpoints, close loops using the supplied closure_protocol
54  core::pose::Pose& pose,
55  checkpoint::CheckPointer &checkpoint,
56  const std::string &decoy_tag,
58 );
59 
60 void safe_secstruct( core::pose::Pose& pose );
61 
62 
63 void
65  core::pose::Pose const& pose,
66  core::Size const pos1,
67  core::Size const pos2,
68  core::Size &orientation,
69  core::Size &pleating
70 );
71 
72 void
74  core::pose::Pose const& pose,
75  core::Size const res1,
76  core::Size const res2,
77  core::Real& orientation,
78  core::Real& pleating1,
79  core::Real& pleating2
80 );
81 
82 //@brief genrates the standard SS-Jump Frame BBTorsion UpJump DownJump BBTorsion
83 // depends on length if both BBTorsions are present...
85  core::Size startpos,
86  core::Size endpos,
87  core::Size length
88 );
89 
90 //@brief generate the standard SS-Jump Frame with a template FragData --- use this if you want to steal jumps
92  core::Size startpos,
93  core::Size endpos,
94  bool bWithTorsion
95 );
96 
97 /// @brief Assign secondary structure using DSSP.
98 void assign_ss_dssp( core::pose::Pose & pose );
99 
100 } //jumping
101 } //protocols
102 
103 #endif