MD Trajectory Analysis
v2.11.0Calculate RMSD, RMSF, and Rg from MD trajectories
MD trajectory analysis turns a simulation trajectory into measurements that can actually be interpreted: structural drift, residue flexibility, compactness, contact persistence, secondary-structure content, collective motions, and solvent-facing behavior. The raw frames coming out of GROMACS, AMBER, CHARMM, NAMD, or OpenMM do not answer those questions on their own.
This ProteinIQ tool runs a workflow pinned to MDAnalysis 2.11.0. It is not a single command-line program. It is a curated analysis surface built from MDAnalysis modules and a small amount of integration logic that standardizes inputs, runs multiple observables in one job, and returns structured outputs for charting and download.
The practical value is in combining observables that answer different failure modes:
Upload a topology file and a matching trajectory file, choose one or more analyses, and run the job to receive tabular and chart-ready outputs for each selected observable. The result page returns structural, interaction, conformational, environmental, and secondary-structure summaries with downloadable data for follow-up analysis.
| Input | Description | Accepted formats | Max size |
|---|---|---|---|
Topology/Structure file | Defines atom identities, residue assignments, connectivity, and metadata needed to interpret trajectory coordinates. | .pdb, .ent, .cif, .gro, .crd, .psf, .prmtop, .top, .tpr | 50 MB |
Trajectory file | Stores coordinates for each sampled frame. The topology and trajectory must describe the same system and atom ordering. | .xtc, .trr, .dcd, .nc, .ncdf, .tng, .crd, .xyz, .mdcrd | 50 MB |
Common pairings include:
.gro + .xtc for GROMACS.tpr + .xtc when topology metadata from GROMACS should be preserved.prmtop + .nc, .ncdf, or .mdcrd for AMBER.psf + .dcd for CHARMM or NAMD.pdb, .crd, or .gro with coordinate trajectories such as .xyz when atom ordering matchesThe tool loads the uploaded files into an MDAnalysis Universe, applies the selected atom selection, resolves the reference mode, optionally aligns sampled frames to that reference, and then dispatches the requested observables.
Three details matter because they change interpretation:
first, last, and average are not cosmetic options. With alignment on, average uses MDAnalysis AverageStructure, which fits the sampled frames to the first frame before averaging them.step subsamples the trajectory globally for the audited analysis paths, which reduces runtime and directly changes temporal resolution.Some analyses rely on additional assumptions from the underlying MDAnalysis modules or the tool:
HydrogenBondAnalysis with its default donor-acceptor cutoff of 3.0 Å and angle cutoff of 150°, both adjustable. MDAnalysis infers hydrogens and acceptors from partial charges, which PDB and GRO topologies do not contain. For those files, set the H-bond hydrogen and acceptor selections, for example name H* and name O* N*. A topology without bonds, such as GRO, also needs the donor selection, for example name N* O*, so MDAnalysis can pair donors and hydrogens by distance. Without them the result shows the MDAnalysis error instead of a zero count. Explicit hydrogens are required either way.protein and name CA selection is useful for fold tracking but does not contain hydrogens, so lifetime analysis will usually return a warning unless a chemically complete selection is used.MDAnalysis.analysis.contacts.Contacts and reports the source native-contact fraction Q. The displayed contact count is a compatibility summary derived from that fraction and the first-frame native contact set.MDAnalysis.analysis.msd.EinsteinMSD with msd_type="xyz". Physical diffusion estimates require trajectories in an unwrapped coordinate convention.MDAnalysis.analysis.dssp on every atom of the residues in the atom selection, so a name CA selection still provides complete backbones. It reports helix (H), strand (E), and loop (-) codes. If DSSP cannot run, for example with fewer than six residues, the result shows the MDAnalysis error.4 Å, using the periodic box when the trajectory has one. Occupancy is the share of sampled frames in which the pair is bridged.χ1/χ2 summaries use MDAnalysis Janin analysis with circular angle statistics. Helix geometry uses MDAnalysis HELANAL on alpha-carbon selections and requires consecutive helix segments of at least 9 residues.| Setting | Description | Default |
|---|---|---|
Analyses to run | Selects which observables are calculated. Multiple analyses can run in one job. | RMSD, RMSF, Radius of gyration |
Atom selection | MDAnalysis selection string applied to the primary analysis group. Examples include protein, protein and name CA, backbone, and resid 1-100. | protein and name CA |
Reference frame | Reference for RMSD-aligned analyses. Average structure computes the mean coordinate set over the sampled frames. | first |
| Setting | Description | Default |
|---|---|---|
Frame step | Samples every nth frame. A value of 10 processes frames 0, 10, 20, ... instead of every saved frame. | 1 |
Align trajectory | Aligns sampled frames to the chosen reference before RMSD, RMSF, PCA, clustering, and cross-correlation analysis. | true |
Second atom selection | Secondary MDAnalysis selection used for distance tracking and RDF. | resname SOL and name OW |
H-bond donor selection | MDAnalysis donors_sel. Blank infers donors from the hydrogens. | blank |
H-bond hydrogen selection | MDAnalysis hydrogens_sel. Blank infers hydrogens from masses and partial charges. | blank |
H-bond acceptor selection | MDAnalysis acceptors_sel. Blank infers acceptors from partial charges. | blank |
H-bond donor-acceptor cutoff | MDAnalysis d_a_cutoff, the maximum donor-acceptor distance. | 3.0 Å |
H-bond angle cutoff | MDAnalysis d_h_a_angle_cutoff, the minimum donor-hydrogen-acceptor angle. | 150° |
PCA components | Number of principal components returned in PCA projections. | 3 |
Clusters | Number of k-means clusters used for conformational clustering. | 5 |
Density axis | Axis used for one-dimensional density profiles. | z |
| Selection string | Meaning |
|---|---|
protein | All atoms in standard amino-acid residues |
protein and name CA | One alpha carbon per residue, often used for coarse-grained structural tracking |
backbone | Backbone atoms N, CA, C, O |
resid 45-70 | Residues 45 through 70 |
protein and not name H* | Heavy atoms only |
resname ATP | All atoms in ATP residues, useful for ligand-focused measurements |
The result page groups outputs into tabs. Not every selected analysis appears in every tab, so the most useful way to read the output is by question rather than by file format.
| Analysis | Output fields | What it answers |
|---|---|---|
RMSD | frame, time_ps, rmsd_angstrom | Is the selected structure drifting away from the reference? |
RMSF | residue_id, residue_name, chain, rmsf_angstrom | Which residues fluctuate the most over the sampled frames? |
Radius of gyration | frame, time_ps, rg_angstrom | Is the selected structure compacting or expanding? |
End-to-end distance | frame, time_ps, distance_angstrom | Are termini or endpoints moving apart or together? |
Asphericity | frame, time_ps, asphericity | Is the shape becoming more elongated or more spherical? |
Moment of inertia | frame, time_ps, I1, I2, I3 | How is mass distribution changing along principal axes? |
| Analysis | Output fields | What it answers |
|---|---|---|
Hydrogen bonds | frame, time_ps, hbond_count; pair table with donor, acceptor, occupancy | Are stabilizing hydrogen-bond networks persistent? |
Salt bridges | frame, time_ps, salt_bridge_count; pair table with residue ids and occupancy | Are charged interactions forming or breaking over time? |
Contacts | frame, time_ps, native_contacts_q, n_contacts | Is an interface retaining its first-frame native contacts? |
Distance tracking | frame, time_ps, distance_angstrom | Is a specific geometric feature moving toward or away from another one? |
H-bond lifetime | lifetime distribution and summary statistics | Are hydrogen bonds brief, recurrent events or long-lived contacts? |
| Analysis | Output fields | What it answers |
|---|---|---|
PCA | frame, time_ps, pc1, pc2, pc3 plus explained variance arrays | What are the dominant collective motions? |
Clustering | per-frame cluster assignments and cluster statistics | How many recurring conformational states are populated? |
MSD | MDAnalysis EinsteinMSD time series and diffusion estimate | Is there translational diffusion or large-scale wandering? |
Dynamic cross-correlation | significant residue pairs and correlation coefficients | Which residue motions are coupled or anticorrelated? |
Persistence length | estimated persistence length and correlation decay | How stiff is a chain-like segment across the sampled trajectory? |
| Analysis | Output fields | What it answers |
|---|---|---|
DSSP | per-frame helix, sheet, and coil percentages | Is secondary structure stable, gained, or lost? |
Ramachandran | residue-level mean and standard deviation for phi and psi | Which residues move into strained or alternative backbone states? |
Chi angles | Janin χ1/χ2 circular means and standard deviations | Are rotamers stable or switching between states? |
Helix analysis | HELANAL rise, twist, bend, tilt, and variability summaries | Are helices remaining canonical or distorting? |
SASA | per-frame total SASA and per-residue SASA summary | Is the structure exposing or burying surface area? |
RDF | radial bins and g(r) values | How is local solvent or particle organization distributed around a selection? |
Density | position bins and density values along one axis | Is mass or solvent redistributed along a membrane or box axis? |
Water dynamics | residence-time summary statistics | How long do hydration waters remain near the selected region? |
RMSD is easiest to misread when alignment and atom selection are not considered together.
Distance tracking is strongest when paired with contacts or hydrogen bonds.
PCA answers whether motion is dominated by a few directions. Clustering answers whether those motions produce recurring states.
These metrics become more informative when read together.
MD trajectory analysis on ProteinIQ is a post-simulation interpretation tool. It is most useful after a trajectory already exists.
| Tool | Best use case | Not the right choice when |
|---|---|---|
MD Trajectory Analysis | Summarizing structure, interaction, and solvent observables from an existing MD run | No trajectory exists yet |
| OpenMM | Running or setting up molecular dynamics simulations | The simulation is already complete and only analysis is needed |
| MDGen | Generating conformational samples when no trajectory exists yet | An experimental or simulated trajectory already exists |
| gmx_MMPBSA | Estimating binding free energy from MD snapshots | The goal is structural interpretation rather than free-energy estimation |
| Ramachandran Plot | Inspecting backbone geometry from a single structure | Time-resolved trajectory behavior is needed |
| RMSD Calculator | Comparing one structure against another | A full time series across many frames is needed |
The main decision point is whether the question is dynamic or static:
protein and name CA is useful for global fold tracking, but it can miss side-chain rearrangements and interaction chemistry.step values reduce runtime and noise, but short-lived events may disappear.Predict atomistic properties, optimize coordinates, or run source-backed Langevin dynamics.
Analyze aggregation-prone regions in a protein structure.
Predict pKa values of ionizable groups in proteins based on 3D structure.
Calculate the radius of gyration (Rg) for protein structures from PDB files.
Sample independent protein equilibrium conformations.
Sample, predict and propagate biomolecular structures with BioEmu2.
Run protein molecular dynamics or your own prepared GROMACS system.
Generate molecular dynamics trajectories from protein structures.
Molecular dynamics, minimization, and energy calculations with classical or ML potentials
Model accuracy estimation and sequence ranking with AlphaFold