Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
17 
18 // Project Headers
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 
43 {
45 }
46 
49  return new DsspMover;
50 }
51 
54 {
55  return "Dssp";
56 }
57 
59  Mover( DsspMoverCreator::mover_name() )
60 {}
61 
63 {}
64 
65 /// @brief clone this object
67  return new DsspMover( *this );
68 }
69 
70 /// @brief create this type of object
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 
86 }
87 
88 /// @brief parse xml
89 void
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