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
StepWiseProteinResidueSampler.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_ResidueSampler.hh
11
/// @brief
12
/// @detailed
13
///
14
/// @author Rhiju Das
15
16
17
#ifndef INCLUDED_protocols_swa_protein_StepWiseProteinResidueSampler_HH
18
#define INCLUDED_protocols_swa_protein_StepWiseProteinResidueSampler_HH
19
20
#include <
core/kinematics/Jump.hh
>
21
#include <
core/pose/Pose.fwd.hh
>
22
#include <
core/pack/task/PackerTask.fwd.hh
>
23
#include <
core/types.hh
>
24
// AUTO-REMOVED #include <core/id/TorsionID.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
// AUTO-REMOVED #include <protocols/swa/protein/MainChainTorsionSet.hh> // should make a .fwd.hh probably
31
#include <string>
32
#include <map>
33
34
//Auto Headers
35
#include <
core/id/TorsionID.fwd.hh
>
36
namespace
protocols {
37
namespace
swa {
38
namespace
protein {
39
40
// typedef std::map< std::string, core::pose::PoseOP > PoseList;
41
42
/////////////////////////////////////////////////////////////////////////////////////////////////
43
/////////////////////////////////////////////////////////////////////////////////////////////////
44
class
StepWiseProteinResidueSampler
:
public
protocols::moves::Mover
{
45
public
:
46
47
//constructor!
48
StepWiseProteinResidueSampler
(
49
utility::vector1< Size >
const
& moving_residues,
50
utility::vector1< core::id::TorsionID >
const
& which_torsions,
51
utility::vector1
<
utility::vector1< core::Real >
>
const
& main_chain_torsion_set_lists );
52
53
54
//constructor!
55
StepWiseProteinResidueSampler
(
56
utility::vector1< Size >
const
& moving_residues,
57
utility::vector1< core::id::TorsionID >
const
& which_torsions,
58
utility::vector1
<
utility::vector1< core::Real >
>
const
& main_chain_torsion_set_lists,
59
Size
const
which_jump,
60
utility::vector1< core::kinematics::Jump >
const
& jumps );
61
62
//destructor -- necessary?
63
~StepWiseProteinResidueSampler
();
64
65
/// @brief Apply the minimizer to one pose
66
virtual
void
apply
(
core::pose::Pose
& pose_to_visualize );
67
68
virtual
std::string
get_name
()
const
;
69
70
71
void
72
set_silent_file
(
std::string
const
& setting );
73
74
void
75
set_scorefxn
(
core::scoring::ScoreFunctionOP
const
& scorefxn );
76
77
void
78
set_use_green_packer
(
bool
const
& setting );
79
80
void
81
set_use_packer_instead_of_rotamer_trials
(
bool
const
& setting );
82
83
void
84
set_do_prepack
(
bool
const
& setting );
85
86
void
set_calc_rms_res
(
utility::vector1< core::Size >
const
& calc_rms_res );
87
88
core::io::silent::SilentFileDataOP
&
silent_file_data
();
89
90
private
:
91
92
void
93
sample_residues
(
core::pose::Pose
& pose );
94
95
void
96
quick_output
(
core::pose::Pose
& pose,
97
std::string
const
& tag );
98
99
void
100
initialize_moving_residues_including_junction
(
Size
const
& nres );
101
102
void
103
initialize_green_packer
(
core::Size
const
& nres );
104
105
void
106
initialize_for_regular_packer
(
core::pose::Pose
& pose );
107
108
void
109
figure_out_neighbors
(
core::pose::Pose
& pose,
110
utility::vector1< bool >
& residues_allowed_to_be_packed );
111
112
void
113
reinstate_side_chain_angles
(
core::pose::Pose
& pose,
core::pose::Pose
const
& src_pose );
114
115
void
116
apply_regular_packer
(
core::pose::Pose
& pose );
117
118
private
:
119
120
utility::vector1< Size >
const
moving_residues_
;
121
utility::vector1< core::id::TorsionID >
const
which_torsions_
;
122
utility::vector1< utility::vector1< core::Real >
>
main_chain_torsion_set_lists_
;
123
// PoseList pose_list_;
124
core::scoring::ScoreFunctionOP
scorefxn_
;
125
protocols::simple_moves::GreenPackerOP
green_packer_
;
126
bool
use_green_packer_
;
127
bool
use_packer_instead_of_rotamer_trials_
;
128
bool
pack_at_neighbors_only_
;
129
bool
do_prepack_
;
130
core::pack::task::PackerTaskOP
pack_task_
;
131
core::pose::PoseOP
pose_prepack_
;
132
133
std::string
silent_file_
;
134
135
core::io::silent::SilentFileDataOP
sfd_
;
136
137
utility::vector1< core::Size >
calc_rms_res_
;
138
139
Size
const
which_jump_
;
140
utility::vector1< core::kinematics::Jump >
jumps_
;
141
142
};
143
144
}
//protein
145
}
//swa
146
}
// protocols
147
148
149
#endif
Generated on Sat Jun 1 2013 12:19:15 for Rosetta 3.5 by
1.8.4