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
topology_broker
MetalloClaimer.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 TopologyBroker
11
/// @brief top-class (Organizer) of the TopologyBroker mechanism
12
/// @detailed responsibilities:
13
/// @author Oliver Lange
14
15
16
#ifndef INCLUDED_protocols_topology_broker_MetalloClaimer_hh
17
#define INCLUDED_protocols_topology_broker_MetalloClaimer_hh
18
19
20
// Unit Headers
21
#include <
protocols/topology_broker/MetalloClaimer.fwd.hh
>
22
23
// Package Headers
24
#include <
protocols/topology_broker/TopologyClaimer.hh
>
25
#include <
protocols/topology_broker/JumpClaimer.hh
>
26
#include <
protocols/topology_broker/SequenceClaimer.hh
>
27
28
#include <
protocols/jumping/ResiduePairJumpSetup.hh
>
29
30
// Project Headers
31
#include <
core/pose/Pose.fwd.hh
>
32
#include <
core/kinematics/MoveMap.hh
>
33
//#include <core/fragment/FragSet.hh>
34
//
35
36
// ObjexxFCL Headers
37
38
// Utility headers
39
// AUTO-REMOVED #include <utility/io/izstream.hh>
40
// AUTO-REMOVED #include <utility/io/ozstream.hh>
41
//#include <utility/io/util.hh>
42
//#include <basic/Tracer.hh>
43
//#include <basic/options/option.hh>
44
45
#include <utility/pointer/ReferenceCount.hh>
46
47
//#include <basic/options/option_macros.hh>
48
49
//// C++ headers
50
//#include <fstream>
51
// AUTO-REMOVED #include <istream>
52
#include <string>
53
54
#include <utility/vector1.hh>
55
56
57
// option key includes
58
59
60
namespace
protocols {
61
namespace
topology_broker {
62
63
class
MetalloClaimer
:
public
SequenceClaimer
,
public
JumpClaimer
{
64
public
:
65
MetalloClaimer
();
//for factory
66
~MetalloClaimer
() {};
67
//MetalloClaimer( simple_moves::FragmentMoverOP, std::string mover_tag, weights::AbinitioMoverWeightOP weight );
68
//MetalloClaimer( simple_moves::FragmentMoverOP );
69
70
virtual
TopologyClaimerOP
clone
()
const
{
71
return
new
MetalloClaimer
( *
this
);
72
}
73
74
virtual
void
generate_sequence_claims
(
DofClaims
&
dc
) {
75
JumpClaimer::generate_sequence_claims
( dc );
76
SequenceClaimer::generate_sequence_claims
( dc );
77
};
78
79
///mainly calls parent function... but is also used to figure out what residue number we are jumping to.
80
virtual
void
initialize_residues
(
core::pose::Pose
&,
SequenceClaimOP
init_claim,
DofClaims
& failed_to_init );
81
82
virtual
void
generate_claims
(
protocols::topology_broker::DofClaims
&
dc
) {
83
JumpClaimer::generate_claims
( dc );
84
SequenceClaimer::generate_claims
( dc );
85
}
86
87
///@brief is called after all round1 claims have been approved or retracted -- additional claims can be issued in this round
88
//virtual DofClaims finalize_claims( DofClaims& );
89
90
virtual
void
initialize_dofs
(
core::pose::Pose
& pose,
DofClaims
const
& init_claims,
DofClaims
& failed_to_init ) {
91
DofClaims
my_failures;
92
JumpClaimer::initialize_dofs
( pose, init_claims, my_failures );
93
SequenceClaimer::initialize_dofs
( pose, my_failures, failed_to_init );
94
};
95
96
// virtual bool accept_declined_claim( DofClaim const& was_declined );
97
98
///@brief type() is specifying the output name of the TopologyClaimer
99
virtual
std::string
type
()
const
{
100
return
_static_type_name
();
101
}
102
103
static
std::string
_static_type_name
() {
104
return
"MetalloClaimer"
;
105
}
106
107
virtual
void
add_constraints
(
core::pose::Pose
&
/*pose*/
)
const
;
108
109
//void set_mover( simple_moves::FragmentMoverOP mover ) {
110
// mover_ = mover;
111
// }
112
113
// void set_mover_tag( std::string const& str ) {
114
// mover_tag_ = str;
115
// if ( mover_ ) mover_->type( str );
116
// }
117
118
// std::string const& mover_tag() const {
119
// return mover_tag_;
120
// }
121
122
// virtual moves::MoverOP get_mover( core::pose::Pose const& /*pose*/ ) const;
123
124
protected
:
125
126
virtual
void
set_defaults
();
127
virtual
bool
read_tag
(
std::string
tag, std::istream& );
128
virtual
void
init_after_reading
();
129
130
// simple_moves::FragmentMover const& mover() const {
131
// return *mover_;
132
// }
133
134
// kinematics::MoveMapOP movemap_;
135
136
private
:
137
jumping::ResiduePairJumpSetupOP
jump_setup_
;
138
jumping::ResiduePairJumpOP
residue_pair_jump_
;
139
std::string
ligand_
;
// if this is ZN the sequence will be Z[ZN]
140
core::Size
anchor_residue_
;
//where does this ligand bound to
141
std::string
anchor_chain_
;
// a SequenceLabel
142
143
core::Size
resolved_anchor_residue_
;
//residue number of anchor in final pose
144
};
//class MetalloClaimer
145
146
}
147
}
148
149
#endif
Generated on Sat Jun 1 2013 12:24:44 for Rosetta 3.5 by
1.8.4