Skip to content

MDTraj

MDTraj Project

MDTraj is a Python library for reading, writing and analyzing molecular dynamics trajectories, with RMSD, hydrogen-bonding and solvent-accessible surface area analyses.

Catalog updated ·

Overview

MDTraj is a Python library for manipulating and analyzing molecular dynamics (MD) trajectories. It supports a wide range of trajectory formats including pdb, xtc, trr, dcd, netcdf, mdcrd, prmtop and gsd, and provides fast RMSD (roughly 4x the Theobald QCP), solvent-accessible surface area, hydrogen-bond identification, secondary-structure assignment and NMR observables, with an emphasis on speed and vectorized operations.

The project is actively maintained by community members and representatives from Folding@Home, the Molecular Sciences Software Institute and the Open Force Field Initiative, and is released under LGPL-2.1.

Key Features

  • Supports a wide range of MD trajectory formats including pdb, xtc, trr, dcd, netcdf, mdcrd, prmtop and gsd.
  • Provides fast RMSD, solvent-accessible surface area, hydrogen-bonding and secondary-structure analyses.
  • Speed-oriented, vectorized operations with a lightweight API.

Use Cases

  • Read, write and analyze trajectories produced by molecular dynamics simulations.
  • Compute RMSD, hydrogen bonds, SASA and other structural metrics for trajectory characterization.

How to Use

Install with pip install mdtraj and call analysis functions after loading a trajectory. See https://mdtraj.readthedocs.io.

Sources and verification

This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.

Read the editorial and verification policy

Related resources

AiiDA

Open Source

AiiDA is a computational-science workflow manager that records calculation inputs, outputs and metadata in a provenance graph.

Open sourcePython

Computational Chemistry · Scientific Data

alchemiscale

Open Source

alchemiscale is a high-throughput execution system for alchemical free energy calculations that distributes work across HPC, cloud, bare-metal and volunteer compute resources.

Open sourcePython

Computational Chemistry · Drug Discovery · Scientific Data

alchemlyb

Open Source

alchemlyb extracts alchemical free energy data from molecular dynamics output and estimates free energies with MBAR, BAR and thermodynamic integration on the PyData stack.

Open sourcePython

Computational Chemistry · Drug Discovery · Scientific Data

Allegro

Model

Allegro implements an E(3)-equivariant interatomic potential as a NequIP extension, with documented GPU acceleration options and a separate plugin for LAMMPS simulations.

Open sourcePython

Computational Chemistry · Materials Discovery

AlphaFold is DeepMind's protein structure prediction system. The official repositories provide AlphaFold 2 inference code (Apache-2.0) and the AlphaFold 3 inference pipeline, with model parameters offered under CC BY 4.0 and separate non-commercial terms respectively.

Open sourcePython

Computational Chemistry · Drug Discovery

AQME

Open Source

AQME builds quantum-mechanical working environments end to end: conformer generation, input preparation, output checking and descriptor calculation across its CSEARCH, CMIN, QPREP, QCORR and QDESCP modules.

Open sourcePython

Cheminformatics · Computational Chemistry · Quantum Chemistry

Related guides

Overview

MCP vs Skills vs Agents vs APIs: What's the Difference?

Understand how APIs, MCP servers, Skills, and agents divide interface, procedural guidance, execution, and planning responsibilities in chemistry workflows—and how to choose or combine them without confusing access with scientific validity.