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.
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")
dynome[formats].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.
OpenMM runs written straight to a store, many runs as members of one ensemble.
BioEmu-2 equilibrium samples: no clock, equal weights, each labelled by its physicality check.
Boltz-2 samples with pLDDT and confidence carried as annotations.
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)
Plugins register sources, analyses and sinks through one entry-point group, so a lab can add its own without touching the core.
| Package | What it does | State |
|---|---|---|
dynome-sim | OpenMM preparation, runs written to stores, adaptive sampling | implemented |
dynome-kinetics | tICA, clustering, Markov state models, implied timescales, validation | implemented |
dynome-predict | Boltz-2 predictions as ensembles with confidence annotations | implemented |
dynome-view | Self-contained interactive 3D pages with linked plots; exports to PyMOL, VMD, ChimeraX | implemented |
dynome-agents | A dynome command line and an MCP server exposing 14 typed tools to AI agents | implemented |
dynome-emulate | BioEmu-2 equilibrium samples as ensembles, ready to seed simulations | implemented |
dynome-accel | Compiled, multi-threaded kernels that the NumPy backend picks up by itself. RMSD so far | implemented |
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.
| Case | Dynome running on | Dynome | MDTraj | Dynome vs MDTraj |
|---|---|---|---|---|
| Surface area, 5 frames × 423 atoms | GPU | 12.7 | 89.4 | 7× faster |
| RMSD, 20,000 frames × 423 atoms | compiled kernel, 31 threads | 0.85 | 1.73 | 2× faster |
| RMSD, 20,000 frames × 423 atoms | compiled kernel, 1 thread | 18.1 | 32.9 | 1.8× faster |
| RMSD, 2,000 frames × 11,421 atoms | compiled kernel, 31 threads | 2.3 | 4.4 | 1.9× faster |
| Distances, 20,000 frames × 5,000 pairs | GPU | 401 | 439 | level |
| Surface area, 5 frames × 423 atoms | NumPy only, no GPU | 1,900 | 89.4 | 21× 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.
dynome-simgithub.com/BaratiLab/dynome.