0
|
1 .\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.22)
|
|
2 .\"
|
|
3 .\" Standard preamble:
|
|
4 .\" ========================================================================
|
|
5 .de Sp \" Vertical space (when we can't use .PP)
|
|
6 .if t .sp .5v
|
|
7 .if n .sp
|
|
8 ..
|
|
9 .de Vb \" Begin verbatim text
|
|
10 .ft CW
|
|
11 .nf
|
|
12 .ne \\$1
|
|
13 ..
|
|
14 .de Ve \" End verbatim text
|
|
15 .ft R
|
|
16 .fi
|
|
17 ..
|
|
18 .\" Set up some character translations and predefined strings. \*(-- will
|
|
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
|
20 .\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
|
21 .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
|
22 .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
|
23 .\" nothing in troff, for use with C<>.
|
|
24 .tr \(*W-
|
|
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
|
26 .ie n \{\
|
|
27 . ds -- \(*W-
|
|
28 . ds PI pi
|
|
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
|
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
|
31 . ds L" ""
|
|
32 . ds R" ""
|
|
33 . ds C` ""
|
|
34 . ds C' ""
|
|
35 'br\}
|
|
36 .el\{\
|
|
37 . ds -- \|\(em\|
|
|
38 . ds PI \(*p
|
|
39 . ds L" ``
|
|
40 . ds R" ''
|
|
41 'br\}
|
|
42 .\"
|
|
43 .\" Escape single quotes in literal strings from groff's Unicode transform.
|
|
44 .ie \n(.g .ds Aq \(aq
|
|
45 .el .ds Aq '
|
|
46 .\"
|
|
47 .\" If the F register is turned on, we'll generate index entries on stderr for
|
|
48 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
|
49 .\" entries marked with X<> in POD. Of course, you'll have to process the
|
|
50 .\" output yourself in some meaningful fashion.
|
|
51 .ie \nF \{\
|
|
52 . de IX
|
|
53 . tm Index:\\$1\t\\n%\t"\\$2"
|
|
54 ..
|
|
55 . nr % 0
|
|
56 . rr F
|
|
57 .\}
|
|
58 .el \{\
|
|
59 . de IX
|
|
60 ..
|
|
61 .\}
|
|
62 .\"
|
|
63 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
|
64 .\" Fear. Run. Save yourself. No user-serviceable parts.
|
|
65 . \" fudge factors for nroff and troff
|
|
66 .if n \{\
|
|
67 . ds #H 0
|
|
68 . ds #V .8m
|
|
69 . ds #F .3m
|
|
70 . ds #[ \f1
|
|
71 . ds #] \fP
|
|
72 .\}
|
|
73 .if t \{\
|
|
74 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
|
75 . ds #V .6m
|
|
76 . ds #F 0
|
|
77 . ds #[ \&
|
|
78 . ds #] \&
|
|
79 .\}
|
|
80 . \" simple accents for nroff and troff
|
|
81 .if n \{\
|
|
82 . ds ' \&
|
|
83 . ds ` \&
|
|
84 . ds ^ \&
|
|
85 . ds , \&
|
|
86 . ds ~ ~
|
|
87 . ds /
|
|
88 .\}
|
|
89 .if t \{\
|
|
90 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
|
91 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
|
92 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
|
93 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
|
94 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
|
95 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
|
96 .\}
|
|
97 . \" troff and (daisy-wheel) nroff accents
|
|
98 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
|
99 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
|
100 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
|
101 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
|
102 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
|
103 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
|
104 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
|
105 .ds ae a\h'-(\w'a'u*4/10)'e
|
|
106 .ds Ae A\h'-(\w'A'u*4/10)'E
|
|
107 . \" corrections for vroff
|
|
108 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
|
109 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
|
110 . \" for low resolution devices (crt and lpr)
|
|
111 .if \n(.H>23 .if \n(.V>19 \
|
|
112 \{\
|
|
113 . ds : e
|
|
114 . ds 8 ss
|
|
115 . ds o a
|
|
116 . ds d- d\h'-1'\(ga
|
|
117 . ds D- D\h'-1'\(hy
|
|
118 . ds th \o'bp'
|
|
119 . ds Th \o'LP'
|
|
120 . ds ae ae
|
|
121 . ds Ae AE
|
|
122 .\}
|
|
123 .rm #[ #] #H #V #F C
|
|
124 .\" ========================================================================
|
|
125 .\"
|
|
126 .IX Title "PDBFILEUTIL 1"
|
|
127 .TH PDBFILEUTIL 1 "2015-03-29" "perl v5.14.2" "MayaChemTools"
|
|
128 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
|
129 .\" way too many mistakes in technical documents.
|
|
130 .if n .ad l
|
|
131 .nh
|
|
132 .SH "NAME"
|
|
133 PDBFileUtil
|
|
134 .SH "SYNOPSIS"
|
|
135 .IX Header "SYNOPSIS"
|
|
136 use PDBFileUtil ;
|
|
137 .PP
|
|
138 use PDBFileUtil qw(:all);
|
|
139 .SH "DESCRIPTION"
|
|
140 .IX Header "DESCRIPTION"
|
|
141 \&\fBPDBFileUtil\fR module provides the following functions:
|
|
142 .PP
|
|
143 GenerateAtomOrHetatmRecordLine, GenerateAtomRecordLine, GenerateConectRecordLine,
|
|
144 GenerateEndRecordLine, GenerateHeaderRecordLine, GenerateHeaderRecordTimeStamp,
|
|
145 GenerateHetatmRecordLine, GenerateTerRecordLine, GetAllResidues,
|
|
146 GetChainsAndResidues, GetConectRecordLines, GetExperimentalTechnique,
|
|
147 GetExperimentalTechniqueResolution, GetMinMaxCoords, GetPDBRecordType,
|
|
148 GetRecordTypesCount, IsAtomRecordType, IsConectRecordType, IsEndmdlRecordType,
|
|
149 IsHeaderRecordType, IsHetatmRecordType, IsMasterRecordType, IsModelRecordType,
|
|
150 IsPDBFile, IsSeqresRecordType, IsTerRecordType, ParseAtomOrHetatmRecordLine,
|
|
151 ParseAtomRecordLine, ParseConectRecordLine, ParseExpdtaRecordLine,
|
|
152 ParseHeaderRecordLine, ParseHetatmRecordLine, ParseMasterRecordLine,
|
|
153 ParseRemark2ResolutionRecordLine, ParseSeqresRecordLine, ParseTerRecordLine,
|
|
154 ReadPDBFile
|
|
155 .SH "METHODS"
|
|
156 .IX Header "METHODS"
|
|
157 .IP "\fBGenerateAtomOrHetatmRecordLine\fR" 4
|
|
158 .IX Item "GenerateAtomOrHetatmRecordLine"
|
|
159 .Vb 5
|
|
160 \& $RecordLine = GenerateAtomOrHetatmRecordLine($RecordType,
|
|
161 \& $AtomNumber, $AtomName, $AlternateLocation, $ResidueName,
|
|
162 \& $ChainID, $ResidueNumber, $InsertionCode, $X, $Y, $Z,
|
|
163 \& $Occupancy, $TemperatureFactor, $SegmentID,
|
|
164 \& $ElementSymbol, $AtomCharge);
|
|
165 .Ve
|
|
166 .Sp
|
|
167 Returns \s-1ATOM\s0 or \s-1HETATM\s0 record line.
|
|
168 .IP "\fBGenerateAtomRecordLine\fR" 4
|
|
169 .IX Item "GenerateAtomRecordLine"
|
|
170 .Vb 4
|
|
171 \& $RecordLine = GenerateAtomRecordLine($AtomNumber,
|
|
172 \& $AtomName, $AlternateLocation, $ResidueName, $ChainID,
|
|
173 \& $ResidueNumber, $InsertionCode, $X, $Y, $Z, $Occupancy,
|
|
174 \& $TemperatureFactor, $SegmentID, $ElementSymbol, $AtomCharge);
|
|
175 .Ve
|
|
176 .Sp
|
|
177 Returns \s-1ATOM\s0 record line.
|
|
178 .IP "\fBGenerateConectRecordLine\fR" 4
|
|
179 .IX Item "GenerateConectRecordLine"
|
|
180 .Vb 4
|
|
181 \& $RecordLine = GenerateConectRecordLine($AtomNum, $BondedAtomNum1,
|
|
182 \& $BondedAtomNum2, $BondedAtomNum3, $BondedAtomNum4,
|
|
183 \& $HBondedAtomNum1, $HBondedAtomNum2, $SaltBridgedAtomNum1,
|
|
184 \& $HBondedAtomNum3, $HBondedAtomNum4, $SaltBridgedAtomNum2);
|
|
185 .Ve
|
|
186 .Sp
|
|
187 Returns \s-1CONECT\s0 record line.
|
|
188 .IP "\fBGenerateHeaderRecordLine\fR" 4
|
|
189 .IX Item "GenerateHeaderRecordLine"
|
|
190 .Vb 2
|
|
191 \& $RecordLine = GenerateHeaderRecordLine($IDCode, [$Classification,
|
|
192 \& $Date]);
|
|
193 .Ve
|
|
194 .Sp
|
|
195 Returns \s-1HEADER\s0 record line.
|
|
196 .IP "\fBGenerateHeaderRecordTimeStamp\fR" 4
|
|
197 .IX Item "GenerateHeaderRecordTimeStamp"
|
|
198 .Vb 1
|
|
199 \& $Date = GenerateHeaderRecordTimeStamp();
|
|
200 .Ve
|
|
201 .Sp
|
|
202 Returns \s-1PDB\s0 header time stamp.
|
|
203 .IP "\fBGenerateHetatmRecordLine\fR" 4
|
|
204 .IX Item "GenerateHetatmRecordLine"
|
|
205 .Vb 4
|
|
206 \& $RecordLine = GenerateHetatmRecordLine($AtomNumber, $AtomName,
|
|
207 \& $AlternateLocation, $ResidueName, $ChainID, $ResidueNumber,
|
|
208 \& $InsertionCode, $X, $Y, $Z, $Occupancy, $TemperatureFactor,
|
|
209 \& $SegmentID, $ElementSymbol, $AtomCharge);
|
|
210 .Ve
|
|
211 .Sp
|
|
212 Returns \s-1HETATM\s0 record line.
|
|
213 .IP "\fBGenerateEndRecordLine\fR" 4
|
|
214 .IX Item "GenerateEndRecordLine"
|
|
215 .Vb 1
|
|
216 \& $RecordLine = GenerateEndRecordLine();
|
|
217 .Ve
|
|
218 .Sp
|
|
219 Returns \s-1END\s0 record line.
|
|
220 .IP "\fBGenerateTerRecordLine\fR" 4
|
|
221 .IX Item "GenerateTerRecordLine"
|
|
222 .Vb 2
|
|
223 \& $RecordLine = GenerateTerRecordLine($SerialNumber, [$ResidueName,
|
|
224 \& $ChainID, $ResidueNumber, $InsertionCode]);
|
|
225 .Ve
|
|
226 .Sp
|
|
227 Returns \s-1TER\s0 record line.
|
|
228 .IP "\fBGetAllResidues\fR" 4
|
|
229 .IX Item "GetAllResidues"
|
|
230 .Vb 1
|
|
231 \& $ResiduesDataRef = GetAllResidues($PDBRecordLinesRef);
|
|
232 .Ve
|
|
233 .Sp
|
|
234 Gets residue information using \s-1ATOM/HETATM\s0 records and returns a reference to a hash with
|
|
235 following key/value pairs:
|
|
236 .Sp
|
|
237 .Vb 9
|
|
238 \& $ResiduesDataRef\->{ResidueNames} \- Array of all the residues
|
|
239 \& $ResiduesDataRef\->{ResidueCount}{$ResidueName} \- Count of residues
|
|
240 \& $ResiduesDataRef\->{AtomResidueNames}} \- Array of all ATOM residues
|
|
241 \& $ResiduesDataRef\->{AtomResidueCount}{$ResidueName} \- Count of
|
|
242 \& residues in ATOM records
|
|
243 \& $ResiduesDataRef\->{HetatomResidueNames} \- List of all HETATM
|
|
244 \& residues
|
|
245 \& $ResiduesDataRef\->{HetatmResidueCount}{$ResidueName} \- Count of
|
|
246 \& residues HETATM records
|
|
247 .Ve
|
|
248 .Sp
|
|
249 \&\s-1ATOM/HETATM\s0 records after the first \s-1ENDMDL\s0 records are simply ingnored.
|
|
250 .IP "\fBGetChainsAndResidues\fR" 4
|
|
251 .IX Item "GetChainsAndResidues"
|
|
252 .Vb 3
|
|
253 \& $ChainsDataRef = GetChainsAndResidues($PDBRecordLinesRef,
|
|
254 \& [$RecordsSource, $GetChainResiduesBeyondTERFlag,
|
|
255 \& $GetRecordLinesFlag]);
|
|
256 .Ve
|
|
257 .Sp
|
|
258 Gets chains and residue information using \s-1ATOM/HETATM\s0 or \s-1SEQRES\s0 records and returns a reference to a
|
|
259 hash with these keys:
|
|
260 .Sp
|
|
261 .Vb 6
|
|
262 \& $ChainsDataRef\->{ChainIDs} \- List of chain IDs with \*(AqNone\*(Aq for
|
|
263 \& no IDs
|
|
264 \& $ChainsDataRef\->{Residues}{$ChainID} \- List of residues in order
|
|
265 \& of their appearance in a chain
|
|
266 \& $ChainsDataRef\->{ResidueCount}{$ChainID}{$ResidueName} \- Count of
|
|
267 \& residues in a chain
|
|
268 .Ve
|
|
269 .Sp
|
|
270 Chains and residue data can be extacted using either \s-1ATOM/HETATM\s0 records or \s-1SEQRES\s0 records.
|
|
271 \&\s-1ATOM/HETATM\s0 records after the first \s-1ENDMDL\s0 records are simply ingnored.
|
|
272 .IP "\fBGetConectRecordLines\fR" 4
|
|
273 .IX Item "GetConectRecordLines"
|
|
274 .Vb 2
|
|
275 \& $ConectRecordLinesRef = GetConectRecordLines($PDBRecordLinesRef,
|
|
276 \& $AtomNumbersMapRef);
|
|
277 .Ve
|
|
278 .Sp
|
|
279 Collects \s-1CONECT\s0 record lines for specific atom number, modified specified data to exclude any atom
|
|
280 number not present in the list of specified atom numbers and returns a reference to list of
|
|
281 \&\s-1CONECT\s0 record lines.
|
|
282 .IP "\fBGetExperimentalTechnique\fR" 4
|
|
283 .IX Item "GetExperimentalTechnique"
|
|
284 .Vb 1
|
|
285 \& $ExperimentalTechnique = GetExperimentalTechnique($PDBRecordLinesRef);
|
|
286 .Ve
|
|
287 .Sp
|
|
288 Returns \fIExperimentalTechnique\fR value retrieved from \s-1EXPDATA\s0 record line.
|
|
289 .IP "\fBGetExperimentalTechniqueResolution\fR" 4
|
|
290 .IX Item "GetExperimentalTechniqueResolution"
|
|
291 .Vb 2
|
|
292 \& ($Resolution, $ResolutionUnits) = GetExperimentalTechniqueResolution(
|
|
293 \& $PDBRecordLinesRef);
|
|
294 .Ve
|
|
295 .Sp
|
|
296 Returns \fIResolution\fR and \fIResolutionUnits\fR values from \s-1REMARK\s0 2 \s-1RESOLUTION\s0
|
|
297 record line.
|
|
298 .IP "\fBGetMinMaxCoords\fR" 4
|
|
299 .IX Item "GetMinMaxCoords"
|
|
300 .Vb 2
|
|
301 \& ($XMin, $YMin, $ZMin, $XMax, $YMax, $ZMax) =
|
|
302 \& GetMinMaxCoords($PDBRecordLinesRef);
|
|
303 .Ve
|
|
304 .Sp
|
|
305 Returns minimum and maximum \s-1XYZ\s0 coordinates for \s-1ATOM/HETATM\s0 records.
|
|
306 .IP "\fBGetPDBRecordType\fR" 4
|
|
307 .IX Item "GetPDBRecordType"
|
|
308 .Vb 1
|
|
309 \& $RecordType = GetPDBRecordType($RecordLine);
|
|
310 .Ve
|
|
311 .Sp
|
|
312 Returns type of \fIRecordLine\fR.
|
|
313 .IP "\fBGetRecordTypesCount\fR" 4
|
|
314 .IX Item "GetRecordTypesCount"
|
|
315 .Vb 2
|
|
316 \& $RecordTypeDataRef = GetRecordTypesCount($PDBRecordLinesRef,
|
|
317 \& [$SpecifiedRecordType, $GetRecordLinesFlag]);
|
|
318 .Ve
|
|
319 .Sp
|
|
320 Counts the number of each record type or a \f(CW$SpecifiedRecordType\fR and returns a reference to data
|
|
321 type with following key/value pairs:
|
|
322 .Sp
|
|
323 .Vb 5
|
|
324 \& $RecordTypeDataRef\->{RecordTypes} \- An array of unique record types
|
|
325 \& in order of their presence in the file
|
|
326 \& $RecordTypeDataRef\->{Count}{$RecordType} \- Count of each record type
|
|
327 \& $RecordTypeDataRef\->{Lines}{$RecordType} \- Optional lines data for a
|
|
328 \& specific record type.
|
|
329 .Ve
|
|
330 .IP "\fBIsAtomRecordType\fR" 4
|
|
331 .IX Item "IsAtomRecordType"
|
|
332 .Vb 1
|
|
333 \& $Status = IsAtomRecordType($RecordLine);
|
|
334 .Ve
|
|
335 .Sp
|
|
336 Returns 1 or 0 based on whether it's a \s-1ATOM\s0 record line.
|
|
337 .IP "\fBIsConectRecordType\fR" 4
|
|
338 .IX Item "IsConectRecordType"
|
|
339 .Vb 1
|
|
340 \& $Status = IsAtomConectType($RecordLine);
|
|
341 .Ve
|
|
342 .Sp
|
|
343 Returns 1 or 0 based on whether it's a \s-1CONECT\s0 record line.
|
|
344 .IP "\fBIsEndmdlRecordType\fR" 4
|
|
345 .IX Item "IsEndmdlRecordType"
|
|
346 .Vb 1
|
|
347 \& $Status = IsEndmdlRecordType($RecordLine);
|
|
348 .Ve
|
|
349 .Sp
|
|
350 Returns 1 or 0 based on whether it's a \s-1ENDMDL\s0 a record line.
|
|
351 .IP "\fBIsHeaderRecordType\fR" 4
|
|
352 .IX Item "IsHeaderRecordType"
|
|
353 .Vb 1
|
|
354 \& $Status = IsHeaderRecordType($RecordLine);
|
|
355 .Ve
|
|
356 .Sp
|
|
357 Returns 1 or 0 based on whether it's a \s-1HEADER\s0 a record line.
|
|
358 .IP "\fBIsHetatmRecordType\fR" 4
|
|
359 .IX Item "IsHetatmRecordType"
|
|
360 .Vb 1
|
|
361 \& $Status = IsHetatmRecordType($RecordLine);
|
|
362 .Ve
|
|
363 .Sp
|
|
364 Returns 1 or 0 based on whether it's a \s-1HETATM\s0 a record line.
|
|
365 .IP "\fBIsMasterRecordType\fR" 4
|
|
366 .IX Item "IsMasterRecordType"
|
|
367 .Vb 1
|
|
368 \& $Status = IsMasterRecordType($RecordLine);
|
|
369 .Ve
|
|
370 .Sp
|
|
371 Returns 1 or 0 based on whether it's a \s-1MASTER\s0 a record line.
|
|
372 .IP "\fBIsModelRecordType\fR" 4
|
|
373 .IX Item "IsModelRecordType"
|
|
374 .Vb 1
|
|
375 \& $Status = IsModelRecordType($RecordLine);
|
|
376 .Ve
|
|
377 .Sp
|
|
378 Returns 1 or 0 based on whether it's a \s-1MODEL\s0 record line.
|
|
379 .IP "\fBIsPDBFile\fR" 4
|
|
380 .IX Item "IsPDBFile"
|
|
381 .Vb 1
|
|
382 \& $Status = IsPDBFile($PDBFile);
|
|
383 .Ve
|
|
384 .Sp
|
|
385 Returns 1 or 0 based on whether it's a \s-1PDB\s0 file.
|
|
386 .IP "\fBIsSeqresRecordType\fR" 4
|
|
387 .IX Item "IsSeqresRecordType"
|
|
388 .Vb 1
|
|
389 \& $Status = IsSeqresRecordType($RecordLine);
|
|
390 .Ve
|
|
391 .Sp
|
|
392 Returns 1 or 0 based on whether it's \s-1SEQRES\s0 a record line.
|
|
393 .IP "\fBIsTerRecordType\fR" 4
|
|
394 .IX Item "IsTerRecordType"
|
|
395 .Vb 1
|
|
396 \& $Status = IsTerRecordType($RecordLine);
|
|
397 .Ve
|
|
398 .Sp
|
|
399 Returns 1 or 0 based on whether it's a \s-1TER\s0 record line.
|
|
400 .IP "\fBParseAtomOrHetatmRecordLine\fR" 4
|
|
401 .IX Item "ParseAtomOrHetatmRecordLine"
|
|
402 .Vb 4
|
|
403 \& ($AtomNumber, $AtomName, $AlternateLocation, $ResidueName, $ChainID,
|
|
404 \& $ResidueNumber, $InsertionCode, $X, $Y, $Z, $Occupancy,
|
|
405 \& $TemperatureFactor, $SegmentID, $ElementSymbol, $AtomCharge) =
|
|
406 \& ParseAtomOrHetatmRecordLine($RecordLine);
|
|
407 .Ve
|
|
408 .Sp
|
|
409 Parses \s-1ATOM\s0 or \s-1HETATM\s0 record line.
|
|
410 .IP "\fBParseAtomRecordLine\fR" 4
|
|
411 .IX Item "ParseAtomRecordLine"
|
|
412 .Vb 4
|
|
413 \& ($AtomNumber, $AtomName, $AlternateLocation, $ResidueName, $ChainID,
|
|
414 \& $ResidueNumber, $InsertionCode, $X, $Y, $Z, $Occupancy,
|
|
415 \& $TemperatureFactor, $SegmentID, $ElementSymbol, $AtomCharge) =
|
|
416 \& ParseAtomRecordLine($RecordLine);
|
|
417 .Ve
|
|
418 .Sp
|
|
419 Parses \s-1ATOM\s0 record line.
|
|
420 .IP "\fBParseConectRecordLine\fR" 4
|
|
421 .IX Item "ParseConectRecordLine"
|
|
422 .Vb 4
|
|
423 \& ($AtomNum, $BondedAtomNum1, $BondedAtomNum2, $BondedAtomNum3,
|
|
424 \& $BondedAtomNum4, $HBondedAtomNum1, $HBondedAtomNum2,
|
|
425 \& $SaltBridgedAtomNum1, $HBondedAtomNum3, $HBondedAtomNum4,
|
|
426 \& $SaltBridgedAtomNum2) = ParseConectRecordLine($RecordLine);
|
|
427 .Ve
|
|
428 .Sp
|
|
429 Parses \s-1CONECT\s0 record line.
|
|
430 .IP "\fBParseExpdtaRecordLine\fR" 4
|
|
431 .IX Item "ParseExpdtaRecordLine"
|
|
432 .Vb 1
|
|
433 \& ($ContinuationNum, $ExperimentalTechnique) = ParseExpdtaRecordLine($Line);
|
|
434 .Ve
|
|
435 .Sp
|
|
436 Parses \s-1EXPDTA\s0 record line.
|
|
437 .IP "\fBParseHeaderRecordLine\fR" 4
|
|
438 .IX Item "ParseHeaderRecordLine"
|
|
439 .Vb 1
|
|
440 \& ($Classification, $DepositionDate, $IDCode) = ParseHeaderRecordLine($RecordLine);
|
|
441 .Ve
|
|
442 .Sp
|
|
443 Parses \s-1HEADER\s0 record line
|
|
444 .IP "\fBParseHetatmRecordLine\fR" 4
|
|
445 .IX Item "ParseHetatmRecordLine"
|
|
446 .Vb 4
|
|
447 \& ($AtomNumber, $AtomName, $AlternateLocation, $ResidueName, $ChainID,
|
|
448 \& $ResidueNumber, $InsertionCode, $X, $Y, $Z, $Occupancy,
|
|
449 \& $TemperatureFactor, $SegmentID, $ElementSymbol, $AtomCharge) =
|
|
450 \& ParseHetatmRecordLine($RecordLine);
|
|
451 .Ve
|
|
452 .Sp
|
|
453 Parses \s-1HETATM\s0 record line.
|
|
454 .IP "\fBParseMasterRecordLine\fR" 4
|
|
455 .IX Item "ParseMasterRecordLine"
|
|
456 .Vb 5
|
|
457 \& ($NumOfRemarkRecords, $NumOfHetRecords, $NumOfHelixRecords,
|
|
458 \& $NumOfSheetRecords, $NumOfTurnRecords, $NumOfSiteRecords,
|
|
459 \& $NumOfTransformationsRecords, $NumOfAtomAndHetatmRecords,
|
|
460 \& $NumOfTerRecords, $NumOfConectRecords, $NumOfSeqresRecords) =
|
|
461 \& ParseMasterRecordLine($RecordLine);
|
|
462 .Ve
|
|
463 .Sp
|
|
464 Parses \s-1MASTER\s0 ecord line.
|
|
465 .IP "\fBParseRemark2ResolutionRecordLine\fR" 4
|
|
466 .IX Item "ParseRemark2ResolutionRecordLine"
|
|
467 .Vb 2
|
|
468 \& ($Resolution, $ResolutionUnits) = ParseRemark2ResolutionRecordLine(
|
|
469 \& $RecordLine);
|
|
470 .Ve
|
|
471 .Sp
|
|
472 Parses \s-1REMARK\s0 2 \s-1RESOLUTION\s0 record line.
|
|
473 .IP "\fBParseSeqresRecordLine\fR" 4
|
|
474 .IX Item "ParseSeqresRecordLine"
|
|
475 .Vb 2
|
|
476 \& ($RecordSerialNumber, $ChainID, $NumOfResidues, $ResidueNames) =
|
|
477 \& ParseSeqresRecordLine($RecordLine);
|
|
478 .Ve
|
|
479 .Sp
|
|
480 Parses \s-1SEQRES\s0 record line.
|
|
481 .IP "\fBParseTerRecordLine\fR" 4
|
|
482 .IX Item "ParseTerRecordLine"
|
|
483 .Vb 2
|
|
484 \& ($SerialNumber, $ResidueName, $ChainID, $ResidueNumber, $InsertionCode) =
|
|
485 \& ParseTerRecordLine($RecordLine);
|
|
486 .Ve
|
|
487 .Sp
|
|
488 Parses \s-1TER\s0 record line.
|
|
489 .IP "\fBReadPDBFile\fR" 4
|
|
490 .IX Item "ReadPDBFile"
|
|
491 .Vb 1
|
|
492 \& $PDBRecordLinesRef = ReadPDBFile($PDBFile);
|
|
493 .Ve
|
|
494 .Sp
|
|
495 Reads \s-1PDB\s0 file and returns reference to record lines.
|
|
496 .SH "AUTHOR"
|
|
497 .IX Header "AUTHOR"
|
|
498 Manish Sud <msud@san.rr.com>
|
|
499 .SH "SEE ALSO"
|
|
500 .IX Header "SEE ALSO"
|
|
501 FileUtil.pm, SequenceFileUtil.pm, TextUtil.pm
|
|
502 .SH "COPYRIGHT"
|
|
503 .IX Header "COPYRIGHT"
|
|
504 Copyright (C) 2015 Manish Sud. All rights reserved.
|
|
505 .PP
|
|
506 This file is part of MayaChemTools.
|
|
507 .PP
|
|
508 MayaChemTools is free software; you can redistribute it and/or modify it under
|
|
509 the terms of the \s-1GNU\s0 Lesser General Public License as published by the Free
|
|
510 Software Foundation; either version 3 of the License, or (at your option)
|
|
511 any later version.
|