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
swa
protein
StepWiseProteinPacker.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 SWA_Packer.hh
11
/// @brief
12
/// @detailed
13
///
14
/// @author Rhiju Das
15
16
17
#ifndef INCLUDED_protocols_swa_protein_StepWiseProteinPacker_HH
18
#define INCLUDED_protocols_swa_protein_StepWiseProteinPacker_HH
19
20
#include <
protocols/swa/StepWisePoseSampleGenerator.fwd.hh
>
21
#include <
protocols/swa/PoseFilter.fwd.hh
>
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/pack/task/PackerTask.fwd.hh
>
24
#include <
core/types.hh
>
25
#include <
core/scoring/ScoreFunction.fwd.hh
>
26
#include <
core/io/silent/SilentFileData.fwd.hh
>
27
#include <utility/vector1.hh>
28
#include <
protocols/moves/Mover.hh
>
29
#include <
protocols/simple_moves/GreenPacker.fwd.hh
>
30
#include <string>
31
#include <map>
32
33
namespace
protocols {
34
namespace
swa {
35
namespace
protein {
36
37
// typedef std::map< std::string, core::pose::PoseOP > PoseList;
38
39
/////////////////////////////////////////////////////////////////////////////////////////////////
40
/////////////////////////////////////////////////////////////////////////////////////////////////
41
class
StepWiseProteinPacker
:
public
protocols::moves::Mover
{
42
public
:
43
44
//constructor!
45
StepWiseProteinPacker
(
46
utility::vector1< Size >
const
& moving_residues,
47
protocols::swa::StepWisePoseSampleGeneratorOP
sample_generator );
48
49
//destructor -- necessary?
50
~StepWiseProteinPacker
();
51
52
/// @brief Apply the minimizer to one pose
53
virtual
void
apply
(
core::pose::Pose
& pose_to_visualize );
54
55
virtual
std::string
get_name
()
const
;
56
57
58
void
59
set_silent_file
(
std::string
const
& setting );
60
61
void
62
set_scorefxn
(
core::scoring::ScoreFunctionOP
const
& scorefxn );
63
64
void
65
set_use_green_packer
(
bool
const
& setting );
66
67
void
68
set_use_packer_instead_of_rotamer_trials
(
bool
const
& setting );
69
70
void
71
set_rescore_only
(
bool
const
& setting ){
rescore_only_
= setting; }
72
73
void
set_calc_rms_res
(
utility::vector1< core::Size >
const
& calc_rms_res );
74
75
core::io::silent::SilentFileDataOP
&
silent_file_data
();
76
77
void
78
set_pose_filter
(
protocols::swa::PoseFilterOP
pose_filter );
79
80
private
:
81
82
void
83
sample_residues
(
core::pose::Pose
& pose );
84
85
86
void
87
print_tag
(
std::string
const
& tag,
Size
const
k );
88
89
void
90
initialize_moving_residues_including_junction
(
Size
const
& nres );
91
92
void
93
initialize_green_packer
(
core::Size
const
& nres );
94
95
void
96
initialize_for_regular_packer
(
core::pose::Pose
& pose );
97
98
void
99
figure_out_neighbors
(
core::pose::Pose
& pose,
100
utility::vector1< bool >
& residues_allowed_to_be_packed );
101
102
103
void
104
reinstate_side_chain_angles
(
core::pose::Pose
& pose,
core::pose::Pose
const
& src_pose );
105
106
void
107
apply_regular_packer
(
core::pose::Pose
& pose );
108
109
private
:
110
111
utility::vector1< Size >
const
moving_residues_
;
112
// PoseList pose_list_;
113
core::scoring::ScoreFunctionOP
scorefxn_
;
114
protocols::simple_moves::GreenPackerOP
green_packer_
;
115
bool
use_green_packer_
;
116
bool
use_packer_instead_of_rotamer_trials_
;
117
bool
pack_at_neighbors_only_
;
118
bool
rescore_only_
;
119
core::pack::task::PackerTaskOP
pack_task_
;
120
core::pose::PoseOP
pose_init_
;
121
122
std::string
silent_file_
;
123
124
core::io::silent::SilentFileDataOP
sfd_
;
125
126
utility::vector1< core::Size >
calc_rms_res_
;
127
128
protocols::swa::StepWisePoseSampleGeneratorOP
sample_generator_
;
129
130
protocols::swa::PoseFilterOP
pose_filter_
;
131
132
};
133
134
}
//swa
135
}
// protocols
136
137
}
138
#endif
Generated on Sat Jun 1 2013 12:19:11 for Rosetta 3.5 by
1.8.4