Comparison

PyMOL vs ChimeraX for molecular visualisation

Compare PyMOL and ChimeraX for molecular graphics: scripting, rendering, maps and assemblies, licensing and how to choose for figures and analysis.

PyMOL and ChimeraX are both used to inspect and illustrate molecular structures. PyMOL is known for its scripting and ray-traced figures; ChimeraX is a newer visualisation and analysis environment with strong support for maps, large assemblies and session workflows. Both can open PDB and mmCIF files, and both can produce publication figures.

What each approach is

PyMOL

PyMOL provides a command language and a Python API for selecting atoms, aligning structures, measuring interactions and rendering images. It is widely used for figure preparation, and its commands can be saved as scripts so that a figure can be regenerated. Different builds have different licensing terms.

ChimeraX

ChimeraX combines visualisation with analysis tools for density maps, sequences, assemblies and trajectories. It has a command language and a Python API, and it can save sessions that include the data and the view. It is free for academic use, with separate terms for commercial use.

How they differ

AspectPyMOLChimeraX
What it isA molecular graphics program with a command language and Python API.A visualisation and analysis environment with commands and a Python API.
Typical usePublication figures, structural alignments and simple measurements.Maps, large assemblies, sessions and integrated analysis.
ScriptingA mature command language and Python scripting.A command language and Python API with session support.
RenderingRay tracing and cartoon, surface and stick representations.Several rendering modes, including ray tracing and ambient occlusion.
LimitsLicensing depends on the build; some features are version-dependent.The interface and command names differ from PyMOL, so scripts are not portable.
When to chooseYou have existing PyMOL scripts or a figure workflow built around it.You need map fitting, large assemblies or session-based analysis.

In practice

PyMOL is widely used for publication figures, alignments, measurements and scripted scene creation. Its command language and session files make repeated figures reproducible, and many labs have existing scripts. ChimeraX is a newer visualisation program with strong support for large complexes, density maps, cryo-EM and integrative structural biology. It also has a command language and a Python API, and it can handle data types that PyMOL does not focus on.

The choice often depends on the data and the output. For a simple ribbon figure or a ligand interaction diagram, either can work. For a map-fitting figure, a large assembly or a scene that combines multiple data types, ChimeraX may have more direct tools. Check licensing before standardising a lab on one program, and keep the session file or script with the figure. A figure should show the claim, so record the selection, colouring, alignment and any clipping or smoothing that changed the view.

Publication figures should show the claim without hiding uncertainty. State which chains, residues and ligands are displayed, whether missing regions were modelled, and whether the view is a single snapshot or an ensemble. Avoid smoothing or clipping that changes the apparent shape of a pocket. Keep the session or script so the figure can be regenerated, and check that colours remain distinguishable in greyscale and for readers with colour-vision deficiency.

How to decide

1. What kind of data will you open?

A single structure and a figure need less than a density map, a large assembly or a trajectory. Check that the program handles your file types and the size of your system before building a workflow around it.

2. Do you need a reproducible figure script?

Both programs can script figures. Choose the one whose scripting you can maintain and whose output you can regenerate. Save the script and the input structure with the figure.

3. What are the licensing terms for your setting?

Academic, teaching and commercial use can have different terms. Check the current licence for the build you will use rather than assuming that a free download covers every use.

4. Will you measure or analyse, or only illustrate?

If you need distances, hydrogen bonds, clashes, map correlations or interfaces, check that the tool provides them and record the settings. A figure alone is not a measurement.

What this comparison does not settle

A molecular image is a communication device. Cartoon representations, clipping planes, colours and lighting can emphasise or hide features. State what is shown, the structure identifier, the chains and any alignment or superposition used.

What to record

Record the structure identifiers and chains, the alignment or superposition, the representations, the colour scheme, the rendering settings and the script used. For a figure in a paper, keep the session or script with the final image.

Sources

Last reviewed: . This is an editorial summary, not a benchmark. If a tool or method has changed, tell us and we will update the page.