dynome.

Every motion a molecule makes, in one object.

Dynome analyses and simulates molecular ensembles. Your MDTraj scripts keep working, and the same object holds conformations from MD, generative emulators and structure predictors.

dy·nome, n. the complete set of a molecule's motions, as a genome is the complete set of its genes.

$ pip install dynome

Pre-release 0.4.0. Not on PyPI yet: install from source until the first public release.

12 conformations · 28 residues · one Ensemble
01 / COMPATIBILITY

Change one line.

The compatibility layer mirrors MDTraj's names, units and return shapes, and is tested function by function against MDTraj itself.

import mdtraj as md
import dynome.compat as md

t = md.load("traj.xtc", top="protein.pdb")
md.rmsd(t, t, 0)
md.compute_contacts(t, scheme="closest-heavy")
md.shrake_rupley(t, mode="residue")
  • Covered: loading (PDB, mmCIF, XYZ natively), the selection language, RMSD, RMSF, distances, angles, dihedrals, phi/psi/omega, radius of gyration, contacts, neighbours and surface area.
  • Not yet: secondary structure (DSSP), hydrogen bonds, chi angles and NMR observables.
  • Core needs only NumPy. XTC, DCD, HDF5 and NetCDF come through dynome[formats].
  • Bigger than memory: a chunked on-disk store streams frames through the same functions.
02 / ONE OBJECT

A trajectory is one kind of ensemble.

MDTraj assumes frames are ordered in time. An Ensemble does not: time is optional, and weights, per-frame annotations and provenance travel with the coordinates.

time-ordered

Molecular dynamics

OpenMM runs written straight to a store, many runs as members of one ensemble.

independent samples

Generative emulators

BioEmu-2 equilibrium samples: no clock, equal weights, each labelled by its physicality check.

ranked models

Structure predictors

Boltz-2 samples with pLDDT and confidence carried as annotations.

03 / PIPELINE

Sequence to kinetic model in one script.

This chain ran on an NVIDIA A40 on 27 November 2026: predict, add hydrogens and the missing terminal oxygen, simulate on CUDA, build a Markov state model. Swap the first step for dynome_emulate.emulate_bioemu(...) to seed from BioEmu-2 instead; that ran on an A100 the next day.

import dynome as dn
import dynome_predict as dp, dynome_sim as ds, dynome_kinetics as dk

# 1. five Boltz-2 samples, with confidence
seeds = dp.predict_boltz("ENFSGGCVAGYMRTPDGRCKPTFYQLIT", n_samples=5)

# 2. parameterise and run one simulation per sample, on the GPU
system, starts = ds.prepare(seeds, frames=range(seeds.n_frames), solvent="implicit")
runs = ds.run_many(system, starts, 1_000_000, 1000, store="pep.dynome", platform="CUDA")

# 3. Markov state model from the store, without loading it into memory
model = dk.build_msm(runs, lag=25, features=["backbone_torsions"], n_clusters=100)
model.timescales(4)
04 / PLUGINS

A small core, and plugins around it.

Plugins register sources, analyses and sinks through one entry-point group, so a lab can add its own without touching the core.

PackageWhat it doesState
dynome-simOpenMM preparation, runs written to stores, adaptive samplingimplemented
dynome-kineticstICA, clustering, Markov state models, implied timescales, validationimplemented
dynome-predictBoltz-2 predictions as ensembles with confidence annotationsimplemented
dynome-viewSelf-contained interactive 3D pages with linked plots; exports to PyMOL, VMD, ChimeraXimplemented
dynome-agentsA dynome command line and an MCP server exposing 14 typed tools to AI agentsimplemented
dynome-emulateBioEmu-2 equilibrium samples as ensembles, ready to seed simulationsimplemented
dynome-accelCompiled, multi-threaded kernels that the NumPy backend picks up by itself. RMSD so farimplemented
05 / MEASURED

Where it is faster than MDTraj, and where it is not.

Measured on rented NVIDIA A40 and A100 machines, 27 and 28 November 2026. Times in milliseconds; lower is better. The RMSD results agree with MDTraj's to 0.00001 nm.

CaseDynome running onDynomeMDTrajDynome vs MDTraj
Surface area, 5 frames × 423 atomsGPU12.789.47× faster
RMSD, 20,000 frames × 423 atomscompiled kernel, 31 threads0.851.732× faster
RMSD, 20,000 frames × 423 atomscompiled kernel, 1 thread18.132.91.8× faster
RMSD, 2,000 frames × 11,421 atomscompiled kernel, 31 threads2.34.41.9× faster
Distances, 20,000 frames × 5,000 pairsGPU401439level
Surface area, 5 frames × 423 atomsNumPy only, no GPU1,90089.421× slower

Without a GPU or the compiled package, Dynome's NumPy kernels are slower than MDTraj: surface area by 21×, RMSD by about 6× on one thread. Compiled surface-area and distance kernels are the next piece of work.

2,166ns/day for a 28-residue peptide in implicit solvent, OpenMM on CUDA through dynome-sim
4 / sBioEmu-2 samples of the same peptide once the model is loaded; loading takes about 230 s per call
60 sfor five Boltz-2 samples, single-sequence mode, model loading included
06 / STATUS

Pre-release, and honest about it.

  • Done: core 0.4.0, seven plugins, 233 tests, comparisons against MDTraj pinned function by function.
  • Next: compiled surface-area and distance kernels, DSSP and hydrogen bonds, AlphaFold 3 output with its confidence scores.
  • Not yet public: the PyPI package and the GitHub repository are still to be published.
  • Licence: MIT.
  • Home: the Barati Farimani Lab at Carnegie Mellon University. The repository will live at github.com/BaratiLab/dynome.
  • Builds on: the MDTraj project, whose API and file readers Dynome stays compatible with.