Examples
The examples directory contains runnable notebooks covering simulations and optimizations.
When experimenting with the notebooks, be sure to read the examples README, including the prequisites section to ensure you have the necessary software and access to example data.
Simulations
Notebook |
Backend |
Description |
|---|---|---|
JAX-MD |
Run a DNA simulation entirely in JAX with Langevin dynamics. |
|
oxDNA |
Run an oxDNA simulation and read back the trajectory. |
|
GROMACS |
Run a GROMACS-based MARTINI workflow (includes simulation + analysis). |
Optimizations
Simple (direct differentiation)
Notebook |
Backend |
Description |
|---|---|---|
JAX-MD |
Optimize stacking parameters against propeller twist via autodiff. |
Advanced (DiffTRe / multi-objective)
Notebook |
Backend |
Description |
|---|---|---|
oxDNA |
Single-trajectory DiffTRe optimization of stacking parameters. |
|
oxDNA |
Multi-trajectory DiffTRe optimization with Ray parallelism. |
|
oxDNA |
Persistence length optimization using DiffTRe. |
|
oxDNA |
Melting temperature optimization with umbrella sampling. |
|
LAMMPS |
oxDNA model optimization using the LAMMPS backend. |
|
GROMACS |
Bottom-up Martini M2 fitting via Wasserstein distance matching. |
|
GROMACS |
Membrane thickness optimization for Martini M2. |
|
GROMACS |
Melting temperature optimization for Martini M3 with Ray. |