Crystallographic Information Framework



mmLib is a Python toolkit for bioinformatics applications.

The Python Macromolecular Library mmLib is a collection of Python modules for the examination and manipulation of macromolecular structures, and the files which describe them. It includes an mmCIF parser and data structure into which mmCIF files can be loaded for manipulation and examination.


If you wish to install and use this software you should download the most up-to-date version from the above Web site. The links below are to copies which are suitable for browsing or for use if the primary Web site is not available. However, they may be out of date and lack the full functionality of the latest version.


mmLib is under active community development as a Source Forge project. The version distributed here is 1.0 of May 2007. Bug reports and feedback should be directed to

Language and platform

The software is written in Python for cross-platform implementation. The library requires a version of Python later than 2.2.1 and Numerical Python later than 22.0. Included sample applications also require the open-source libraries PyOpenGL, gtk, PyGtk, GtkGLExt and PyGtkGLExt.


Terms and conditions of use

Copyright in the software © the authors
Authors: Ethan Merritt and Jay Painter

Use of this software is governed by an open-source licence. Queries concerning any other use should be directed to


Painter, J. & Merritt, E. (2004). mmLib Python toolkit for manipulating annotated structural models of biological macromolecules. J. Appl. Cryst. 37, 174-178. [details]

Painter, J. and Merritt, E. A. (2005) mmLib A molecular viewer for the analysis of TLS rigid-body motion in macromolecules. Acta Cryst. D61, 465-471 [details]