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
InputStreamWithResidueInfo.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 InputStreamWithResidueInfo.hh
11
/// @brief
12
/// @detailed
13
///
14
/// @author Rhiju Das
15
16
17
#ifndef INCLUDED_protocols_swa_InputStreamWithResidueInfo_HH
18
#define INCLUDED_protocols_swa_InputStreamWithResidueInfo_HH
19
20
#include <
protocols/swa/InputStreamWithResidueInfo.fwd.hh
>
21
#include <
core/pose/Pose.fwd.hh
>
22
#include <
core/import_pose/pose_stream/PoseInputStream.fwd.hh
>
23
#include <
core/chemical/ResidueTypeSet.fwd.hh
>
24
#include <
core/types.hh
>
25
#include <utility/vector1.hh>
26
#include <utility/pointer/ReferenceCount.hh>
27
#include <utility/options/StringVectorOption.fwd.hh>
28
29
#include <map>
30
31
namespace
protocols {
32
namespace
swa {
33
34
void
35
initialize_input_streams
(
utility::vector1< protocols::swa::InputStreamWithResidueInfoOP >
& input_streams );
36
37
void
38
initialize_input_streams_with_residue_info
(
utility::vector1< InputStreamWithResidueInfoOP >
& input_streams_with_residue_info,
39
utility::vector1< std::string >
const
& pdb_tags,
40
utility::vector1< std::string >
const
& silent_files_in,
41
utility::vector1< core::Size >
const
& input_res,
42
utility::vector1< core::Size >
const
& input_res2
43
);
44
45
core::import_pose::pose_stream::PoseInputStreamOP
46
setup_pose_input_stream
(
47
utility::options::StringVectorOption
const
& option_s1,
48
utility::options::StringVectorOption
const
& option_silent1,
49
utility::options::StringVectorOption
const
& option_tags1 );
50
51
52
//////////////////////////////////////////////////////////////////////////////////////////////////
53
//////////////////////////////////////////////////////////////////////////////////////////////////
54
class
InputStreamWithResidueInfo
:
public
utility::pointer::ReferenceCount
{
55
public
:
56
57
InputStreamWithResidueInfo
(
core::import_pose::pose_stream::PoseInputStreamOP
pose_input_stream
,
58
utility::vector1< Size >
const
&
input_res
,
59
utility::vector1< Size >
const
&
slice_res
);
60
61
InputStreamWithResidueInfo
(
core::import_pose::pose_stream::PoseInputStreamOP
pose_input_stream,
62
utility::vector1< Size >
const
& input_res);
63
64
virtual
~InputStreamWithResidueInfo
();
65
66
core::import_pose::pose_stream::PoseInputStreamOP
&
pose_input_stream
();
67
utility::vector1< Size >
const
&
input_res
();
68
utility::vector1< Size >
const
&
slice_res
();
69
std::map< Size, Size > &
full_to_sub
();
70
71
void
set_slice_res
(
utility::vector1< Size >
const
& slice_res );
72
void
set_full_to_sub
( std::map< Size, Size >
const
& full_to_sub );
73
void
set_rsd_set
(
core::chemical::ResidueTypeSetCAP
& rsd_set );
74
75
void
reset
();
76
77
bool
has_another_pose
()
const
;
78
79
void
copy_next_pose_segment
(
core::pose::Pose
& pose );
80
81
void
copy_next_pose_segment
(
core::pose::Pose
& pose,
82
core::pose::Pose
& import_pose,
83
bool
const
check_sequence_matches,
84
bool
const
align_pose_to_import_pose =
false
);
85
86
void
set_backbone_only
(
bool
const
setting );
87
88
private
:
89
90
void
91
initialize_defaults
();
92
93
void
cleanup_pose
(
core::pose::Pose
& import_pose )
const
;
94
95
void
check_sequence
(
core::pose::Pose
const
& pose,
core::pose::Pose
const
& import_pose );
96
97
98
private
:
99
100
core::import_pose::pose_stream::PoseInputStreamOP
pose_input_stream_
;
101
utility::vector1< Size >
input_res_
;
102
utility::vector1< Size >
slice_res_
;
103
std::map< Size, Size >
full_to_sub_
;
104
core::chemical::ResidueTypeSetCAP
rsd_set_
;
105
bool
backbone_only_
;
106
};
107
108
109
}
//swa
110
}
// protocols
111
112
#endif
Generated on Sat Jun 1 2013 12:18:55 for Rosetta 3.5 by
1.8.4