Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_SuiteAssign.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 protocols/rna/RNA_SuiteAssign.hh
11 /// @brief RNA suite assignment ported from suitename program
12 /// @author Fang-Chieh Chou
13 
14 
15 #ifndef INCLUDED_protocols_rna_RNA_SuiteAssign_HH
16 #define INCLUDED_protocols_rna_RNA_SuiteAssign_HH
17 
18 #include <core/types.hh>
20 #include <core/pose/Pose.fwd.hh>
21 #include <utility/vector1.fwd.hh>
22 #include <utility/io/ozstream.fwd.hh>
23 
24 // Utility headers
25 
26 // ObjexxFCL headers
27 
28 //// C++ headers
29 #include <string>
30 #include <utility/vector1.hh>
31 #include <ObjexxFCL/FArray1D.fwd.hh>
32 
33 
34 using namespace core;
35 
36 namespace protocols {
37 namespace rna {
38 
39 class suite_info {
40 public:
44 
45  suite_info ( std::string const name_in, Size const classifier_in, utility::vector1 <Real> const & torsion_in ) :
46  name( name_in ),
47  classifier( classifier_in ),
48  torsion( torsion_in )
49  {}
50 
51  suite_info () : name( "" ), classifier( 0 ) {}
52 };
53 
55 public:
56 
58  ~RNA_suite_list();
59 
60  suite_info name2suite( std::string const name );
61  utility::vector1 <suite_info> full_list () const { return all_suites; };
62 
63 
64 private:
65  void init_all_suite();
66  utility::vector1 <Real> create_torsions( Real const delta1, Real const epsilon, Real const zeta,
67  Real const alpha, Real const beta, Real const gamma, Real const delta2);
68 
70 };
71 
72 std::pair <std::string, std::pair <Size, Real> > suite_assign(pose::Pose const & pose, Size const res);
73 }
74 }
75 
76 #endif