5.23. XYZ Topology Parser

New in version 0.9.1.

Reads an xyz file and pulls the atom information from it. Because xyz only has atom name information, all information about residues and segments won’t be populated.

5.23.1. Classes

class MDAnalysis.topology.XYZParser.XYZParser(filename)[source]

Parse a list of atoms from an XYZ file.

Creates the following attributes:
  • Atomnames

Guesses the following attributes:
  • Atomtypes

  • Masses

New in version 0.9.1.

parse(**kwargs)[source]

Read the file and return the structure.

Return type:

MDAnalysis Topology object