
Pairwise RMSD matrices for PDB structure ensembles Learn more
Input
Output
Configure inputs to begin
Set options on the left, then click “Calculate matrix”.
What is pyRMSD?
pyRMSD calculates an all-versus-all root mean square deviation matrix for a matching ensemble of protein conformations. It is designed for structures that contain the same atoms in the same order, such as frames from a molecular dynamics trajectory or alternative models of one protein.
RMSD measures coordinate displacement after optimal superposition:
where is the number of selected atoms. The value is reported in Å.
How to use pyRMSD online
Run pyRMSD online by uploading or fetching at least two matching PDB conformations, selecting alpha carbons or all atoms, and choosing a QCP, Kabsch, QTRFIT, or no-superposition calculator. ProteinIQ returns every unique structure pair as a table, plus the condensed NumPy matrix and pyRMSD summary statistics.
Input requirements
| Requirement | Description |
|---|---|
| Format | PDB or ENT files, including multi-model PDB ensembles. |
| Conformation count | At least two conformations in total, with up to 50 uploaded files or PDB IDs where the account limit allows. |
| Atom count | Every conformation must contain the same number of selected atoms. |
| Atom order | Corresponding atoms must occur in the same order. pyRMSD does not infer a residue alignment or atom mapping. |
Matching atom counts are necessary but not sufficient. Two unrelated structures can contain the same number of atoms while pairing the wrong coordinates. For proteins with different sequences, residue numbering, missing regions, or chain layouts, use USAlign or the RMSD calculator, which provide structure-matching workflows.
Atom selection
| Setting | Best use |
|---|---|
Alpha carbons (CA) | Overall backbone motion and fold-level ensemble diversity. One coordinate per standard residue makes the result less sensitive to side-chain rotamers. |
All atoms | Detailed comparison of an ensemble with identical topology and atom order. Side chains, hydrogens, heteroatoms, and missing atoms can strongly affect the result. |
Calculator
| Calculator | Behavior |
|---|---|
QCP OpenMP | Default. Fast quaternion characteristic polynomial superposition with CPU parallelism. |
QCP serial | Same QCP method on one execution thread. |
Kabsch OpenMP or Kabsch serial | Optimal least-squares superposition using the Kabsch method. |
QTRFIT OpenMP or QTRFIT serial | Quaternion-based optimal rotation. |
No-superposition OpenMP or No-superposition serial | Calculates RMSD without rotational fitting. Use only for conformations already aligned in a common frame. |
The fitted calculators solve the same geometric objective through different numerical algorithms, so results should be very close apart from floating-point variation. OpenMP changes execution parallelism, not the scientific definition.
Results
For conformations, the table contains unique pairs.
| Column | Meaning |
|---|---|
Pair | Sequential index in condensed-matrix order. |
Structure A | First conformation or model label. |
Structure B | Second conformation or model label. |
RMSD (Å) | Pairwise RMSD for the selected atoms and calculator. |
pyRMSD stores only the upper triangle because an RMSD matrix is symmetric and its diagonal is zero. pyrmsd_condensed_matrix.npy preserves that compact one-dimensional form for NumPy workflows. pyrmsd_statistics.json contains the source matrix minimum, maximum, mean, variance, skewness, and kurtosis where available.
Interpreting an RMSD matrix
There is no universal threshold for a similar protein conformation. RMSD depends on protein size, atom selection, flexible termini, loops, domain motion, and whether fitting was enabled. A 2 Å all-atom RMSD is not equivalent to a 2 Å alpha-carbon RMSD.
The matrix is most informative as a relative map within one consistent ensemble:
- Low-RMSD blocks: Groups of conformations that may represent the same structural state.
- High values in one row: A possible outlier, transition structure, or malformed frame.
- Two or more blocks: Candidate conformational substates for clustering or representative selection.
- Broad all-atom values with tighter CA values: Similar backbones with differing side-chain conformations.
Global RMSD is sensitive to localized motion. A flexible terminus can increase the value even when the protein core is stable, and domain movement can dominate over local structural agreement. Atom selections should therefore be chosen before comparing experiments, and every matrix being compared should use the same selection and fitting method.
For a single reference-versus-model comparison with explicit residue matching, the RMSD calculator is easier to interpret. pyRMSD is the better choice for complete pairwise analysis of a topology-consistent ensemble, including conformations exported from molecular dynamics.
Related tools

RMSD calculator
Calculate RMSD between protein structures with independent fit and measurement regions, explicit chain mappings, displacement profiles, coverage diagnostics, and fitted overlays.

DockQ
Assess docking model quality by comparing predicted complexes against native references. DockQ v2.1.3 supports protein, nucleic-acid, and supported small-molecule interfaces with native metrics.

PoseBusters
PoseBusters validates generated or docked molecular poses with chemically and structurally grounded quality checks for molecular geometry, intermolecular interactions, and optional reference-pose agreement.

MolProbity
Validate protein structure quality with all-atom contact analysis, Ramachandran plots, rotamer assessment, and geometry checks.

PDBsum
Generate a downloadable PDBsum structural summary report archive for a single protein structure.

AllMetal3D
Predict metal and water binding sites in protein structures using 3D convolutional neural networks (AllMetal3D + Water3D).

LocScale
LocScale performs physics-informed local sharpening of cryo-EM density maps using half-maps or full MRC/MAP volumes, with optional mask and reference-map inputs.

SuperWater
Predict protein hydration sites from a structure using a diffusion model with ESM features and a confidence-filtering head.

DSSP
Assign protein secondary structure with the source DSSP program and return annotated mmCIF, legacy DSSP, residue geometry, hydrogen-bond statistics, and native files.

Radius of gyration
Calculate the radius of gyration (Rg) for protein structures from PDB files. Supports multiple chains and atom selection options.