Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RotamerRecovery.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 /// @begin RotamerRecovery
11 ///
12 /// @brief
13 /// Compare the rotamer recovery between a native protein and a list of other proteins
14 ///
15 /// @detailed
16 /// This is an implementation taken from James Thompson. I am not even sure he knows I stole it
17 /// from him. The main function that is called is the get_rotamer_recovery() function. You can
18 /// pass this function a native pdb and a list of altered pdbs, or just 1 native and 1
19 /// alterd pdb. The rotamer recovery will be output to the screen. Output looks like:
20 /// # total = 1
21 /// resi_idx nat_bb_bin pct_bb nat_rot1 pct_rot1 nat_rot2 pct_rot2 nat_rot3 pct_rot3 nat_rot4 pct_rot4
22 /// 1 E 1.0000 1 1.0000 2 1.0000 1 1.0000 999 0.0000
23 /// 2 B 1.0000 2 1.0000 1 1.0000 999 0.0000 999 0.0000
24 /// Where the # total is how many proteins compared.
25 /// resi_idx = residue index
26 /// nat_bb_bin = dssp naming for bb
27 /// pct_bb = how many match the bb bins?
28 /// nat_rot1 = chi 1
29 /// pct_rot1 = how many are correct
30 /// If 999 appears, that means that the amino acid does not have that chi angle
31 ///
32 ///
33 ///
34 /// @authors
35 /// @author James Thompson (original author)
36 /// @author Steven Combs (moved it to protocols for general use)
37 ///
38 /// @last_modified October 20 2010
39 /////////////////////////////////////////////////////////////////////////
40 
41 
42 /// @file
43 /// @brief
44 
45 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_RotamerRecovery_hh
46 #define INCLUDED_protocols_toolbox_pose_metric_calculators_RotamerRecovery_hh
47 
48 //#include <core/pack/dunbrack/RotamerLibrary.hh>
50 // AUTO-REMOVED #include <core/pose/Pose.hh>
51 #include <utility/vector1.hh>
52 
53 #include <core/pose/Pose.fwd.hh>
54 
55 namespace protocols{
56 namespace toolbox{
57 namespace pose_metric_calculators{
58 
60 public:
62 
63  }
64 
65  char torsion2big_bin(
66  float const phi,
67  float const psi,
68  float const omega
69  );
70 
72 
73  void print_rot_vec(
75  std::ostream & out
76  );
77 
79  core::pose::Pose const & pose
80  );
81 
84  core::pose::Pose const & pose
85  );
86 
87 
90  core::pose::Pose const & pose
91  );
92 
93 
95 
96  void get_rotamer_recovery(core::pose::Pose & native, core::pose::Pose & compared_pose);
97 
98 private:
99 
100 
101 };
102 
103 
104 }
105 }
106 }
107 
108 #endif /* ROTAMERRECOVERY_HH_ */