These examples demonstrate some of the functionality of the python-modelcif software. See the documentation for more information.
- convert_bcif.py converts an mmCIF file containing ModelCIF data to BinaryCIF format.
- ligands.py demonstrates writing an mmCIF file of a typical single-template homology or comparative model, including a ligand.
- mkmodbase.py demonstrates using the library to make an mmCIF file of a typical single-template single-chain homology or comparative model, similar to those generated by MODELLER and deposited in the ModBase database.
- associated.py demonstrates reading a deposition from ModelArchive that has been split into multiple mmCIF files.
- validate_mmcif.py demonstrates the use of the library's validator to validate a user-provided input mmCIF file against the ModelCIF dictionary.
- validate_modbase.py demonstrates downloading an mmCIF structure from the ModBase database and validating it against the ModelCIF dictionary for compliance.