Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReportPSSMDifference.hh
Go to the documentation of this file.
1 //
2 // (c) Copyright Rosetta Commons Member Institutions.
3 // (c) This file is part of the Rosetta software suite and is made available under license.
4 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
5 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
6 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
7 
8 /// @file devel/protein_interface_design/ReportPSSMDifference.hh
9 /// @brief calculation of the difference in PSSM score between mutated and native pose
10 /// @author Hermann Zellner (hermann1.zellner@biologie.uni-regensburg.de)
11 
12 
13 #ifndef INCLUDED_protocols_protein_interface_design_ReportPSSMDifference_hh
14 #define INCLUDED_protocols_protein_interface_design_ReportPSSMDifference_hh
15 
16 #include <core/types.hh>
17 // AUTO-REMOVED #include <core/pose/Pose.hh>
18 
19 #include <utility/vector1.hh>
20 // AUTO-REMOVED #include <core/pack/task/PackerTask.hh>
21 
22 #include <map>
23 
24 #include <core/chemical/AA.hh>
26 #include <core/pose/Pose.fwd.hh>
27 
28 
29 namespace protocols {
30 namespace protein_interface_design {
31 
32 
34 {
35 public:
36  typedef core::Size Size;
37  typedef core::Real Real;
39 public:
41 
42  ReportPSSMDifferences( ReportPSSMDifferences const & init ) { // copy constructor
43  res_name1_ = init.res_name1_;
44  pssm_data_ = init.pssm_data_;
45  };
46  core::Real calculate( Pose const & pose1, Pose const & pose2, core::pack::task::PackerTaskCOP const & task );
47 
48  std::map< Size, std::string > const & res_name1() const { return res_name1_; }
49 
51 
52  bool load_pssm_data(std::string const & native_filename);
53 
54  virtual ~ReportPSSMDifferences() {};
55 private:
56  std::map< Size, std::string > res_name1_;
58 };
59 
60 } //protocols
61 } //protein_interface_design
62 
63 #endif /* INCLUDED_protocols_protein_interface_design_REPORTPSSMDIFFERENCE_HH_ */