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
FavorSequenceProfile.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/simple_moves/FavorSequenceProfile.hh
11
/// @brief Add a SequenceProfileConstraint to a pose.
12
/// @author Rocco Moretti (rmoretti@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_simple_moves_FavorSequenceProfile_hh
15
#define INCLUDED_protocols_simple_moves_FavorSequenceProfile_hh
16
17
18
#include <
core/types.hh
>
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <
core/sequence/Sequence.fwd.hh
>
21
#include <
core/sequence/SequenceProfile.hh
>
22
23
#include <utility/tag/Tag.fwd.hh>
24
#include <
protocols/filters/Filter.fwd.hh
>
25
#include <
protocols/moves/Mover.hh
>
26
#include <
protocols/moves/DataMap.fwd.hh
>
27
28
#include <utility/vector1.hh>
29
30
// #include <protocols/protein_interface_design/design_utils.hh>
31
32
namespace
protocols {
33
namespace
simple_moves {
34
35
class
FavorSequenceProfile
:
public
protocols::moves::Mover
36
{
37
public
:
38
FavorSequenceProfile
();
39
virtual
std::string
get_name
()
const
{
return
"FavorSequenceProfile"
; }
40
protocols::moves::MoverOP
clone
()
const
{
return
(
new
protocols::simple_moves::FavorSequenceProfile
( *
this
) ); }
41
protocols::moves::MoverOP
fresh_instance
()
const
{
return
new
FavorSequenceProfile
; }
42
void
set_sequence
(
core::sequence::Sequence
& seq,
std::string
matrix
);
43
/// @brief Set the profile object to use.
44
/// Remember to set set_scaling() appropriately for the profile matrix you pass in.
45
void
set_profile
(
core::sequence::SequenceProfile
& profile);
46
/// @brief What type of manipulation to apply to the profile prior to using it for constraints.
47
void
set_scaling
(
std::string
const
& scaling );
48
/// @brief What multiplication factor to apply to the profile prior to using it for constraints.
49
void
set_weight
(
core::Real
weight );
50
void
apply
(
core::pose::Pose
& pose );
51
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
protocols::filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
52
virtual
void
parse_def
( utility::lua::LuaObject
const
& def,
53
utility::lua::LuaObject
const
& score_fxns,
54
utility::lua::LuaObject
const
& tasks,
55
protocols::moves::MoverCacheSP
cache );
56
virtual
~FavorSequenceProfile
() {};
57
private
:
58
core::Real
weight_
;
59
bool
use_current_
;
60
std::string
matrix_
;
61
std::string
scaling_
;
62
core::Size
chain_
;
63
core::sequence::SequenceProfileOP
ref_profile_
;
64
};
65
66
}
// moves
67
}
// protocols
68
69
70
#endif
/*INCLUDED_protocols_simple_moves_FavorSequenceProfile_hh*/
71
Generated on Sat Jun 1 2013 12:15:40 for Rosetta 3.5 by
1.8.4