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
simple_moves
MutateResidue.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 sw=2 noet:
3
//
4
// This file is part of the Rosetta software suite and is made available under license.
5
// The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6
// (C) 199x-2009 Rosetta Commons participating institutions and developers.
7
// For more information, see http://www.rosettacommons.org/.
8
9
/// @file
10
/// @brief
11
/// @author Spencer Bliven <blivens@u.washington.edu>
12
/// @date 6/26/2009
13
14
#ifndef INCLUDED_protocols_simple_moves_MutateResidue_hh
15
#define INCLUDED_protocols_simple_moves_MutateResidue_hh
16
17
#include <
protocols/simple_moves/MutateResidue.fwd.hh
>
18
#include <
protocols/moves/Mover.hh
>
19
20
// Project Headers
21
#include <
core/pose/Pose.fwd.hh
>
22
#include <
core/types.hh
>
23
// AUTO-REMOVED #include <core/chemical/AA.hh>
24
25
//parsing
26
#include <utility/tag/Tag.fwd.hh>
27
#include <
protocols/moves/DataMap.fwd.hh
>
28
#include <
protocols/moves/Mover.fwd.hh
>
//Movers_map
29
#include <
protocols/filters/Filter.fwd.hh
>
//Filters_map
30
31
#include <utility/vector1.hh>
32
33
34
// Utility headers
35
36
// C++ headers
37
38
// Unit headers
39
40
namespace
protocols {
41
namespace
simple_moves {
42
43
/// @brief A mover to mutate a single residue
44
class
MutateResidue
:
public
protocols::moves::Mover
45
{
46
private
:
47
typedef
protocols::moves::Mover
parent
;
48
public
:
49
///@brief default ctor
50
MutateResidue
();
51
///@brief copy ctor
52
MutateResidue
(
MutateResidue
const
& dm);
53
///@brief Mutate a single residue to a new amino acid
54
MutateResidue
(
core::Size
const
target,
std::string
const
new_res );
55
MutateResidue
(
core::Size
const
target,
char
const
new_res
/*one letter code*/
);
56
virtual
~MutateResidue
() {};
57
58
virtual
void
apply
(
core::pose::Pose
& pose );
59
virtual
std::string
get_name
()
const
;
60
virtual
protocols::moves::MoverOP
clone
()
const
{
61
return
(
protocols::moves::MoverOP
(
new
protocols::simple_moves::MutateResidue
( *
this
) ) );
62
}
63
virtual
protocols::moves::MoverOP
fresh_instance
()
const
{
64
return
protocols::moves::MoverOP
(
new
MutateResidue
);
65
}
66
67
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
68
protocols::moves::DataMap
&,
69
protocols::filters::Filters_map
const
&,
70
protocols::moves::Movers_map
const
&,
71
core::pose::Pose
const
& );
72
73
virtual
void
parse_def
( utility::lua::LuaObject
const
& def,
74
utility::lua::LuaObject
const
& score_fxns,
75
utility::lua::LuaObject
const
& tasks,
76
protocols::moves::MoverCacheSP
cache );
77
private
:
78
core::Size
rb_jump_
;
79
core::Size
target_
;
80
std::string
res_name_
;
81
};
82
83
}
// moves
84
}
// protocols
85
86
#endif //INCLUDED_protocols_simple_moves_MutateResidue_HH_
87
Generated on Sat Jun 1 2013 12:16:16 for Rosetta 3.5 by
1.8.4