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
core
scoring
rna
RNA_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 core/scoring/rna/RNA_Util.hh
11
/// @brief
12
/// @author Rhiju
13
14
#ifndef INCLUDED_core_scoring_rna_RNA_Util_hh
15
#define INCLUDED_core_scoring_rna_RNA_Util_hh
16
17
#include <
core/types.hh
>
18
19
#include <
core/chemical/AA.hh
>
20
#include <
core/conformation/Residue.fwd.hh
>
21
#include <
core/pose/Pose.fwd.hh
>
22
#include <numeric/xyzMatrix.hh>
23
#include <numeric/xyzVector.hh>
24
#include <
core/kinematics/Stub.hh
>
25
#include <utility/vector1.hh>
26
27
28
29
namespace
core {
30
namespace
scoring {
31
namespace
rna{
32
33
///////////////////////////////////////////////////////////////////////////////
34
enum
__RNA_UTIL__
{
X
,
WATSON_CRICK
,
HOOGSTEEN
,
SUGAR
,
O2STAR
,
PHOSPHATE
};
35
Size
const
NUM_EDGES
( 3 );
36
Size
const
NUM_RNA_TORSIONS
( 10 );
37
Size
const
NUM_RNA_MAINCHAIN_TORSIONS
( 6 );
38
Size
const
NUM_RNA_CHI_TORSIONS
(
NUM_RNA_TORSIONS
-
NUM_RNA_MAINCHAIN_TORSIONS
);
39
40
///////////////////////////////////////////////////////////////////////////////
41
extern
utility::vector1< std::string >
non_main_chain_sugar_atoms
;
42
void
initialize_non_main_chain_sugar_atoms
();
43
44
///////////////////////////////////////////////////////////////////////////////
45
Size
46
convert_acgu_to_1234
(
char
const
c
);
47
48
char
get_edge_from_num
(
Size
const
num );
49
50
std::string
get_full_edge_from_num
(
Size
const
num );
51
52
char
get_orientation_from_num
(
Size
const
num );
53
54
std::string
get_full_orientation_from_num
(
Size
const
num );
55
56
std::string
get_full_LW_orientation_from_num
(
Size
const
num );
57
58
///////////////////////////////////////////////////////////////////////////////
59
std::string
const
first_base_atom
(
conformation::Residue
const
& rsd );
60
bool
is_purine
(
conformation::Residue
const
& rsd );
61
Size
first_base_atom_index
(
conformation::Residue
const
& rsd );
62
63
std::string
const
chi1_torsion_atom
(
conformation::Residue
const
& rsd );
64
Size
chi1_torsion_atom_index
(
conformation::Residue
const
& rsd );
65
66
std::string
const
default_jump_atom
(
conformation::Residue
const
& rsd );
67
68
bool
69
possibly_canonical
(
chemical::AA
const
& aa1,
chemical::AA
const
& aa2 );
70
71
bool
72
possibly_canonical_strict
(
chemical::AA
const
& aa1,
chemical::AA
const
& aa2 );
73
74
void
75
get_watson_crick_base_pair_atoms
(
76
chemical::AA
const
& aa1,
77
chemical::AA
const
& aa2,
78
std::string
& atom1,
79
std::string
& atom2 );
80
81
void
82
get_watson_crick_base_pair_atoms
(
83
chemical::AA
const
& aa1,
84
chemical::AA
const
& aa2,
85
utility::vector1< std::string >
& atom_ids1,
86
utility::vector1< std::string >
& atom_ids2 );
87
88
bool
89
is_cutpoint_open
(
core::pose::Pose
const
& pose,
Size
const
i );
90
91
bool
92
is_rna_chainbreak
(
core::pose::Pose
const
& pose,
Size
const
i );
93
94
95
void
96
apply_non_main_chain_sugar_coords
(
97
utility::vector1< Vector >
const
& non_main_chain_sugar_coords,
98
core::pose::Pose
& pose,
99
core::pose::Pose
const
& reference_pose,
100
core::Size
const
& i
101
);
102
103
void
104
apply_ideal_c2endo_sugar_coords
(
105
core::pose::Pose
& pose,
106
core::Size
const
& i
107
);
108
109
110
//void
111
//apply_torsions_and_non_main_chain_sugar_coords(
112
// utility::vector1< Vector > const & non_main_chain_sugar_coords,
113
// core::pose::Pose & pose,
114
// core::Size const & i,
115
// utility::vector1< Real > const & rna_torsions );
116
117
void
118
get_fade_correction
(
119
Real
const
z,
120
Real
const
cutoff_lower,
121
Real
const
cutoff_upper,
122
Real
const
fade_zone,
123
Real
& fade_value,
124
Real
& fade_deriv );
125
126
127
//Copied from Parin SRC on Dec 23, 2011.
128
numeric::xyzVector<core::Real>
129
get_rna_base_centroid
(
core::conformation::Residue
const
& rsd ,
bool
verbose);
130
131
numeric::xyzMatrix< core::Real >
132
get_rna_base_coordinate_system
(
core::conformation::Residue
const
& rsd,
numeric::xyzVector<core::Real>
const
& centroid );
133
134
bool
135
Is_base_phosphate_atom_pair
(
conformation::Residue
const
& rsd_1,
conformation::Residue
const
& rsd_2,
Size
const
atomno_1,
Size
const
atomno_2);
136
137
}
//ns rna
138
}
//ns scoring
139
}
//ns core
140
141
#endif
Generated on Sat Jun 1 2013 11:40:02 for Rosetta 3.5 by
1.8.4