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
DockingLowResEnsemble.cc
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 DockingLowResEnsemble
11
/// @brief protocols that are specific to low resolution ensemble docking
12
/// @detailed
13
/// @author Daisuke Kuroda
14
15
#include <
protocols/docking/DockingLowRes.hh
>
16
#include <
protocols/docking/DockingLowResEnsemble.hh
>
17
#include <
protocols/docking/DockingEnsemble.hh
>
18
19
// Rosetta Headers
20
#include <
core/kinematics/MoveMap.hh
>
21
22
// AUTO-REMOVED #include <basic/options/option.hh>
23
// AUTO-REMOVED #include <basic/options/keys/OptionKeys.hh>
24
25
// AUTO-REMOVED #include <core/kinematics/FoldTree.hh>
26
27
#include <
core/pose/Pose.hh
>
28
29
#include <
core/scoring/ScoreFunction.hh
>
30
31
#include <
protocols/docking/ConformerSwitchMover.hh
>
32
#include <
protocols/moves/MonteCarlo.hh
>
33
#include <
protocols/moves/Mover.hh
>
34
#include <
protocols/rigid/RigidBodyMover.hh
>
35
#include <
protocols/moves/TrialMover.hh
>
36
#include <
protocols/moves/RepeatMover.hh
>
37
#include <
protocols/moves/MoverContainer.hh
>
38
39
// Utility Headers
40
#include <utility/tools/make_vector1.hh>
41
42
// ObjexxFCL Headers
43
#include <ObjexxFCL/string.functions.hh>
44
#include <ObjexxFCL/format.hh>
45
46
// C++ Headers
47
#include <string>
48
49
//Utility Headers
50
// AUTO-REMOVED #include <numeric/conversions.hh>
51
52
#include <numeric/trig.functions.hh>
53
#include <numeric/xyzMatrix.fwd.hh>
54
55
#include <basic/Tracer.hh>
56
57
#include <
core/scoring/ScoreFunctionFactory.hh
>
58
#include <utility/vector0.hh>
59
#include <utility/vector1.hh>
60
61
using
basic::T
;
62
using
basic::Error;
63
using
basic::Warning;
64
65
static
basic::Tracer
TR
(
"protocols.docking.DockingLowResEnsemble"
);
66
67
using namespace
core;
68
69
namespace
protocols {
70
namespace
docking
{
71
72
// default constructor
73
DockingLowResEnsemble::DockingLowResEnsemble() :
DockingLowRes
()
74
{
75
type
(
"DockingLowResEnsemble"
);
76
}
77
78
// constructor with arguments
79
DockingLowResEnsemble::DockingLowResEnsemble
(
80
core::scoring::ScoreFunctionCOP
scorefxn,
81
DockJumps
const
movable_jumps
82
) :
DockingLowRes
( scorefxn, movable_jumps )
83
{
84
type
(
"DockingLowResEnsemble"
);
85
}
86
87
//destructor
88
DockingLowResEnsemble::~DockingLowResEnsemble
() {}
89
90
91
protocols::moves::MoverOP
DockingLowResEnsemble::clone
()
const
{
92
return
new
DockingLowResEnsemble
(*
this
);
93
}
94
95
96
void
DockingLowResEnsemble::set_ensemble1
(
DockingEnsembleOP
ensemble1 )
97
{
98
ensemble1_mover_
=
new
protocols::docking::ConformerSwitchMover
( ensemble1 );
99
}
100
101
void
DockingLowResEnsemble::set_ensemble2
(
DockingEnsembleOP
ensemble2 )
102
{
103
ensemble2_mover_
=
new
protocols::docking::ConformerSwitchMover
( ensemble2 );
104
}
105
106
void
DockingLowResEnsemble::finalize_setup
(
core::pose::Pose
& pose){
107
using namespace
moves;
108
109
DockingLowRes::finalize_setup
( pose );
110
111
// add if ens_mover1 ...
112
// inner_move_sequence
113
docking_lowres_protocol_
->add_mover(
ensemble1_mover_
);
114
docking_lowres_protocol_
->add_mover(
ensemble2_mover_
);
115
}
116
117
void
DockingLowResEnsemble::show
( std::ostream & out )
const
118
{
119
DockingLowRes::show
( out );
120
121
using namespace
ObjexxFCL::fmt;
122
std::string
line_marker =
"///"
;
123
out << line_marker <<
" Ensemble 1: "
<< ( (
ensemble1_mover_
) ? (
"on"
) : (
"off "
) );
124
out << space( 59 ) << line_marker << std::endl;
125
out << line_marker <<
" Ensemble 2: "
<< ( (
ensemble2_mover_
) ? (
"on"
) : (
"off "
) );
126
out << space( 59 ) << line_marker << std::endl;
127
}
128
129
}
// namespace docking
130
}
// namespace protocols
Generated on Sat Jun 1 2013 11:47:07 for Rosetta 3.5 by
1.8.4