Chemistry & structure · Step-by-step guide

Molecular Dynamics: a step-by-step guide

Molecular Dynamics runs a Lennard-Jones fluid on your GPU or CPU and folds a coarse-grained C-alpha Go model of a protein. This guide separates the two simulations and explains the observables each one reports.

Before you start

  • A GPU with WebGPU for the fastest fluid runs, or a CPU fallback.
  • A PDB structure for the Go model, or one of the bundled 1UBQ and 1PGA demos.
  • A clear question about the model: the fluid teaches integration and thermodynamics; the Go model teaches folding observables, not all-atom chemistry.
The app includes bundled 1UBQ and 1PGA demos and can fetch a PDB ID from RCSB on click.

Step by step

  1. Open the Argon fluid tab

    Choose the number of atoms (108 to 2048), temperature and density. The built-in fcc lattice is the initial configuration; no file is needed.

  2. Run the fluid

    Press Run. The velocity-Verlet integrator uses cell lists on the CPU and a WebGPU all-pairs kernel when available. Energy, temperature and pressure traces update as the run proceeds.

  3. Check conservation before interpreting

    Look at the total-energy trace. A drifting total energy means the timestep is too large for the state point; reduce it before drawing conclusions from the trajectory.

  4. Open Protein folding (Go model)

    Load the 1UBQ or 1PGA demo, or fetch a PDB ID from RCSB. The model uses C-alpha bond, angle, dihedral, native-contact and repulsion terms.

  5. Run BAOAB Langevin folding

    Choose the temperature and run. The app reports Q (native-contact fraction), RMSD and radius of gyration as the trajectory evolves; the run happens in a Web Worker.

  6. Run a temperature scan

    The scan runs ten short replicates at increasing temperature (10 × 20,000 steps). Use it to see where the folding transition sits for this model, not to estimate a experimental melting temperature.

  7. Send the trajectory onward

    Use Send trajectory to Trajectory Studio for RMSD, RMSF, PCA and free-energy landscapes. Delete job on my computer removes the local job data.

  8. Native MD (GROMACS), if installed

    The Native MD tab hands a GROMACS run to the Nayancode Bridge on your own computer. It is a separate local installation, not a browser simulation.

How to read the results

OutputWhat it tells you
Energy, temperature and pressure tracesThe thermodynamic state of the fluid. Flat averages with bounded fluctuations are expected; a monotonic drift in total energy is a numerical warning.
Q (native-contact fraction)How much of the native contact set is present. Q near one means folded in this model; Q near zero means unfolded or not yet collapsed.
RMSD and radius of gyrationRMSD measures deviation from the reference structure and Rg measures compactness. A collapsed chain with high RMSD can still be misfolded.
Temperature scanA model transition, not a measured Tm. The scan shows where this toy energy landscape changes behaviour.

Common problems

A box or run parameter is outside its range.
The app names the parameter and the accepted integers or positive range. Integer counts must be whole numbers; temperature and density must be positive.
A chain has no protein C-alpha atoms.
The Go model needs amino-acid chains with C-alpha atoms. Remove nucleic acids, ligands or water, or choose a protein-only structure.
WebGPU is unavailable.
The app falls back to the CPU kernels. A slower run is expected; check the browser’s WebGPU support if the GPU option is missing.
Native MD reports no CUDA device.
That message comes from GROMACS on your machine. Run on a CPU build or configure the GPU driver for the Bridge installation.
The folding run looks unfolded at every temperature.
Check that the structure is a single folded domain and that the temperature range spans the model transition. A multi-domain or disordered structure is not a good Go-model target.

Limits

  • Educational and research-grade engines: the fluid uses reduced units and the Go model is a structure-based toy model.
  • The Go model is not a force field for structure prediction, binding or all-atom production MD.
  • Native MD requires GROMACS and the Nayancode Bridge on your own computer.

The app records its tool, version, parameters and input checksum in the methods log. The documentation on reproducibility explains how that record becomes a methods paragraph, and the Report Builder collects the figures into one export.

How to cite this analysis

Cite the Workbench using the Zenodo DOI on the Cite page (/cite). For the Go model, state that it is a C-alpha structure-based model; for GROMACS runs, cite GROMACS and the force field separately. Citation, DOI and BibTeX.

Last reviewed: 2026-11-10. If a screen does not match this guide, the app is the source of truth; tell us so the guide can be corrected.

Need a hand?

Run this analysis with support.

Send the files and the question; we reply with a fixed price and a named analyst. Or keep exploring the free apps.