Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SequenceComparison.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 
11 //////////////////////////////////////////////////////////////////////
12 /// @begin SequenceComparison
13 ///
14 /// @brief
15 /// Compare the sequences between a native and designed protein
16 ///
17 /// @detailed
18 /// This is an implementation taken from Ron Jacak, Douglas Renfrew, Matt O Mera.
19 /// The main function that is called is the get_sequence_recovery() function. You can
20 /// pass this function a list of native pdbs and designed pdbs, or just 1 native and 1
21 /// designed pdb. The sequence recovery will be output in a file called sequencerecovery.txt
22 /// along with a substitution matrix in a file called submatrix.txt
23 ///
24 ///
25 /// @references
26 /// "Native sequences are close to optimal" paper
27 ///
28 ///
29 /// @authors
30 /// Ron Jacak,
31 /// Douglas Renfrew (renfrew@unc.edu) ( added rotamer recovery, cleanup )
32 /// Steven Combs (moved it into a general use class)
33 ///
34 /// @last_modified October 20 2010
35 /////////////////////////////////////////////////////////////////////////
36 
37 
38 
39 
40 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_SequenceComparison_hh
41 #define INCLUDED_protocols_toolbox_pose_metric_calculators_SequenceComparison_hh
42 
43 // AUTO-REMOVED #include <core/pose/Pose.hh>
44 #include <utility/vector1.hh>
45 // AUTO-REMOVED #include <core/pack/task/TaskFactory.hh>
46 
47 // C++ headers
48 #include <set>
49 
50 #include <core/types.hh>
52 #include <core/pose/Pose.fwd.hh>
53 
54 
55 
56 namespace protocols{
57 namespace toolbox{
58 namespace pose_metric_calculators{
59 
61 public:
62  //constructor to assign surface and core cutoff;
64  surface_exposure_(surface),
65  core_cutoff_(core)
66  {
67 
68  }
69 
70 
71  //default constructor
74  core_cutoff_(24)
75  {
76 
77  }
78 
79 
80  ///@brief main function that is called. calls measure_sequence_recovery
82 
83  ///@brief overflowed main function to compare only two proteins
84  void get_sequence_recovery(core::pose::Pose & native, core::pose::Pose & designed);
85 
86  ///@brief measures the sequence recovery of a list of native proteins and a list of designed proteins. Outputs files to sequencerecovery.txt
89 
90  ///@brief sets up the task factory used for determing what the neighbor counts...what is on the surface and what is in the core
92  std::set< core::Size > fill_designable_set( core::pose::Pose & pose, core::pack::task::TaskFactoryOP & tf );
93 
94 private:
95 
96  ///@brief what is the surface cutoff that you are using? default 16
98 
99  ///@brief what is the core cutoff that you are using? default 24
101 
102 };
103 
104 
105 
106 
107 
108 }
109 }
110 }
111 
112 #endif /* SEQUENCECOMPARISON_HH_ */