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
ligand_docking
Transform.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 /grid/src/protocols/ligand_docking/Transform.hh
11
/// @author Sam DeLuca
12
13
#ifndef INCLUDED_protocols_ligand_docking_Transform_hh
14
#define INCLUDED_protocols_ligand_docking_Transform_hh
15
16
#include <
protocols/moves/Mover.hh
>
17
#include <
protocols/ligand_docking/Transform.fwd.hh
>
18
19
#include <
core/conformation/Residue.fwd.hh
>
20
#include <
core/kinematics/Jump.fwd.hh
>
21
22
#include <utility/vector1.hh>
23
24
25
namespace
protocols {
26
namespace
ligand_docking {
27
28
enum
MoveType
29
{
30
conformerMove
,
31
transformMove
32
};
33
34
struct
Transform_info
{
// including default values
35
36
public
:
37
std::string
chain
;
38
core::Size
chain_id
;
39
core::Size
jump_id
;
40
core::Real
move_distance
;
41
core::Real
box_size
;
42
core::Real
angle
;
43
core::Size
cycles
;
44
core::Real
temperature
;
45
core::Size
repeats
;
46
Transform_info
():
chain
(
""
),
move_distance
(0),
box_size
(0),
angle
(0),
cycles
(0),
repeats
(1){};
47
};
48
49
class
Transform
:
public
protocols::moves::Mover
50
{
51
public
:
52
Transform
();
53
Transform
(
54
std::string
const
& chain,
55
core::Real
const
& box_size,
56
core::Real
const
& move_distance,
57
core::Real
const
& angle,
58
core::Size
const
& cycles,
59
core::Real
const
& temp
60
);
61
virtual
~Transform
();
62
virtual
protocols::moves::MoverOP
clone
()
const
;
63
virtual
protocols::moves::MoverOP
fresh_instance
()
const
;
64
virtual
std::string
get_name
()
const
;
65
66
virtual
void
parse_my_tag
(
67
utility::tag::TagPtr
const
tag,
68
protocols::moves::DataMap
& data_map,
69
protocols::filters::Filters_map
const
&,
70
protocols::moves::Movers_map
const
&,
71
core::pose::Pose
const
&
72
);
73
74
virtual
void
apply
(
core::pose::Pose
& pose);
75
76
private
:
77
utility::vector1<std::pair<core::SSize,core::kinematics::Jump>
>
transform_ligand
(
core::pose::Pose
& pose);
78
core::Size
change_conformer
(
core::pose::Pose
& pose,
core::Size
const
& seqpos);
79
80
void
revert_conformer
(
81
core::pose::Pose
& pose,
82
core::Size
const
& conformer_index,
83
core::Size
const
& seqpos);
84
85
void
revert_jumps
(
86
core::pose::Pose
& pose,
87
utility::vector1
<std::pair<core::SSize,core::kinematics::Jump> >
const
& jumps);
88
89
void
revert_move
(
90
core::pose::Pose
& pose,
91
MoveType
const
& move_type,
92
core::Size
const
& conformer_index,
93
core::Size
const
& seqpos,
94
utility::vector1
<std::pair<core::SSize,core::kinematics::Jump> >
const
& jumps);
95
96
private
:
97
//qsar::scoring_grid::GridManagerOP grid_manager_;
98
Transform_info
transform_info_
;
99
utility::vector1< core::conformation::ResidueOP >
ligand_conformers_
;
100
bool
optimize_until_score_is_negative_
;
101
102
};
103
104
}
105
}
106
107
#endif
/* TRANSFORM_HH_ */
Generated on Sat Jun 1 2013 11:56:21 for Rosetta 3.5 by
1.8.4