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
DockingLowRes.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 DockinLowRes
11
/// @brief low resolution mode for docking
12
/// @detailed
13
/// @author Monica Berrondo
14
/// @author Modified by Sergey Lyskov
15
16
17
#ifndef INCLUDED_protocols_docking_DockingLowRes_hh
18
#define INCLUDED_protocols_docking_DockingLowRes_hh
19
20
#include <
protocols/docking/types.hh
>
21
#include <
protocols/docking/DockingLowRes.fwd.hh
>
22
23
24
// Package headers
25
#include <
core/kinematics/MoveMap.fwd.hh
>
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
core/scoring/ScoreFunction.fwd.hh
>
28
29
30
#include <
protocols/moves/MoverContainer.fwd.hh
>
31
#include <
protocols/moves/MonteCarlo.fwd.hh
>
32
#include <
protocols/moves/Mover.hh
>
33
#include <
protocols/rigid/RigidBodyMover.fwd.hh
>
34
// AUTO-REMOVED #include <protocols/filters/Filter.hh>
35
// AUTO-REMOVED #include <protocols/simple_filters/ScoreCutoffFilter.hh>
36
37
#include <string>
38
39
40
41
// option key includes
42
43
// AUTO-REMOVED #include <basic/options/keys/docking.OptionKeys.gen.hh>
44
45
#include <utility/vector1.hh>
46
#include <iostream>
47
48
49
50
namespace
protocols {
51
namespace
docking
{
52
53
class
DockingLowRes
:
public
moves::Mover
54
{
55
//typedef core::Real Real;
56
public
:
57
58
/// @brief Default constructor
59
DockingLowRes
();
60
61
// destructor
62
~DockingLowRes
();
63
64
/// @brief Constructor with two arguments. The first is scorefunction to be used for docking, the second is the
65
/// jump to dock over.
66
DockingLowRes
(
67
core::scoring::ScoreFunctionCOP
scorefxn,
68
core::Size
const
rb_jump=1
69
);
70
71
/// @brief Constructor with two arguments. The first is scorefunction to be used for docking, the second is the
72
/// DockJumps.
73
DockingLowRes
(
74
core::scoring::ScoreFunctionCOP
scorefxn,
75
DockJumps
const
movable_jumps
76
);
77
78
protocols::moves::MoverOP
clone
()
const
;
79
80
/// @brief Assigns default values to primitive members
81
void
set_default
();
82
void
set_scorefxn
(
core::scoring::ScoreFunctionCOP
scorefxn );
83
84
/// @brief Instantiates non-primitive members based on the value of the primitive members
85
void
sync_objects_with_flags
();
86
87
moves::MonteCarloOP
get_mc
();
88
89
// protocol functions
90
virtual
void
apply
(
core::pose::Pose
& pose );
91
virtual
std::string
get_name
()
const
;
92
93
/// @brief Perform a cycle of rigid-body Monte Carlo moves
94
void
rigid_body_trial
(
core::pose::Pose
& pose );
95
96
// option setters
97
void
set_inner_cycles
(
core::Size
inner_cycles ) {
inner_cycles_
=inner_cycles; }
98
void
set_outer_cycles
(
core::Size
outer_cycles ) {
outer_cycles_
=outer_cycles; }
99
100
101
102
virtual
void
show
( std::ostream & out=std::cout )
const
;
103
friend
std::ostream &
operator<<
(std::ostream& out,
const
DockingLowRes
& dp );
104
105
bool
flags_and_objects_are_in_sync_
;
106
bool
first_apply_with_current_setup_
;
107
108
// Add by dK
109
// docking
110
DockJumps
movable_jumps_
;
111
112
// Add by DK
113
protocols::moves::SequenceMoverOP
docking_lowres_protocol_
;
114
core::scoring::ScoreFunctionCOP
scorefxn_
;
115
116
protected
:
117
/// @brief Performs the portion of setup of non-primitive members that requires a pose - called on apply
118
virtual
void
finalize_setup
(
core::pose::Pose
& pose);
119
120
private
:
121
// protocol stuff
122
//core::scoring::ScoreFunctionCOP scorefxn_;
123
core::kinematics::MoveMapOP
movemap_
;
124
protocols::rigid::RigidBodyPerturbNoCenterMoverOP
rb_mover_
;
125
protocols::moves::MonteCarloOP
mc_
;
126
127
// Comment out by DK
128
// docking
129
//DockJumps movable_jumps_;
130
core::Real
trans_magnitude_
,
rot_magnitude_
,
accept_rate_
;
131
core::Size
inner_cycles_
,
outer_cycles_
;
//rb_jump_
132
bool
chi_
,
bb_
,
nb_list_
;
133
core::Real
temperature_
;
134
135
/// @brief Sets up the instance of DockingLowRes and initializes all members based on values passed in at construction
136
/// or via the command line.
137
void
init
(
138
DockJumps
const
movable_jumps,
139
core::scoring::ScoreFunctionCOP
scorefxn
140
);
141
};
142
143
}
// docking
144
}
// protocols
145
146
#endif
Generated on Sat Jun 1 2013 11:47:06 for Rosetta 3.5 by
1.8.4