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
docking
DockingHighRes.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 docking_initialization_protocols
11
/// @brief initialization protocols for docking
12
/// @detailed
13
/// This contains the functions that create initial positions for docking
14
/// You can either randomize partner 1 or partner 2, spin partner 2, or
15
/// perform a simple perturbation.
16
/// @author Monica Berrondo
17
/// @author Modified by Sergey Lyskov
18
19
20
#ifndef INCLUDED_protocols_docking_DockingHighRes_hh
21
#define INCLUDED_protocols_docking_DockingHighRes_hh
22
23
#include <
protocols/docking/DockingHighRes.fwd.hh
>
24
25
// Package headers
26
#include <
protocols/docking/types.hh
>
27
#include <
protocols/docking/DockTaskFactory.fwd.hh
>
28
29
// Project Headers
30
#include <
core/pose/Pose.fwd.hh
>
31
32
#include <
core/scoring/ScoreFunction.fwd.hh
>
33
34
#include <
protocols/moves/Mover.hh
>
35
#include <
core/pack/task/TaskFactory.fwd.hh
>
36
#include <
core/pack/task/operation/TaskOperation.fwd.hh
>
37
#include <
protocols/toolbox/task_operations/InterfaceTaskOperation.fwd.hh
>
38
39
40
#include <utility/vector1.hh>
41
42
43
// option key includes
44
45
namespace
protocols {
46
namespace
docking
{
47
48
class
DockingHighRes
:
public
moves::Mover
49
{
50
typedef
core::Real
Real
;
51
public
:
52
53
/// @brief Default constructor
54
DockingHighRes
();
55
56
/// @brief Constructor with one argument - the jump number to dock over.
57
DockingHighRes
(
58
core::Size
const
rb_jump
59
);
60
61
/// @brief Constructor with two arguments. The first is thejump number, the second is a scorefunction that will be
62
/// used for docking and packing.
63
DockingHighRes
(
64
core::Size
const
rb_jump,
65
core::scoring::ScoreFunctionOP
scorefxn
66
);
67
68
/// @brief Constructor with three arguments. The first is the jump number, the second is a scorefunction that will
69
/// be used for docking and the third is a scorefunction that will be used for packing.
70
DockingHighRes
(
71
core::Size
const
rb_jump,
72
core::scoring::ScoreFunctionOP
scorefxn
,
73
core::scoring::ScoreFunctionOP
scorefxn_pack
74
);
75
76
/// @brief Constructor with three arguments. The first is the DockJumps, the second is a scorefunction that will
77
/// be used for docking and the third is a scorefunction that will be used for packing.
78
DockingHighRes
(
79
DockJumps
const
movable_jumps
,
80
core::scoring::ScoreFunctionOP
scorefxn
,
81
core::scoring::ScoreFunctionOP
scorefxn_pack
82
);
83
84
//Copy constructor
85
DockingHighRes
(
DockingHighRes
const
& old_instance );
86
87
virtual
~DockingHighRes
();
88
89
//clone
90
//protocols::moves::MoverOP clone() const = 0;
91
92
void
set_task_factory
(
core::pack::task::TaskFactoryCOP
tf );
93
//allows one to ignore the DockTaskFactoryOP and allow use of whatever is given in set_task_factory()
94
//only works for DockMCMProtocol at the moment
95
void
set_ignore_default_task
(
bool
ignore_default_task
);
96
bool
ignore_default_task
();
97
void
set_scorefxn
(
core::scoring::ScoreFunctionOP
scorefxn
);
98
void
set_scorefxn_pack
(
core::scoring::ScoreFunctionOP
scorefxn_pack
);
99
100
DockJumps
&
movable_jumps
() {
return
movable_jumps_
; }
101
DockJumps
const
&
movable_jumps
()
const
{
return
movable_jumps_
; }
102
core::pack::task::TaskFactoryCOP
task_factory
();
103
104
// protocol functions
105
virtual
void
apply
(
core::pose::Pose
& pose ) = 0;
106
virtual
std::string
get_name
()
const
= 0;
107
108
void
set_sc_min
(
bool
sc_min
){
sc_min_
=
sc_min
; }
109
void
set_rt_min
(
bool
rt_min
){
rt_min_
=
rt_min
; }
110
void
set_partners
(
std::string
partners
) {
partners_
=
partners
; }
111
void
set_interface_definition_task_operation
(
protocols::toolbox::task_operations::InterfaceTaskOperationOP
interface_definition );
112
void
set_additional_task_operarations
(
utility::vector1< core::pack::task::operation::TaskOperationOP >
additional_task_operations );
113
void
add_additional_task_operaration
(
core::pack::task::operation::TaskOperationOP
task_operation );
114
utility::vector1< core::pack::task::operation::TaskOperationOP >
get_additional_task_operarations
();
115
116
117
bool
sc_min
() {
return
sc_min_
; }
118
bool
rt_min
() {
return
rt_min_
; }
119
std::string
partners
() {
return
partners_
; }
120
121
core::scoring::ScoreFunctionOP
scorefxn
()
const
;
122
core::scoring::ScoreFunctionOP
scorefxn_pack
()
const
;
123
124
protected
:
125
protocols::docking::DockTaskFactoryOP
tf2
();
//JQX: change COP to OP
126
127
private
:
128
bool
sc_min_
;
129
bool
rt_min_
;
130
std::string
partners_
;
131
132
core::scoring::ScoreFunctionOP
scorefxn_
;
133
core::scoring::ScoreFunctionOP
scorefxn_pack_
;
134
135
// docking
136
DockJumps
movable_jumps_
;
137
138
// the task factory that will be used for all parts of docking
139
core::pack::task::TaskFactoryOP
tf_
;
140
protocols::docking::DockTaskFactoryOP
tf2_
;
// tf2 = task factory factory - we use this to create our task factories
141
bool
ignore_default_task_
;
//will ignore the DockTaskFactoryOP and allow use of whatever is given in set_task_factory()
142
void
init
(
DockJumps
const
movable_jumps
);
143
};
144
145
}
// docking
146
}
// protocols
147
148
#endif
Generated on Sat Jun 1 2013 11:46:51 for Rosetta 3.5 by
1.8.4