Skip to content

update PDB format #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/source/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ Chronological list of authors
2024
- Mahfuza Humayra Mohona
- Rubén Chaves
2025
- Yu-Yuan (Stuart) Yang
14 changes: 13 additions & 1 deletion doc/source/formats/reference/pdb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,19 @@ PDB specification
47 - 54 Real(8.3) z Orthogonal coordinates for Z in Angstroms.
55 - 60 Real(6.2) occupancy Occupancy.
61 - 66 Real(6.2) tempFactor Temperature factor.
67 - 76 String segID (unofficial CHARMM extension ?)
67 - 72 (not used in the official PDB format)
73 - 76 String segID (unofficial PDB format)
77 - 78 LString(2) element Element symbol, right-justified.
79 - 80 LString(2) charge Charge on the atom.
============= ============ =========== =============================================

.. versionchanged:: 2.10.0
The columns 67-72 are not read by MDAnalysis any more.

.. note::
The columns 73-76 are not part of the official PDB format but are used by some programs to store/operate
the segment ID. For instance, Chimera_ assigns it as the attribute *pdbSegment*.


.. _Chimera:
https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/tutorials/pdbintro.html#note6
Loading