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
seeded_abinitio
PlaceFragments.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/seeded_abinitio/PlaceFragments.hh
11
/// @author Eva-Maria Strauch (evas01@u.washington.edu)
12
13
#ifndef INCLUDED_protocols_seeded_abinitio_PlaceFragments_hh
14
#define INCLUDED_protocols_seeded_abinitio_PlaceFragments_hh
15
16
#include <
core/types.hh
>
17
#include <
core/pose/Pose.hh
>
18
#include <utility/tag/Tag.fwd.hh>
19
#include <
protocols/filters/Filter.fwd.hh
>
20
#include <
protocols/moves/Mover.hh
>
21
#include <
protocols/moves/DataMap.fwd.hh
>
22
#include <
core/fragment/FragData.hh
>
23
#include <
core/fragment/FragSet.fwd.hh
>
24
#include <
core/fragment/Frame.hh
>
25
#include <utility/vector1.hh>
26
#include <boost/unordered/unordered_map.hpp>
27
28
namespace
protocols {
29
namespace
seeded_abinitio {
30
31
class
PlaceFragments
:
public
protocols::moves::Mover
{
32
public
:
33
typedef
core::pose::Pose
Pose
;
34
35
//PlaceFragments(const FragSetOP& fragments);
36
37
PlaceFragments
();
38
39
// undefined, commenting out to fix PyRosetta build bool is_seed ( protocols::loops::Loops & loops, core::Size & residue );
40
41
void
apply
(
core::pose::Pose
& pose );
42
43
virtual
std::string
get_name
()
const
;
44
45
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
46
protocols::moves::DataMap
&,
47
protocols::filters::Filters_map
const
&,
48
protocols::moves::Movers_map
const
&,
49
core::pose::Pose
const
& );
50
51
protocols::moves::MoverOP
clone
()
const
{
return
(
protocols::moves::MoverOP
(
new
PlaceFragments
( *
this
) ) ); }
52
protocols::moves::MoverOP
fresh_instance
()
const
{
return
protocols::moves::MoverOP
(
new
PlaceFragments
); }
53
54
virtual
~PlaceFragments
();
55
56
void
initialize_fragments
(
const
core::fragment::FragSetOP
& fragments );
57
58
//use privat members...and setters/getters
59
void
apply_frame
(
core::pose::Pose
& pose,
core::fragment::Frame
&frame,
int
aln_len,
core::Size
seq_start,
core::Size
max_frag_len );
60
void
create_fragments
(
core::pose::Pose
& pose,
core::Size
insert_start,
core::Size
insert_stop );
61
62
private
:
63
void
initialize
(
const
core::fragment::FragSetOP
fragments );
64
65
/// mover that should be applied after placement
66
protocols::moves::MoverOP
mover_
;
67
68
/// filter that should be applied
69
protocols::filters::FilterOP
filter_
;
70
71
//void initialize_library();
72
//core::fragment::FragSetOP fragments9_;
73
74
/// storing fragments
75
core::fragment::FragSetOP
fragments_
;
76
boost::unordered_map<core::Size, core::fragment::Frame>
library_
;
77
78
/// how many fragments to be picked
79
core::Size
nfrags_
;
80
/// length of fragment to be picked on the flight
81
core::Size
fsize_
;
82
/// number of residues to align with fragments
83
int
cartfrag_overlap_
;
84
85
/// stub
86
std::string
input_stubs_
;
87
/// seeds/segements
88
utility::vector1< std::pair < std::string,std::string >
>
seg_vector_
;
89
90
bool
frags_onflight_
;
91
92
/// secondary structure sequence
93
std::string
ss_
;
94
95
bool
use_seq_
;
96
97
};
98
99
}
100
}
101
102
#endif
103
Generated on Sat Jun 1 2013 12:12:19 for Rosetta 3.5 by
1.8.4