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
moves
DsspMover.cc
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/moves/DsspMover.cc
11
/// @brief performs dssp and set secondary structure to pose
12
/// @author Nobuyasu Koga ( nobuyasu@uw.edu )
13
14
// Unit headers
15
#include <
protocols/moves/DsspMover.hh
>
16
#include <
protocols/moves/DsspMoverCreator.hh
>
17
18
// Project Headers
19
#include <
core/scoring/dssp/Dssp.hh
>
20
// AUTO-REMOVED #include <core/pose/Pose.hh>
21
#include <
protocols/moves/Mover.hh
>
22
#include <basic/Tracer.hh>
23
24
// Parser headers
25
// AUTO-REMOVED #include <protocols/moves/DataMap.hh>
26
// AUTO-REMOVED #include <protocols/filters/Filter.hh>
27
// AUTO-REMOVED #include <utility/tag/Tag.hh> // REQUIRED FOR WINDOWS
28
29
//
30
#include <string>
31
32
#include <utility/vector0.hh>
33
#include <utility/vector1.hh>
34
35
36
static
basic::Tracer
TR
(
"protocols.DsspMover"
);
37
38
namespace
protocols {
39
namespace
moves {
40
41
std::string
42
DsspMoverCreator::keyname
()
const
43
{
44
return
DsspMoverCreator::mover_name
();
45
}
46
47
protocols::moves::MoverOP
48
DsspMoverCreator::create_mover
()
const
{
49
return
new
DsspMover
;
50
}
51
52
std::string
53
DsspMoverCreator::mover_name
()
54
{
55
return
"Dssp"
;
56
}
57
58
DsspMover::DsspMover
():
59
Mover
(
DsspMoverCreator
::mover_name() )
60
{}
61
62
DsspMover::~DsspMover
()
63
{}
64
65
/// @brief clone this object
66
DsspMover::MoverOP
DsspMover::clone
()
const
{
67
return
new
DsspMover
( *
this
);
68
}
69
70
/// @brief create this type of object
71
DsspMover::MoverOP
DsspMover::fresh_instance
()
const
{
72
return
new
DsspMover
();
73
}
74
75
/// @details virtual main
76
void
DsspMover::apply
(
Pose
& pose )
77
{
78
core::scoring::dssp::Dssp
dssp( pose );
79
dssp.
insert_ss_into_pose
( pose );
80
TR
<< dssp.
get_dssp_secstruct
() << std::endl;
81
}
82
83
std::string
84
DsspMover::get_name
()
const
{
85
return
DsspMoverCreator::mover_name
();
86
}
87
88
/// @brief parse xml
89
void
90
DsspMover::parse_my_tag
(
91
TagPtr
const
,
92
DataMap
&,
93
Filters_map
const
&,
94
Movers_map
const
&,
95
Pose
const
& )
96
{
97
TR
<<
"DsspMover loaded."
<< std::endl;
98
}
99
100
}
// namespace moves
101
}
// namespace protocols
Generated on Sat Jun 1 2013 12:00:16 for Rosetta 3.5 by
1.8.4