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
enzdes
PackRotamersMoverPartGreedy.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
11
/// @brief
12
/// @author Sagar Khare (khares@uw.edu)
13
14
#ifndef INCLUDED_protocols_enzdes_PackRotamersMoverPartGreedy_hh
15
#define INCLUDED_protocols_enzdes_PackRotamersMoverPartGreedy_hh
16
17
// Unit headers
18
//#include <protocols/simple_moves/PackRotamersMoverPartGreedy.fwd.hh>
19
#include <
protocols/moves/Mover.hh
>
20
21
// Project headers
22
#include <
core/types.hh
>
23
24
#include <
core/pack/task/PackerTask.fwd.hh
>
25
#include <
core/pack/task/TaskFactory.fwd.hh
>
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
core/scoring/ScoreFunction.fwd.hh
>
28
#include <
protocols/filters/Filter.fwd.hh
>
29
#include <utility/tag/Tag.fwd.hh>
30
#include <utility/vector1.hh>
31
32
33
34
namespace
protocols {
35
namespace
enzdes {
36
37
/// @brief a mover that packs the side-chains around a given set of target residues in a greedy fashion, and then packs the rest using the sim annealer.
38
39
class
PackRotamersMoverPartGreedy
:
public
protocols::moves::Mover
{
40
41
typedef
core::pack::task::PackerTaskOP
PackerTaskOP
;
42
typedef
core::pack::task::TaskFactoryOP
TaskFactoryOP
;
43
typedef
core::scoring::ScoreFunctionOP
ScoreFunctionOP
;
44
45
public
:
46
///@brief default constructors
47
PackRotamersMoverPartGreedy
(
48
ScoreFunctionOP
scorefxn,
49
PackerTaskOP
task
,
50
utility::vector1 <core::Size>
target_residues
51
);
52
53
PackRotamersMoverPartGreedy
();
54
55
//std::string PackRotamersMoverPartGreedyCreator::mover_name();
56
57
// destructor
58
virtual
~PackRotamersMoverPartGreedy
();
59
60
//parser stuff
61
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
&pose );
62
void
apply
(
core::pose::Pose
&pose );
63
virtual
std::string
get_name
()
const
;
64
protocols::moves::MoverOP
clone
()
const
;
65
protocols::moves::MoverOP
fresh_instance
()
const
;
66
67
// methods
68
void
greedy_around
(
69
core::pose::Pose
& pose,
70
utility::vector1<core::Size >
const
& target_res,
71
core::pack::task::PackerTaskOP
task
,
72
core::scoring::ScoreFunctionCOP
scorefxn
73
);
74
75
utility::vector1< core::Size >
compute_designable_neighbors
(
76
core::Size
const
& position,
77
core::pack::task::PackerTaskCOP
task
,
78
core::pose::Pose
const
& pose
79
);
80
81
void
update_task_and_neighbors
(
82
core::Size
const
& best_neigh,
83
core::pack::task::PackerTaskOP
task
,
84
utility::vector1< core::Size >
& current_neighbors
85
);
86
87
// getters and setters
88
89
void
task_factory
(
core::pack::task::TaskFactoryOP
p );
90
void
task
(
core::pack::task::PackerTaskOP
task
);
91
void
target_residues
(
utility::vector1< core::Size >
& trg_res);
92
93
//choose n best residues interacting with ligand
94
utility::vector1<core::Size>
choose_n_best
(
95
core::pose::Pose
const
& pose,
96
core::Size
const
& n_best
97
);
98
99
private
:
100
core::scoring::ScoreFunctionOP
scorefxn_repack_
;
101
core::scoring::ScoreFunctionOP
scorefxn_repack_greedy_
;
102
core::scoring::ScoreFunctionOP
scorefxn_minimize_
;
103
core::pack::task::PackerTaskOP
task_
;
104
core::pack::task::TaskFactoryOP
task_factory_
;
105
utility::vector1< core::Size >
target_residues_
;
106
utility::vector1< core::Size >
restrict_to_repacking_
;
107
bool
use_cstids_
;
108
core::Real
threshold_
;
109
std::string
cstid_list_
;
110
core::Size
n_best_
;
111
};
112
113
114
}
// moves
115
}
// protocols
116
117
#endif
Generated on Sat Jun 1 2013 11:48:45 for Rosetta 3.5 by
1.8.4