biopython v1.71.0 Bio.PDB.MMCIFParser.MMCIFParser

Parse a mmCIF file and return a Structure object.

Link to this section Summary


Create a PDBParser object

Return the structure

Link to this section Functions

Create a PDBParser object.

The mmCIF parser calls a number of standard methods in an aggregated StructureBuilder object. Normally this object is instanciated by the MMCIParser object itself, but if the user provides his/her own StructureBuilder object, the latter is used instead.


  • structure_builder - an optional user implemented StructureBuilder class.
  • QUIET - Evaluated as a Boolean. If true, warnings issued in constructing the SMCRA data will be suppressed. If false (DEFAULT), they will be shown. These warnings might be indicative of problems in the mmCIF file!
Link to this function get_structure()

Return the structure.


  • structure_id - string, the id that will be used for the structure
  • filename - name of the mmCIF file OR an open filehandle