biotite.structure.io.mmtf

This subpackage is used for reading and writing an AtomArray or AtomArrayStack using the binary MMTF format. This format features a smaller file size and a highly increased I/O operation performance, than the text based file formats.

Content

MMTFFile

This class represents a MMTF file.

get_model_count

Get the number of models contained in a MMTF file.

get_structure

Get an AtomArray or AtomArrayStack from the MMTF file.

set_structure

Set the relevant fields of an MMTF file with the content of an AtomArray or AtomArrayStack.