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
ProteinRMSDFeatures.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/ProteinRMSDFeatures.hh
11
/// @brief report ProteinRMSD similarity of structure against supplied reference structure
12
/// @author Matthew O'Meara (mattjomeara@gmail.com)
13
14
#ifndef INCLUDED_protocols_features_ProteinRMSDFeatures_hh
15
#define INCLUDED_protocols_features_ProteinRMSDFeatures_hh
16
17
// Unit Headers
18
#include <
protocols/features/FeaturesReporter.hh
>
19
#include <
protocols/features/ProteinRMSDFeatures.fwd.hh
>
20
21
//External
22
#include <boost/uuid/uuid.hpp>
23
24
// Project Headers
25
#include <
core/types.hh
>
26
#include <
core/pose/Pose.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/sql_database/DatabaseSessionManager.fwd.hh>
31
#include <utility/vector1.fwd.hh>
32
33
// C++ Headers
34
#include <string>
35
36
#include <utility/vector1.hh>
37
38
39
namespace
protocols{
40
namespace
features{
41
42
class
ProteinRMSDFeatures
:
public
FeaturesReporter
{
43
public
:
44
45
/// @details If you use this constructore, before applying, make
46
/// sure the reference pose is specified, either through the
47
/// set_reference_pose method or parse_my_tag.
48
ProteinRMSDFeatures
() {}
49
50
ProteinRMSDFeatures
(
51
core::pose::PoseCOP
reference_pose
52
);
53
54
ProteinRMSDFeatures
(
55
ProteinRMSDFeatures
const
& ) :
56
FeaturesReporter
()
57
{}
58
59
virtual
~ProteinRMSDFeatures
(){}
60
61
///@brief return string with class name
62
std::string
63
type_name
()
const
;
64
65
///@brief return the set of features reporters that are required to
66
///also already be extracted by the time this one is used.
67
utility::vector1<std::string>
68
features_reporter_dependencies
()
const
;
69
70
///@brief generate the table schemas and write them to the database
71
void
72
write_schema_to_db
(
73
utility::sql_database::sessionOP db_session)
const
;
74
75
private
:
76
///@brief generate the protein_rmsd table schema
77
void
78
write_protein_rmsd_table_schema
(
79
utility::sql_database::sessionOP db_session)
const
;
80
81
public
:
82
core::pose::PoseCOP
reference_pose
()
const
;
83
void
reference_pose
(
core::pose::PoseCOP
);
84
85
virtual
86
void
87
parse_my_tag
(
88
utility::tag::TagPtr
const
tag,
89
protocols::moves::DataMap
& data,
90
protocols::filters::Filters_map
const
&
/*filters*/
,
91
protocols::moves::Movers_map
const
&
/*movers*/
,
92
core::pose::Pose
const
& pose);
93
94
///@brief collect all the feature data for the pose
95
core::Size
96
report_features
(
97
core::pose::Pose
const
& pose,
98
utility::vector1< bool >
const
& relevant_residues,
99
boost::uuids::uuid struct_id,
100
utility::sql_database::sessionOP db_session
101
);
102
103
private
:
104
core::pose::PoseCOP
reference_pose_
;
105
106
};
107
108
}
// features namespace
109
}
// protocols namespace
110
111
#endif // include guard
Generated on Sat Jun 1 2013 11:49:14 for Rosetta 3.5 by
1.8.4