Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Dssp.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 // @brief
10 // @author olange: ported from original bblum-rosetta++ version $
11 
12 
13 #ifndef INCLUDED_core_scoring_dssp_Dssp_hh
14 #define INCLUDED_core_scoring_dssp_Dssp_hh
15 
16 // Unit Headers
17 //#include <core/scoring/dssp/Dssp.fwd.hh>
18 
19 // Package Headers
20 // AUTO-REMOVED #include <core/scoring/dssp/StrandPairing.hh>
21 
22 
23 // Project Headers
24 #include <core/types.hh>
25 #include <core/pose/Pose.fwd.hh>
26 
27 // Utility headers
28 // AUTO-REMOVED #include <utility/pointer/ReferenceCount.hh>
29 #include <utility/pointer/owning_ptr.hh>
30 // AUTO-REMOVED #include <utility/vector1.hh>
31 
32 // ObjexxFCL Headers
33 // AUTO-REMOVED #include <ObjexxFCL/FArray1A.fwd.hh>
34 #include <ObjexxFCL/FArray1.fwd.hh>
35 #include <ObjexxFCL/FArray2D.fwd.hh>
36 #include <ObjexxFCL/FArray1D.fwd.hh>
37 #include <ObjexxFCL/FArray2D.hh>
38 #include <ObjexxFCL/FArray1D.hh>
39 
40 //// C++ headers
41 //#include <cstdlib>
42 #include <string>
43 #include <cmath>
44 
46 #include <utility/vector1.hh>
47 
48 //#include <vector>
49 
50 namespace core {
51 namespace scoring {
52 namespace dssp {
53 
54 
55 class Dssp {
56 public:
57 
58  Dssp( core::pose::Pose const& );
59  ~Dssp();
60 
61  void dssp_reduced( ObjexxFCL::FArray1_char &secstruct );
62  void dssp_reduced();
63  void dssp_featurizer( ObjexxFCL::FArray1_char &secstruct );
64  void dssp( ObjexxFCL::FArray1_char &dssp_secstruct );
65  bool paired( core::Size res1, core::Size res2, bool antiparallel );
66 
68  return *pair_set_;
69  }
70 
72 
73  char get_dssp_secstruct( core::Size resid );
74 
76 
77  float bb_pair_score( Size res1, Size res2 );
78 
79 private:
80  void compute( core::pose::Pose const& );
81 
82 
83  ObjexxFCL::FArray1D_char dssp_secstruct_;
85 
86  ObjexxFCL::FArray2D_float hbond_bb_pair_score_;
88 };
89 
90 extern void fill_hbond_bb_pair_score_dssp( core::pose::Pose const&, ObjexxFCL::FArray2D_float &hbond_bb_pair_score_ );
91 
92 } //dssp
93 } //scoring
94 } //core
95 
96 #endif