Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>
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 ///////////////////////////////////////////////////////////////////////////////
35 Size const NUM_EDGES( 3 );
36 Size const NUM_RNA_TORSIONS( 10 );
39 
40 ///////////////////////////////////////////////////////////////////////////////
43 
44 ///////////////////////////////////////////////////////////////////////////////
45 Size
46 convert_acgu_to_1234( char const c );
47 
48 char get_edge_from_num( Size const num );
49 
51 
52 char get_orientation_from_num( Size const num );
53 
55 
57 
58 ///////////////////////////////////////////////////////////////////////////////
60 bool is_purine( conformation::Residue const & rsd );
62 
65 
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
76  chemical::AA const & aa1,
77  chemical::AA const & aa2,
78  std::string & atom1,
79  std::string & atom2 );
80 
81 void
83  chemical::AA const & aa1,
84  chemical::AA const & aa2,
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
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
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
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.
129 get_rna_base_centroid( core::conformation::Residue const & rsd , bool verbose);
130 
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