6.11. MMTF trajectory reader — MDAnalysis.coordinates.MMTF
¶
Reads coordinates data from the Macromolecular Transmission Format format (MMTF). This should generally be a quicker alternative to PDB.
New in version 0.16.0.
Changed in version 0.20.0: Unit cell is now properly treated as optional
6.11.1. Classes¶
-
class
MDAnalysis.coordinates.MMTF.
MMTFReader
(filename, convert_units=None, n_atoms=None, **kwargs)[source]¶ Coordinate reader for the Macromolecular Transmission Format format (MMTF).
-
MDAnalysis.coordinates.MMTF.
fetch_mmtf
(pdb_id)[source]¶ Create a Universe from the RCSB Protein Data Bank using mmtf format
- Parameters
pdb_id (string) – PDB code of the desired data, eg ‘4UCP’
- Returns
MDAnalysis Universe of the corresponding PDB system
- Return type
See also
mmtf.fetch()
Function for fetching raw mmtf data
New in version 0.16.0.