Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
toolbox
match_enzdes_util
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
21
#include <
core/conformation/Residue.fwd.hh
>
22
#include <
core/id/AtomID.fwd.hh
>
23
#include <
core/pose/Pose.fwd.hh
>
24
25
#include <
core/scoring/constraints/AmbiguousConstraint.fwd.hh
>
26
#include <
core/scoring/constraints/Func.fwd.hh
>
27
28
#include <list>
29
30
namespace
protocols {
31
namespace
toolbox {
32
namespace
match_enzdes_util{
33
34
void
35
replace_residue_keeping_all_atom_positions
(
36
core::pose::Pose
& pose,
37
core::conformation::Residue
new_res,
38
core::Size
res_pos
39
);
40
41
/// @brief fowarding function for function below
42
core::scoring::constraints::AmbiguousConstraintCOP
43
constrain_pose_res_to_invrots
(
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.
54
core::scoring::constraints::AmbiguousConstraintCOP
55
constrain_pose_res_to_invrots
(
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
68
core::conformation::ResidueCOP
69
cst_residue_in_pose
(
70
core::pose::Pose
const
& pose,
71
core::Size
geomcst,
72
core::Size
geomcst_template_res
73
);
74
75
std::string
76
assemble_remark_line
(
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
89
split_up_remark_line
(
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)
103
core::Size
get_first_protein_residue
(
core::pose::Pose
const
& pose );
104
105
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
106
// @brief finds the first non-ligand residue in the pose (should be the N-terminus)
107
core::Size
get_last_protein_residue
(
core::pose::Pose
const
& pose );
108
109
110
}
// match_enzdes_util
111
}
// toolbox
112
}
//protocols
113
114
115
#endif
Generated on Sat Jun 1 2013 12:21:25 for Rosetta 3.5 by
1.8.4