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
H3PerturbCCD.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
6
// (c) under license. The Rosetta software is developed by the contributing
7
// (c) members of the Rosetta Commons. For more information, see
8
// (c) http://www.rosettacommons.org. Questions about this can be addressed to
9
// (c) University of Washington UW TechTransfer, email:license@u.washington.edu
10
11
/// @file protocols/antibody2/H3PerturbCCD.hh
12
/// @brief Build a homology model of an antibody2
13
/// @detailed
14
///
15
///
16
/// @author Jianqing Xu (xubest@gmail.com)
17
18
19
20
#ifndef INCLUDED_protocols_antibody2_H3PerturbCCD_hh
21
#define INCLUDED_protocols_antibody2_H3PerturbCCD_hh
22
23
24
#include <
protocols/moves/Mover.hh
>
25
#include <
protocols/moves/MoverContainer.fwd.hh
>
26
#include <
protocols/loops/Loop.hh
>
27
#include <
protocols/loops/Loops.hh
>
28
#include <
core/pose/Pose.hh
>
29
#include <
core/pack/task/TaskFactory.fwd.hh
>
30
#include <
core/fragment/FragSet.hh
>
31
#include <
core/scoring/ScoreFunction.hh
>
32
#include <
protocols/antibody2/AntibodyInfo.fwd.hh
>
33
#include <
protocols/antibody2/H3PerturbCCD.fwd.hh
>
34
#include <
protocols/moves/MonteCarlo.fwd.hh
>
35
36
37
using namespace
core;
38
namespace
protocols {
39
namespace
antibody2 {
40
41
42
43
class
H3PerturbCCD
:
public
moves::Mover
{
44
45
46
public
:
47
48
/// @brief default constructor
49
H3PerturbCCD
();
50
51
/// @brief constructor with arguments
52
H3PerturbCCD
(
AntibodyInfoOP
antibody_in);
53
54
/// @brief constructor with arguments
55
H3PerturbCCD
(
AntibodyInfoOP
antibody_in,
56
core::scoring::ScoreFunctionCOP
highres_scorefxn);
57
58
virtual
protocols::moves::MoverOP
clone
()
const
;
59
60
/// @brief default destructor
61
~
H3PerturbCCD
();
62
63
64
65
virtual
void
apply(
core::pose::Pose
& pose );
66
67
virtual
std::string
get_name
()
const
{
68
return
"H3PerturbCCD"
;
69
}
70
71
void
read_and_store_fragments();
72
73
74
void
pass_the_loop
(
loops::Loop
& input_loop){
75
input_loop_ = input_loop;
76
}
77
78
void
turn_off_H3_filter
(){
79
H3_filter_ =
false
;
80
}
81
82
/// @brief set scorefunction for low resolution of CDR H3 modeling
83
void
set_lowres_score_func
(
scoring::ScoreFunctionCOP
lowres_scorefxn ){
84
lowres_scorefxn_ =
new
core::scoring::ScoreFunction
(*lowres_scorefxn);
85
}
86
87
private
:
88
89
AntibodyInfoOP
ab_info_
;
90
91
loops::Loop
input_loop_
;
92
93
bool
user_defined_
;
94
bool
is_camelid_
;
95
96
97
98
void
set_default();
99
void
init
();
100
101
void
finalize_setup(
core::pose::Pose
& pose );
102
103
104
/// @brief Build centroid mode CDR H3 loop
105
void
build_centroid_loop(
core::pose::Pose
& pose );
106
107
void
scored_frag_close(
108
core::pose::Pose
& pose_in,
109
loops::Loop
const
trimmed_cdr_h3 );
110
111
112
113
/// @brief size of loop above which 9mer frags are used
114
core::Size
cutoff_9_
;
// default 16
115
116
/// @brief size of loop above which 3mer frags are used
117
core::Size
cutoff_3_
;
// default 6
118
119
core::scoring::ScoreFunctionOP
lowres_scorefxn_
;
120
121
core::Real
cen_cst_
;
122
123
/// @brief flag indicating that current loop being modeled is CDR H3
124
bool
current_loop_is_H3_
;
125
126
/// @brief actually enables H3 filter for H3 operations
127
bool
H3_filter_
;
128
129
core::Size
num_cycles1_
;
130
core::Size
max_ccd_cycles_
;
131
132
utility::vector1< core::fragment::FragSetOP >
cdr_h3_frags_
;
133
134
core::Real
h3_fraction_
;
135
core::Real
ccd_threshold_
;
136
core::Real
Temperature_
;
137
138
protocols::moves::MonteCarloOP
mc_,
outer_mc_
;
139
140
};
141
142
143
144
}
// namespace antibody2
145
}
// namespace protocols
146
147
#endif
148
149
150
151
Generated on Sat Jun 1 2013 11:43:00 for Rosetta 3.5 by
1.8.4