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
swa
StepWiseUtil.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 StepWiseRNA_Util.hh
11
/// @brief
12
/// @detailed
13
///
14
/// @author Rhiju Das
15
16
17
#ifndef INCLUDED_protocols_swa_StepWiseUtil_HH
18
#define INCLUDED_protocols_swa_StepWiseUtil_HH
19
20
21
#include <
core/pose/Pose.fwd.hh
>
22
#include <
core/types.hh
>
23
#include <
core/kinematics/FoldTree.fwd.hh
>
24
#include <utility/vector1.hh>
25
#include <numeric/xyzMatrix.hh>
26
#include <numeric/xyzVector.hh>
27
#include <string>
28
#include <map>
29
// AUTO-REMOVED #include <core/chemical/AA.hh>
30
#include <
core/io/silent/RNA_SilentStruct.hh
>
31
// AUTO-REMOVED #include <core/io/silent/SilentFileData.hh>
32
// AUTO-REMOVED #include <numeric/angle.functions.hh> // Need this to prevent the compiling error: 'principal_angle_degrees' is not a member of 'numeric' Oct 14, 2009
33
// AUTO-REMOVED #include <core/kinematics/MoveMap.hh>
34
#include <
core/scoring/ScoreFunction.fwd.hh
>
35
#include <
core/scoring/constraints/ConstraintSet.fwd.hh
>
36
// AUTO-REMOVED #include <core/conformation/Residue.hh>
37
#include <
core/id/AtomID_Map.fwd.hh
>
38
// AUTO-REMOVED #include <set>
39
40
//Auto Headers
41
#include <
core/id/AtomID.fwd.hh
>
42
#include <
core/kinematics/MoveMap.fwd.hh
>
43
44
45
46
using namespace
core;
47
typedef
numeric::xyzMatrix< Real >
Matrix
;
48
49
namespace
protocols {
50
namespace
swa {
51
52
typedef
std::map< std::string, pose::PoseOP >
PoseList
;
53
54
Size
55
make_cut_at_moving_suite
(
pose::Pose
& pose,
Size
const
& moving_suite );
56
57
bool
58
Is_close_chain_break
(
pose::Pose
const
& pose);
59
60
bool
61
Contain_seq_num
(
Size
const
& seq_num,
utility::vector1< Size >
const
& residue_list);
62
63
void
64
Output_boolean
(
std::string
const
& tag,
bool
boolean
);
65
66
void
67
Output_boolean
(
bool
boolean
);
68
69
void
70
Output_movemap
(
kinematics::MoveMap
const
& mm,
Size
const
total_residue);
71
72
void
73
Figure_out_moving_residues
(
kinematics::MoveMap
& mm,
pose::Pose
const
& pose,
74
utility::vector1< Size >
const
& fixed_res,
75
bool
const
move_takeoff_torsions =
true
,
76
bool
const
move_jumps_between_chains =
false
77
);
78
79
void
80
pdbslice
(
core::pose::Pose
& new_pose,
81
core::pose::Pose
const
& pose,
82
utility::vector1< core::Size >
const
& slice_res );
83
84
void
85
pdbslice
(
pose::Pose
& pose,
86
utility::vector1< Size >
const
& slice_res );
87
88
id::AtomID_Map< id::AtomID >
89
create_alignment_id_map
(
pose::Pose
const
& mod_pose,
pose::Pose
const
& ref_pose,
90
utility::vector1< Size >
const
& superimpose_res );
91
92
id::AtomID_Map< id::AtomID >
93
create_alignment_id_map
(
pose::Pose
const
& mod_pose,
94
pose::Pose
const
& ref_pose,
95
std::map< core::Size, core::Size > res_map );
96
97
utility::vector1< Size >
const
98
convert_to_working_res
(
utility::vector1< Size >
const
& res_vector,
99
utility::vector1< Size >
const
& working_res ) ;
100
101
102
scoring::constraints::ConstraintSetOP
103
constraint_set_slice
(
scoring::constraints::ConstraintSetOP
& cst_set,
104
utility::vector1< Size >
const
& slice_res,
105
pose::Pose
const
& pose,
106
pose::Pose
const
& full_pose );
107
108
utility::vector1< std::string >
load_s_and_l
();
109
110
111
std::string
112
get_file_name
(
std::string
const
& silent_file,
std::string
const
& tag );
113
114
void
115
check_scorefxn_has_constraint_terms_if_pose_has_constraints
(
pose::Pose
const
& pose,
116
scoring::ScoreFunctionOP
& scorefxn );
117
118
utility::vector1< Size >
119
merge_vectors
(
utility::vector1< Size >
const
& vec1,
120
utility::vector1< Size >
const
& vec2 );
121
122
void
123
get_euler_angles
(
Real
& alpha,
Real
& beta,
Real
& gamma,
Matrix
M1,
Matrix
M2,
bool
const
verbose =
true
);
124
125
void
126
create_euler_rotation
(
127
Matrix
& M,
128
Real
const
& alpha,
129
Real
const
& beta,
130
Real
const
& gamma,
131
Vector
const
&
/* axis1 not actually used*/
,
132
Vector
const
& axis2,
133
Vector
const
& axis3
134
);
135
136
void
137
create_euler_rotation
(
138
Matrix
& M,
139
Real
const
& alpha,
140
Real
const
& beta,
141
Real
const
& gamma );
142
143
void
144
translate
(
pose::Pose
& pose,
Vector
const
shift,
145
pose::Pose
const
& ref_pose,
146
utility::vector1< Size >
const
& moving_res );
147
148
void
149
rotate
(
pose::Pose
& pose,
Matrix
const
M,
150
pose::Pose
const
& ref_pose,
151
utility::vector1< Size >
const
& moving_res,
152
Vector
const
& centroid );
153
154
void
155
rotate
(
pose::Pose
& pose,
Matrix
const
M,
156
pose::Pose
const
& ref_pose,
157
utility::vector1< Size >
const
& moving_res );
158
159
void
160
get_base_centroid_and_rotation_matrix
(
pose::Pose
const
& pose,
Size
const
i,
Vector
& centroid,
Matrix
& M );
161
162
void
163
translate_and_rotate_residue_to_origin
(
pose::Pose
& pose,
Size
const
i,
utility::vector1< Size >
const
moving_res,
bool
const
do_not_rotate =
false
);
164
165
void
166
translate_and_rotate_residue_to_origin
(
pose::Pose
& pose,
Size
const
i );
167
168
}
169
}
170
171
#endif
Generated on Sat Jun 1 2013 12:20:23 for Rosetta 3.5 by
1.8.4