AutoModel.set_output_model_format() — set format for output models

set_output_model_format(fmt)
This allows the format for output models to be set. Valid values are PDB or MMCIF. Normally output models are written in PDB format; however, mmCIF files support larger structures and have better support for metadata (such as information on the templates and alignment used in the modeling).

The templates for modeling can be either mmCIF or PDB; they do not affect the output format.

Note that the initial model and any loop models are written in the same format (and if an initial model is provided, it will be read in that format).