Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util_functions.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 IO-functionality for enzyme Constraints
11 /// @brief
12 /// @author Florian Richter, floric@u.washington.edu
13 
14 #ifndef INCLUDED_protocols_toolbox_match_enzdes_util_util_functions_hh
15 #define INCLUDED_protocols_toolbox_match_enzdes_util_util_functions_hh
16 
17 
18 
19 #include <core/types.hh>
20 
22 #include <core/id/AtomID.fwd.hh>
23 #include <core/pose/Pose.fwd.hh>
24 
27 
28 #include <list>
29 
30 namespace protocols {
31 namespace toolbox {
32 namespace match_enzdes_util{
33 
34 void
36  core::pose::Pose & pose,
38  core::Size res_pos
39 );
40 
41 /// @brief fowarding function for function below
44  std::list< core::conformation::ResidueCOP> const & invrots,
45  utility::vector1< core::Size > const & seqpos,
46  core::pose::Pose const & pose,
47  core::scoring::constraints::FuncOP constraint_func = NULL
48 );
49 
50 /// @brief constraints each invrot to the
51 /// backbone of each seqpos and throws all
52 /// those constraints into one ambiguous
53 /// constraint.
56  std::list< core::conformation::ResidueCOP> const & invrots,
57  utility::vector1< core::Size > const & seqpos,
58  core::pose::Pose const & pose,
59  core::id::AtomID const & fixed_pt,
60  core::scoring::constraints::FuncOP constraint_func = NULL
61 );
62 
63 
64 /// @brief convenience function that returns a residue
65 /// of the desired cst interaction
66 /// in case there are no constraints in the pose,
67 /// returns null pointer
70  core::pose::Pose const & pose,
71  core::Size geomcst,
72  core::Size geomcst_template_res
73 );
74 
77  std::string chainA,
78  std::string resA,
79  int seqposA,
80  std::string chainB,
81  std::string resB,
82  int seqposB,
83  core::Size cst_block,
84  core::Size ex_geom_id = 1
85 );
86 
87 
88 bool
90  std::string line,
91  std::string & chainA,
92  std::string & resA,
93  int & seqposA,
94  std::string & chainB,
95  std::string & resB,
96  int & seqposB,
97  core::Size & cst_block,
98  core::Size & ex_geom_id
99 );
100 
101 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
102 // @brief finds the first non-ligand residue in the pose (should be the N-terminus)
104 
105 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
106 // @brief finds the first non-ligand residue in the pose (should be the N-terminus)
108 
109 
110 } // match_enzdes_util
111 } // toolbox
112 } //protocols
113 
114 
115 #endif