Inferensys

Glossary

Molecular Dynamics Flexible Fitting (MDFF)

A computational method that uses molecular dynamics simulation to flexibly fit an atomic model into a cryo-EM density map by applying forces derived from the map's potential.
ML engineer managing model training cluster on laptop, GPU utilization visible, technical deep learning setup.
COMPUTATIONAL STRUCTURAL BIOLOGY

What is Molecular Dynamics Flexible Fitting (MDFF)?

A hybrid method that combines molecular dynamics simulation with cryo-EM density map constraints to flexibly fit atomic models into experimental data.

Molecular Dynamics Flexible Fitting (MDFF) is a computational technique that flexibly fits an atomic model into a cryo-electron microscopy (cryo-EM) density map by applying external forces derived from the map's potential during a molecular dynamics (MD) simulation. The method adds a biasing potential, proportional to the gradient of the density map, to the standard MD force field, driving atoms into high-density regions while preserving physically realistic stereochemistry and non-bonded interactions.

Developed by the Schulten group and implemented in NAMD and VMD, MDFF addresses the rigid-body docking limitation by allowing the atomic model to undergo conformational changes to match the target map. Symmetry restraints, secondary structure restraints, and cis-peptide bond enforcement are typically applied to maintain model integrity. The approach is widely used for interpreting cryo-EM maps of macromolecular assemblies, such as the ribosome, at resolutions where de novo model building is ambiguous but flexible fitting can resolve domain movements and side-chain orientations.

MOLECULAR DYNAMICS FLEXIBLE FITTING

Key Features of MDFF

MDFF bridges the gap between static cryo-EM density maps and the dynamic atomic models they represent. By applying map-derived forces during a molecular dynamics simulation, MDFF flexibly fits an initial atomic structure into the target density, revealing conformational states and capturing the inherent flexibility of biomolecules.

01

Map-Derived Biasing Potential

The core mechanism of MDFF involves converting the cryo-EM density map into a potential energy function (U_EM). This potential is added to the standard molecular dynamics force field. The potential is defined such that atoms are driven into high-density regions, effectively steering the atomic model from its initial position into the target map's contours. The force on each atom is proportional to the gradient of the density map, ensuring a physically plausible fitting trajectory.

02

Symmetry Restraints

Many macromolecular complexes, such as viral capsids or chaperonins, exhibit symmetry. MDFF can enforce these symmetries during the fitting simulation to improve the global quality of the fit and prevent overfitting to local noise. By applying harmonic restraints that maintain the spatial relationships between symmetry-related subunits, the effective signal-to-noise ratio is increased, leading to more accurate and globally consistent atomic models.

03

Interactive and Steered Fitting

MDFF is not limited to automated protocols. It can be run in an interactive mode using visualization tools like VMD. This allows researchers to manually apply steering forces to specific atoms or domains in real-time, guiding the model out of local minima or into ambiguous density. This human-in-the-loop approach is invaluable for interpreting complex or lower-resolution regions where automated fitting may struggle.

04

Secondary Structure Restraints

To preserve the integrity of the model during fitting into medium-resolution maps (4-7 Å), MDFF can apply secondary structure restraints. These harmonic potentials maintain the characteristic hydrogen bonding patterns and dihedral angles of alpha-helices and beta-sheets. This prevents the unfolding of these well-predicted structural elements while allowing flexible loops and domains to adapt to the experimental density.

05

Cascade MDFF Protocol

For high-resolution maps, a cascade MDFF protocol is often employed. This involves a series of sequential simulations:

  • Step 1: Fit the model into a map filtered to a lower resolution (e.g., 5 Å) to capture the global shape.
  • Step 2: Progressively fit into maps with increasing resolution, allowing the model to settle into finer structural details like side-chain rotamers and ordered water molecules. This staged approach ensures a robust and accurate final fit.
06

Integration with QM/MM

MDFF can be combined with Quantum Mechanics/Molecular Mechanics (QM/MM) simulations. This hybrid approach is critical for studying enzymatic active sites or metalloproteins within a cryo-EM map. The chemically active region (e.g., a catalytic center with a bound drug) is treated with quantum mechanical accuracy, while the rest of the protein scaffold is fitted using classical MD. This provides an unprecedented view of reaction mechanisms in near-native states.

MOLECULAR DYNAMICS FLEXIBLE FITTING

Frequently Asked Questions

Clarifying the core mechanisms, computational workflows, and practical applications of MDFF for integrating high-resolution static structures with cryo-EM density maps.

Molecular Dynamics Flexible Fitting (MDFF) is a computational method that uses molecular dynamics (MD) simulation to flexibly fit an atomic model into a cryo-electron microscopy (cryo-EM) density map by applying forces derived from the map's potential. The workflow begins by converting the experimental 3D Coulomb potential map into a grid-based potential energy function. During the MD simulation, atoms experience steering forces proportional to the local density gradient, effectively pulling them into high-density regions. Simultaneously, the standard MD force field preserves stereochemical integrity—maintaining proper bond lengths, angles, and non-bonded interactions—preventing overfitting to noise. This dual-force approach allows the model to undergo large-scale conformational transitions, such as domain rotations, to match the target map while avoiding unphysical distortions. The result is a physically plausible, all-atom model that accurately represents the experimental data.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.