Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
features
BetaTurnDetectionFeatures.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/features/LoopAnchorFeatures.hh
11
/// @brief report comments stored with each pose
12
/// @author Brian D. Weitzner (brian.weitzner@gmail.com)
13
14
#ifndef INCLUDED_protocols_features_BetaTurnDetectionFeatures_hh
15
#define INCLUDED_protocols_features_BetaTurnDetectionFeatures_hh
16
17
// Unit Headers
18
#include <
protocols/features/FeaturesReporter.hh
>
19
#include <
protocols/features/BetaTurnDetectionFeatures.fwd.hh
>
20
21
//External
22
#include <boost/uuid/uuid.hpp>
23
24
// Project Headers
25
#include <
core/types.hh
>
26
#include <
protocols/moves/DataMap.fwd.hh
>
27
#include <numeric/HomogeneousTransform.fwd.hh>
28
#include <utility/sql_database/DatabaseSessionManager.fwd.hh>
29
#include <utility/vector1.fwd.hh>
30
#include <utility/tag/Tag.fwd.hh>
31
32
// C++ Headers
33
#include <string>
34
35
#include <utility/vector1.hh>
36
37
38
namespace
protocols{
39
namespace
features{
40
41
enum
RamachandranHash
{
42
A
= 1,
43
B
,
44
L
,
45
E
,
46
number_of_ramachandran_hashes
=
E
47
};
48
49
class
BetaTurnDetectionFeatures
:
public
FeaturesReporter
{
50
public
:
51
BetaTurnDetectionFeatures
();
52
53
BetaTurnDetectionFeatures
(
BetaTurnDetectionFeatures
const
& );
54
55
virtual
~BetaTurnDetectionFeatures
();
56
57
///@brief return string with class name
58
virtual
std::string
59
type_name
()
const
;
60
61
///@brief generate the table schemas and write them to the database
62
void
63
write_schema_to_db
(
64
utility::sql_database::sessionOP db_session)
const
;
65
66
private
:
67
///@brief generate the beta_turns table schema
68
void
69
write_beta_turns_table_schema
(
70
utility::sql_database::sessionOP db_session)
const
;
71
72
public
:
73
///@brief return the set of features reporters that are required to
74
///also already be extracted by the time this one is used.
75
virtual
utility::vector1<std::string>
76
features_reporter_dependencies
()
const
;
77
78
///@brief collect all the feature data for the pose
79
virtual
core::Size
80
report_features
(
81
core::pose::Pose
const
& pose,
82
utility::vector1< bool >
const
&
/*relevant_residues*/
,
83
boost::uuids::uuid struct_id,
84
utility::sql_database::sessionOP db_session);
85
private
:
86
static
std::map< std::string, std::string >
const
&
get_conformation_to_turn_type_map
();
87
static
utility::vector1< std::string >
const
&
get_valid_ramachandran_hashes
();
88
89
bool
all_turn_residues_are_on_the_same_chain
(
core::pose::Pose
const
& pose,
Size
first_residue )
const
;
90
91
bool
residue_range_is_relevant
(
utility::vector1< bool >
const
& relevant_residues,
Size
range_begin,
Size
range_end )
const
;
92
93
bool
residue_range_is_protein
(
core::pose::Pose
const
& pose,
Size
range_begin,
Size
range_end )
const
;
94
95
bool
beta_turn_present
(
core::pose::Pose
const
& pose,
Size
first_residue )
const
;
96
97
std::string
const
&
beta_turn_type
(
core::pose::Pose
const
& pose,
Size
first_residue )
const
;
98
99
std::string
determine_ramachandran_hash
(
core::pose::Pose
const
& pose,
core::Size
first_residue )
const
;
100
101
std::string
determine_ramachandran_hash_for_residue_with_dihedrals
(
core::Real
phi
,
core::Real
psi
,
core::Real
omega
)
const
;
102
103
void
validate_ramachandran_hash
(
std::string
& rama_hash )
const
;
104
105
private
:
106
Size
const
beta_turn_length
;
107
core::Real
const
beta_turn_distance_cutoff
;
108
109
};
110
111
}
// features namespace
112
}
// protocols namespace
113
114
#endif //INCLUDED_protocols_features_BetaTurnDetectionFeatures_hh
Generated on Sat Jun 1 2013 11:48:56 for Rosetta 3.5 by
1.8.4