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
SmotifFeatures.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 SmotifFeatures.hh
11
///
12
/// @brief
13
/// @author Tim Jacobs
14
15
#ifndef INCLUDED_protocols_features_SmotifFeature_hh
16
#define INCLUDED_protocols_features_SmotifFeature_hh
17
18
// Unit Headers
19
#include <
protocols/features/FeaturesReporter.hh
>
20
#include <
protocols/features/SmotifFeatures.fwd.hh
>
21
22
//External
23
#include <boost/uuid/uuid.hpp>
24
25
// Project Headers
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
protocols/filters/Filter.fwd.hh
>
28
#include <
protocols/moves/Mover.fwd.hh
>
29
#include <
protocols/moves/DataMap.fwd.hh
>
30
#include <utility/vector1.fwd.hh>
31
32
#include <numeric/xyzVector.fwd.hh>
33
34
// C++ Headers
35
#include <string>
36
37
#include <
core/scoring/ScoreFunction.fwd.hh
>
38
#include <utility/vector1.hh>
39
40
41
namespace
protocols{
42
namespace
features{
43
44
struct
SecondaryStructureSegment
{
45
core::Size
segment_id
;
46
core::Size
residue_begin
;
47
core::Size
residue_end
;
48
std::string
dssp
;
49
};
50
51
class
SmotifFeatures
:
public
protocols::features::FeaturesReporter
{
52
public
:
53
SmotifFeatures
();
54
55
SmotifFeatures
(
56
core::scoring::ScoreFunctionOP
scfxn);
57
58
SmotifFeatures
(
SmotifFeatures
const
& src );
59
60
virtual
~SmotifFeatures
();
61
62
///@brief return string with class name
63
std::string
64
type_name
()
const
;
65
66
///@brief generate the table schemas and write them to the database
67
void
68
write_schema_to_db
(utility::sql_database::sessionOP db_session)
const
;
69
70
///@brief return the set of features reporters that are required to
71
///also already be extracted by the time this one is used.
72
utility::vector1<std::string>
73
features_reporter_dependencies
()
const
;
74
75
void
76
parse_my_tag
(
77
utility::tag::TagPtr
const
tag,
78
protocols::moves::DataMap
& data,
79
protocols::filters::Filters_map
const
&
/*filters*/
,
80
protocols::moves::Movers_map
const
&
/*movers*/
,
81
core::pose::Pose
const
&
/*pose*/
);
82
83
utility::vector1<SecondaryStructureSegment>
84
get_ss_segments
(
85
boost::uuids::uuid struct_id,
86
utility::sql_database::sessionOP db_session);
87
88
/* Undefined, commenting out to fix PyRosetta build numeric::xyzVector<core::Real>
89
pca(utility::vector1< numeric::xyzVector< core::Real > > coords); */
90
91
///@brief collect all the feature data for the pose
92
core::Size
93
report_features
(
94
core::pose::Pose
const
& pose,
95
utility::vector1< bool >
const
& relevant_residues,
96
boost::uuids::uuid struct_id,
97
utility::sql_database::sessionOP db_session
98
);
99
};
100
101
}
// namespace
102
}
// namespace
103
104
#endif // include guard
Generated on Sat Jun 1 2013 11:49:25 for Rosetta 3.5 by
1.8.4