Skip to content

Commit 4d852a1

Browse files
yuyuan871111orbeckstRMeli
authored
update PDB format (#421)
* update parsed PDB format description * follows changes in PDBParser in MDAnalysis/mdanalysis#5001 --------- Co-authored-by: Oliver Beckstein <[email protected]> Co-authored-by: Rocco Meli <[email protected]>
1 parent 597af95 commit 4d852a1

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

doc/source/AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ Chronological list of authors
4444
2024
4545
- Mahfuza Humayra Mohona
4646
- Rubén Chaves
47+
2025
48+
- Yu-Yuan (Stuart) Yang

doc/source/formats/reference/pdb.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,19 @@ PDB specification
9898
47 - 54 Real(8.3) z Orthogonal coordinates for Z in Angstroms.
9999
55 - 60 Real(6.2) occupancy Occupancy.
100100
61 - 66 Real(6.2) tempFactor Temperature factor.
101-
67 - 76 String segID (unofficial CHARMM extension ?)
101+
67 - 72 (not used in the official PDB format)
102+
73 - 76 String segID (unofficial PDB format)
102103
77 - 78 LString(2) element Element symbol, right-justified.
103104
79 - 80 LString(2) charge Charge on the atom.
104105
============= ============ =========== =============================================
106+
107+
.. versionchanged:: 2.10.0
108+
The columns 67-72 are not read by MDAnalysis any more.
109+
110+
.. note::
111+
The columns 73-76 are not part of the official PDB format but are used by some programs to store/operate
112+
the segment ID. For instance, Chimera_ assigns it as the attribute *pdbSegment*.
113+
114+
115+
.. _Chimera:
116+
https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/tutorials/pdbintro.html#note6

0 commit comments

Comments
 (0)