Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sasapack.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/sasa_scores/sasapack.hh
11 /// @brief sasapack and other scores that are normalized by residue sasa
12 /// @author Phil Bradley
13 
14 #ifndef INCLUDED_protocols_sasa_scores_sasapack_HH
15 #define INCLUDED_protocols_sasa_scores_sasapack_HH
16 
17 #include <core/types.hh>
18 #include <core/pose/Pose.fwd.hh>
19 
20 
21 #include <utility/vector1.hh>
22 
23 
24 namespace protocols {
25 namespace sasa_scores {
26 
27 /// @brief Compute residue sasa values for use in deriving and assigning sasapack-like scores
28 void
30  core::Real const probe_radius,
31  core::pose::Pose const & pose,
33  );
34 
35 /// @brief Compute sasapack scores for the given pose.
36 /// Currently only scores non-terminal, non-disulfide, protein residues.
37 /// The sasapack score for a residue is the difference between its SASA with a 0.5A probe
38 /// and the average SASA value for that residue-type in a large set of pdb structures, conditioned
39 /// on the SASA with a 1.4A probe.
40 /// The normsasa is just the difference between a residues SASA-1.4 and the average SASA-1.4 for that residue type
41 ///
42 /// @note Refitting app and python code will be checked in shortly.
43 
44 void
46  core::pose::Pose const & pose,
47  utility::vector1< core::Real > & residue_sasapack,
48  utility::vector1< core::Real > & residue_normsasa,
49  core::Real & average_sasapack,
50  core::Real & average_normsasa
51  );
52 
53 /// @brief Compute normalize scores for the given pose based on average energies (hence "avgE") for pdb structures.
54 /// Currently only scores non-terminal, non-disulfide, protein residues.
55 /// The "avge" score for a residue is the difference between its per-residue score and the expected per-residue
56 /// score for that residue type, conditioned on the residue SASA with a 1.4A probe.
57 /// Right now, the following scores are excluded from the avge sum since they are often very large in native structures:
58 /// fa_rep, fa_dun, pro_close, omega
59 /// as well as paa_pp for glycine, since it's just weird. Could consider refitting these
60 /// The normsasa is just the difference between a residues SASA-1.4 and the average SASA-1.4 for that residue type
61 ///
62 /// @note Refitting app and python code will be checked in shortly.
63 
64 void
66  core::pose::Pose const & pose,
67  utility::vector1< core::Real > & residue_avge,
68  utility::vector1< core::Real > & residue_normsasa,
69  core::Real & average_avge,
70  core::Real & average_normsasa
71  );
72 
73 
74 } // namespace sasa_scores
75 } // namespace protocols
76 
77 
78 #endif //