When One Reference Frame Isn’t Enough: Reading Pairwise RMSD Heatmaps

A molecular trajectory can contain several recurring conformations, but comparing every frame to just one reference can make the overall pattern hard to see. A frame may look different from the chosen reference while still resembling many other frames in the trajectory. The result is a familiar analysis problem: are you seeing a meaningful transition, a repeated structural state, or simply a collection of small variations?

Pairwise RMSD offers a way to inspect those relationships across the entire path. Instead of comparing each frame with one reference, it compares every frame with every other frame and displays the results as a square heatmap. Each cell represents the RMSD for one frame pair. This changes the question from “How far is each frame from this reference?” to “Which frames resemble one another?”

Pairwise RMSD heatmap in Path Analyzer
A pairwise RMSD heatmap summarizes structural differences between all frame pairs.

How to read the pattern

Look for groups of nearby frames that also have low RMSD to one another. In a heatmap, these often appear as blocks along the diagonal: frames within a block are structurally similar, while cells connecting that block to another region may show greater differences. Large low-RMSD blocks can point to recurring or metastable conformations. A change in the pattern can help flag a transition between structurally different phases.

These are clues, not labels. A low-RMSD block indicates structural similarity under the chosen comparison; it does not, by itself, prove that a state is biologically meaningful or metastable. Use the heatmap to locate regions worth investigating, then interpret them in the context of the system and the rest of your analysis.

Choose what “similar” means

The measured set and fit set both matter. The fit set controls how each pair of frames is aligned before the measured set is compared. In practical terms, the fit set defines the atoms used to establish the alignment, while the measured set defines the atoms whose positional differences contribute to the reported RMSD. If the feature you care about is local, choose selections that focus the comparison on that feature; if you want a broader structural comparison, choose selections that reflect that goal.

Two atom-containing selections are required. Before interpreting the heatmap, check that your selections represent the structures you intend to compare. A different fit set can change the alignment and therefore the measured RMSD, even when the measured set stays the same.

Build and explore the heatmap

  1. Open Path Analyzer.
  2. Select RMSD (pairwise) as the observable and choose a path.
  3. Define the measured set and fit set.
  4. Click Add Heatmap.

The resulting matrix is symmetric: comparing frame i with frame j gives the same RMSD as comparing j with i. Clicking a heatmap cell moves the path to the later of the two selected frames, making it easier to inspect a frame pair in context.

Use it as a map, not a verdict

Pairwise RMSD is especially useful when no single reference frame can represent the whole path. It can help you identify recurring structural regions and candidate transitions before examining individual frames more closely. For a complementary perspective, compare the pattern with an energy landscape or a custom scatter plot. Different views can help you ask whether structural similarity aligns with other properties you are tracking.

For the full feature description, see the Pairwise RMSD documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.