Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_ProtocolUtil.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 RNA_ProtocolUtil.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_rna_RNA_ProtocolUtil_HH
18 #define INCLUDED_protocols_rna_RNA_ProtocolUtil_HH
19 
20 #include <core/types.hh>
22 #include <core/pose/Pose.fwd.hh>
26 #include <utility/vector1.fwd.hh>
27 #include <utility/io/ozstream.fwd.hh>
28 
29 // Utility headers
30 
31 // ObjexxFCL headers
32 
33 //// C++ headers
34 #include <string>
35 #include <utility/vector1.hh>
36 #include <ObjexxFCL/FArray1D.fwd.hh>
37 
38 
39 
40 namespace protocols {
41 namespace rna {
42 
44 
45 void
47 
48 void
50 
51 void
53  core::Size const & seqpos,
54  char & secstruct,
55  ObjexxFCL::FArray1D <bool> & edge_is_base_pairing );
56 
57 void
59  utility::vector1< std::pair< core::Size, core::Size> > & base_pairing_list );
60 
61 void
63  utility::io::ozstream & torsions_out,
64  utility::vector1 <core::Size> const & exclude_res_list );
65 
66 void
68  std::string const outfile,
69  utility::vector1 <core::Size> const & exclude_res_list );
70 
72 get_o1p_o2p_sign( core::pose::Pose const & pose );
73 
75 get_o1p_o2p_sign( core::pose::Pose const & pose , core::Size res_num);
76 
77 void
79 
80 void
82 
83 void
85 
86 void
88  utility::vector1< std::pair< core::Real, std::string > > & results,
91  std::string const & outfile,
92  bool const dumo = false );
93 
94 void
95 check_base_pair( core::pose::Pose & pose, ObjexxFCL::FArray1D_int & struct_type );
96 
97 void
99  core::pose::Pose & pose,
100  utility::vector1< std::pair< core::Size, core::Size > > const & pairings,
101  core::Real const suppress_factor = 1.0 );
102 
103 void
105 
106 std::string const
107 convert_based_on_match_type( std::string const RNA_string, core::Size const type );
108 
109 bool
110 compare_RNA_char( char const char1, char const char2 );
111 
112 bool
113 compare_RNA_secstruct( char const char1, char const char2 );
114 
115 Vector
117 
118 void
119 make_extended_coarse_pose( core::pose::Pose & coarse_pose, std::string const & full_sequence );
120 
121 void
122 make_coarse_pose( core::pose::Pose const & pose, core::pose::Pose & coarse_pose );
123 
124 void
126 
127 void
129 
130 void
132 
133 void
135 
136 bool
137 possible_root( core::kinematics::FoldTree const & f, core::Size const & n );
138 
139 inline bool is_num_in_list ( core::Size const i,
140  utility::vector1 <core::Size> const & list )
141 {
142  return std::find(list.begin(), list.end(), i)!=list.end();
143 }
144 
146 get_rigid_body_jumps( core::pose::Pose const & pose );
147 
148 bool
150  core::pose::Pose const & pose,
151  bool const move_first_rigid_body = false );
152 
153 void
155 
156 } //rna
157 } // protocols
158 
159 #endif