pyRMSD icon

pyRMSD

(4.2.1)

Pairwise RMSD matrices for PDB structure ensembles Learn more

Input

Inputs

pyRMSD requires at least two PDB conformations.

Configuration

Settings

0 credits

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:

RMSD⁡=1N∑i=1N∥xi−yi∥2\operatorname{RMSD} = \sqrt{\frac{1}{N}\sum_{i=1}^{N}\lVert \mathbf{x}_i-\mathbf{y}_i\rVert^2}RMSD=N1​i=1∑N​∥xi​−yi​∥2​

where NNN 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

RequirementDescription
FormatPDB or ENT files, including multi-model PDB ensembles.
Conformation countAt least two conformations in total, with up to 50 uploaded files or PDB IDs where the account limit allows.
Atom countEvery conformation must contain the same number of selected atoms.
Atom orderCorresponding 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

SettingBest 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 atomsDetailed comparison of an ensemble with identical topology and atom order. Side chains, hydrogens, heteroatoms, and missing atoms can strongly affect the result.

Calculator

CalculatorBehavior
QCP OpenMPDefault. Fast quaternion characteristic polynomial superposition with CPU parallelism.
QCP serialSame QCP method on one execution thread.
Kabsch OpenMP or Kabsch serialOptimal least-squares superposition using the Kabsch method.
QTRFIT OpenMP or QTRFIT serialQuaternion-based optimal rotation.
No-superposition OpenMP or No-superposition serialCalculates 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 nnn conformations, the table contains n(n−1)/2n(n-1)/2n(n−1)/2 unique pairs.

ColumnMeaning
PairSequential index in condensed-matrix order.
Structure AFirst conformation or model label.
Structure BSecond 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.

Table of contents

Related tools

RMSD calculator

RMSD calculator

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

structure-analysiscomparison+2
DockQ

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.

structure-analysiscomparison+5
PoseBusters

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.

structure-analysisquality-validation+5
MolProbity

MolProbity

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

structure-analysisquality-validation+4
PDBsum

PDBsum

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

structure-analysisquality-validation+3
AllMetal3D

AllMetal3D

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

structure-analysisdeep-learning+3
LocScale

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.

structure-analysisphysics-based+2
SuperWater

SuperWater

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

structure-analysisai-powered+4
DSSP

DSSP

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

structure-analysisprotein+1
Radius of gyration

Radius of gyration

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

structure-analysisphysicochemical-properties+2