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
core
import_pose
import_pose.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
// :noTabs=false:tabSize=4:indentSize=4:
4
//
5
// (c) Copyright Rosetta Commons Member Institutions.
6
// (c) This file is part of the Rosetta software suite and is made available under license.
7
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10
11
/// @file core/import_pose/import_pose.hh
12
///
13
/// @brief various functions to construct Pose object(s) from PDB(s)
14
/// @author Sergey Lyskov
15
16
#ifndef INCLUDED_core_import_pose_import_pose_hh
17
#define INCLUDED_core_import_pose_import_pose_hh
18
19
// Package headers
20
#include <
core/import_pose/import_pose_options.fwd.hh
>
21
22
// C++ headers
23
#include <iosfwd>
24
// AUTO-REMOVED #include <iostream>
25
// AUTO-REMOVED #include <string>
26
27
// Utility headers
28
#include <basic/Tracer.fwd.hh>
29
// AUTO-REMOVED #include <utility/io/ozstream.fwd.hh>
30
31
// Project headers
32
#include <
core/types.hh
>
33
#include <
core/chemical/ResidueTypeSet.fwd.hh
>
34
// AUTO-REMOVED #include <core/conformation/Residue.fwd.hh>
35
// AUTO-REMOVED #include <core/id/AtomID_Mask.fwd.hh>
36
#include <
core/io/pdb/file_data.fwd.hh
>
37
#include <
core/io/pdb/pdb_dynamic_reader_options.fwd.hh
>
38
#include <
core/pose/Pose.fwd.hh
>
39
40
#include <utility/vector1.hh>
41
42
43
namespace
core {
44
namespace
import_pose {
45
46
/// @brief special Tracer instance acting as special param for all traced_dump_pdb functions
47
extern
basic::Tracer
TR_dump_pdb_dummy
;
48
49
void
50
read_all_poses
(
51
const
utility::vector1<std::string>
& filenames,
52
utility::vector1<core::pose::Pose>
* poses);
53
54
void
55
read_additional_pdb_data
(
56
std::string
const
& file,
57
pose::Pose
& pose,
58
io::pdb::FileData
const
& fd,
59
bool
read_fold_tree =
false
60
);
61
62
void
63
read_additional_pdb_data
(
64
std::string
const
& file,
65
pose::Pose
& pose,
66
ImportPoseOptions
const
& options,
67
bool
read_fold_tree =
false
68
);
69
70
/// @brief Returns a PoseOP object from the Pose created from input
71
/// PDB <filename>
72
/// @note: in PyRosetta, this will return a Pose object
73
///
74
/// example(s):
75
/// pose = pose_from_pdb("YFP.pdb")
76
/// See also:
77
/// Pose
78
/// PDBInfo
79
/// make_pose_from_sequence
80
/// pose_from_rcsb
81
/// pose_from_sequence
82
pose::PoseOP
pose_from_pdb
(
83
std::string
const
&
filename
,
84
bool
read_fold_tree =
false
85
);
86
87
/// @brief Returns a PoseOP object from the Pose created by reading the input
88
/// PDB <filename>, this constructor allows for a non-default ResidueTypeSet
89
/// <residue_set>
90
pose::PoseOP
pose_from_pdb
(
91
chemical::ResidueTypeSet
const
& residue_set,
92
std::string
const
&
filename
,
93
bool
read_fold_tree =
false
94
);
95
96
void
97
pose_from_pdb
(
98
pose::Pose
& pose,
99
chemical::ResidueTypeSet
const
& residue_set,
100
std::string
const
&
filename
,
101
ImportPoseOptions
const
& options,
102
bool
read_fold_tree =
false
103
);
104
105
/// @brief Reads in data from input PDB <filename> and stores it in the Pose
106
/// <pose>, this constructor allows for a non-default ResidueTypeSet
107
/// <residue_set>
108
void
109
pose_from_pdb
(
110
pose::Pose
& pose,
111
chemical::ResidueTypeSet
const
& residue_set,
112
std::string
const
&
filename
,
113
bool
read_fold_tree =
false
114
);
115
116
/// @brief Reads in data from input PDB <filename> and stores it in the Pose
117
/// <pose>, uses the FA_STANDARD ResidueTypeSet (fullatom) by default
118
/// @note: will use centroid if in::file::centroid_input is true
119
///
120
/// example(s):
121
/// pose_from_pdb(pose,"YFP.pdb")
122
/// See also:
123
/// Pose
124
/// PDBInfo
125
void
126
pose_from_pdb
(
127
pose::Pose
& pose,
128
std::string
const
&
filename
,
129
bool
read_fold_tree =
false
130
);
131
132
void
133
pose_from_pdb
(
134
pose::Pose
& pose,
135
std::string
const
&
filename
,
136
ImportPoseOptions
const
& options,
137
bool
read_fold_tree =
false
138
);
139
140
/// @brief Reads data from an input PDB containing multiple models named
141
/// <filename> and stores it in a vector of Pose objects named <poses> using
142
/// ResidueTypeSet <residue_set>
143
void
144
pose_from_pdb
(
145
utility::vector1< pose::Pose >
& poses,
146
chemical::ResidueTypeSet
const
& residue_set,
147
std::string
const
&
filename
,
148
bool
read_fold_tree =
false
149
);
150
151
void
152
pose_from_pdb
(
153
utility::vector1< pose::Pose >
& poses,
154
chemical::ResidueTypeSet
const
& residue_set,
155
std::string
const
&
filename
,
156
ImportPoseOptions
const
& options,
157
bool
read_fold_tree =
false
158
);
159
160
utility::vector1< core::pose::PoseOP >
161
poseOPs_from_pdbs
(
162
utility::vector1< std::string >
const
& filenames,
163
bool
read_fold_tree =
false
164
);
165
166
utility::vector1< core::pose::PoseOP >
167
poseOPs_from_pdbs
(
168
utility::vector1< std::string >
const
& filenames,
169
ImportPoseOptions
const
& options,
170
bool
read_fold_tree =
false
171
);
172
173
utility::vector1< core::pose::PoseOP >
174
poseOPs_from_pdbs
(
175
chemical::ResidueTypeSet
const
& residue_set,
176
utility::vector1< std::string >
const
& filenames,
177
ImportPoseOptions
const
& options,
178
bool
read_fold_tree
179
);
180
181
utility::vector1< core::pose::Pose >
182
poses_from_pdbs
(
183
utility::vector1< std::string >
const
& filenames,
184
bool
read_fold_tree =
false
185
);
186
187
utility::vector1< core::pose::Pose >
188
poses_from_pdbs
(
189
chemical::ResidueTypeSet
const
& residue_set,
190
utility::vector1< std::string >
const
& filenames,
191
bool
read_fold_tree
192
);
193
194
/* utility::vector1< core::pose::Pose >
195
poses_from_pdbs(
196
chemical::ResidueTypeSet const & residue_set,
197
utility::vector1< std::string > const & filenames,
198
ImportPoseOptions const & options,
199
bool read_fold_tree = false
200
); */
201
202
/* utility::vector1< core::pose::PoseOP >
203
poseOPs_from_pdbs(
204
chemical::ResidueTypeSet const & residue_set,
205
utility::vector1< std::string > const & filenames,
206
bool read_fold_tree = false
207
); */
208
209
// FA_STANDARD residue set
210
211
/// @brief Reads data from an input PDB containing multiple models named
212
/// <filename> and stores it in a vector of Pose objects named <poses>
213
/// using the FA_STANDARD ResidueTypeSet (fullatom)
214
void
215
pose_from_pdb
(
216
utility::vector1< pose::Pose >
& poses,
217
std::string
const
&
filename
,
218
bool
read_fold_tree =
false
219
);
220
221
void
222
pose_from_pdbstring
(
223
pose::Pose
& pose,
224
std::string
const
& pdbcontents,
225
std::string
const
&
filename
=
""
226
);
227
228
void
229
pose_from_pdbstring
(
230
pose::Pose
& pose,
231
std::string
const
& pdbcontents,
232
ImportPoseOptions
const
& options,
233
std::string
const
&
filename
=
""
234
);
235
236
void
237
pose_from_pdbstring
(
238
pose::Pose
& pose,
239
std::string
const
& pdbcontents,
240
chemical::ResidueTypeSet
const
& residue_set,
241
std::string
const
&
filename
242
);
243
244
void
245
pose_from_pdbstring
(
246
pose::Pose
& pose,
247
std::string
const
& pdbcontents,
248
chemical::ResidueTypeSet
const
& residue_set,
249
ImportPoseOptions
const
& options,
250
std::string
const
&
filename
251
);
252
253
void
pose_from_pdb_stream
(
254
pose::Pose
& pose,
255
std::istream & pdb_stream,
256
std::string
const
&
filename
,
257
ImportPoseOptions
const
& options
258
);
259
260
/// uses the CENTROID residue_set
261
262
/// @brief Reads in data from input PDB <filename> and stores it in the Pose
263
/// <pose> using the CENTROID ResidueTypeSet (centroid)
264
void
265
centroid_pose_from_pdb
(
266
pose::Pose
& pose,
267
std::string
const
&
filename
,
268
bool
read_fold_tree =
false
269
);
270
271
typedef
std::string
String
;
272
273
void
set_reasonable_fold_tree
(
core::pose::Pose
& pose );
274
275
/// @brief Create pose object, using given FileData object.
276
/// If PDB cleanin specified - it will be applied first.
277
/// Constructs a ImportPoseOptions object from the command line
278
void
build_pose
(
279
io::pdb::FileData
& fd,
// const? naaaaah
280
pose::Pose
& pose,
281
chemical::ResidueTypeSet
const
& residue_set
282
);
283
284
/// @brief Create pose object, using given FileData object.
285
/// If PDB cleanin specified - it will be applied first
286
void
build_pose
(
287
io::pdb::FileData
& fd,
// const? naaaaah
288
pose::Pose
& pose,
289
chemical::ResidueTypeSet
const
& residue_set,
290
ImportPoseOptions
const
& options
291
);
292
293
/// @brief Create pose object, using given FileData object.
294
/// No PDB cleanin will be appliend.
295
void
build_pose_as_is
(
296
io::pdb::FileData
& fd,
// const? naaaaah
297
pose::Pose
& pose,
298
chemical::ResidueTypeSet
const
& residue_set,
299
ImportPoseOptions
const
& options
300
);
301
302
}
// namespace import_pose
303
}
// namespace core
304
305
#endif // INCLUDED_core_import_pose_import_pose_HH
Generated on Sat Jun 1 2013 11:32:52 for Rosetta 3.5 by
1.8.4