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
antibody2
GraftOneCDRLoop.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 protocols/antibody2/GraftOneCDRLoop.hh
11
/// @brief grafts a cdr onto the template of an antibody framework
12
/// @detailed
13
/// @author Jianqing Xu (xubest@gmail.com)
14
15
16
#ifndef INCLUDED_protocols_antibody2_GraftOneCDRLoop_hh
17
#define INCLUDED_protocols_antibody2_GraftOneCDRLoop_hh
18
19
#include <
protocols/antibody2/GraftOneCDRLoop.fwd.hh
>
20
21
#include <
protocols/moves/Mover.hh
>
22
#include <
core/pose/Pose.hh
>
23
#include <
core/scoring/ScoreFunction.fwd.hh
>
24
#include <
protocols/antibody2/AntibodyInfo.hh
>
25
#include <
protocols/antibody2/Ab_TemplateInfo.fwd.hh
>
26
27
namespace
protocols {
28
namespace
antibody2 {
29
30
/// @brief Grafts only one CDR onto a framework
31
class
GraftOneCDRLoop
:
public
protocols::moves::Mover
{
32
public
:
33
// default constructor
34
GraftOneCDRLoop
();
35
36
// constructor with arguments
37
GraftOneCDRLoop
(
AntibodyCDRNameEnum
const
& cdr_name,
38
AntibodyInfoOP
antibody_info,
39
Ab_TemplateInfoOP
ab_t_info);
40
41
42
~GraftOneCDRLoop
();
43
44
virtual
void
apply
(
core::pose::Pose
& pose_in );
45
46
virtual
std::string
get_name
()
const
;
47
48
49
/// @brief enable benchmark mode
50
inline
void
enable_benchmark_mode
(
bool
setting ) {
51
benchmark_
= setting;
52
}
53
54
///@brief users can pass their own scorefunction for packing after grafting
55
void
set_scorefxn
(
core::scoring::ScoreFunctionOP
scorefxn){
56
scorefxn_
= scorefxn;
57
}
58
59
///@brief R2 just graft R2 by copying some stem residues, and remove H3 to do
60
/// H3 loop modeling later. But the terminal has been changed by this
61
/// grafting. Therefore, in R3, an option for not copying h3 stem is
62
/// provided.
63
void
h3_stem_off
(
bool
setting ){
64
h3_stem_not_graft_
= setting;
65
}
66
67
void
set_flank_size
(
double
setting){
68
flank_size_
=setting;
69
}
70
71
///@brief copy ctor
72
GraftOneCDRLoop
(
GraftOneCDRLoop
const
& rhs );
73
74
///@brief assignment operator
75
GraftOneCDRLoop
&
operator=
(
GraftOneCDRLoop
const
& rhs );
76
77
78
private
:
79
void
set_default
();
80
void
init
();
81
void
finalize_setup
();
82
void
initForEqualOperatorAndCopyConstructor
(
GraftOneCDRLoop
& lhs,
GraftOneCDRLoop
const
& rhs);
83
84
85
private
:
86
87
// Limits of query loop
88
core::Size
flank_size_
;
89
core::Size
stem_copy_size_
;
90
91
AntibodyCDRNameEnum
cdr_name_
;
92
AntibodyInfoOP
ab_info_
;
93
Ab_TemplateInfoOP
ab_t_info_
;
94
95
bool
benchmark_
;
96
bool
h3_stem_not_graft_
;
97
98
core::scoring::ScoreFunctionCOP
scorefxn_
;
99
100
101
};
// class GraftOneCDRLoop
102
103
104
105
106
107
}
// antibody2
108
}
// protocols
109
110
111
112
113
114
115
116
117
#endif
Generated on Sat Jun 1 2013 11:42:56 for Rosetta 3.5 by
1.8.4