### Navigation

- index
- modules |
- next |
- previous |
- MDAnalysis 0.7.7 documentation »
- 4. Topology modules »

# 4.8. PDB topology parser

Use a PDB file to build a minimum internal structure representation.

Warning

Only cares for atoms and their names; neither connectivity nor (partial) charges are deduced. Masses are guessed and set to 0 if unknown.

exception `MDAnalysis.topology.PDBParser.``PDBParseError`

  Signifies an error while reading a PDB file.

`MDAnalysis.topology.PDBParser.``parse`(pdbfile)

  Parse atom information from PDB file pdbfile.

  Only reads the list of atoms.

  This functions uses the `Bio.PDB.PDBParser` as used by `MDAnalysis.coordinates.pdb.extensions.get_structure()`.

  Returns : | MDAnalysis internal structure dict

  See also

  The structure dict is defined in `MDAnalysis.topology.PSFParser.parse()`.

### Navigation

- index
- modules |
- next |
- previous |
- MDAnalysis 0.7.7 documentation »
- 4. Topology modules »