XPDB (Extended PDB file)¶
The extended PDB reader acts virtually the same as the PDB, ENT (Standard PDB file) reader. The difference is that extended PDB files (MDAnalysis format specifier XPDB) may contain residue sequence numbers up to 99,999 by utilizing the insertion character field of the PDB standard. Five-digit residue numbers may take up columns 23 to 27 (inclusive) instead of being confined to 23-26 (with column 27 being reserved for the insertion code in the PDB standard).
PDB files in this format are written by popular programs such as VMD.
As extended PDB files are very similar to PDB files, tell MDAnalysis to use the Extended PDB parser by passing in the
In : import MDAnalysis as mda In : from MDAnalysis.tests.datafiles import PDB In : pdb = mda.Universe(PDB) In : pdb.trajectory.format Out: ['PDB', 'ENT'] In : xpdb = mda.Universe(PDB, topology_format='XPDB') In : xpdb.trajectory.format Out: 'XPDB'