Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Changelog
* Raise an error when the `annihilate` or `decouple` lambda schedule is used with a perturbable molecule created by `sire.morph.annihilate()`, which also removes the bonded terms. ABFE ligands should be created with `sire.morph.decouple()`, leaving the choice between decoupling and annihilation to the lambda schedule [#239](https://github.com/OpenBioSim/somd2/pull/239).
* Only fall back to the Aldeghi Boresch restraint search protocol when the system can't be used with the RXRX protocol. Systems that can't be used with either protocol, or restraint search settings that would save too few frames, now raise an error before the restraint search trajectory is run, rather than after a misleading fallback warning [#241](https://github.com/OpenBioSim/somd2/pull/241).
* Save the GCMC end-state topologies, which include the additional waters, at the first checkpoint of each run as well as the last, and keep them on restart, so that they match the trajectory and checkpoints while a simulation is running, if it crashes, or if a restart never reaches a checkpoint [#244](https://github.com/OpenBioSim/somd2/pull/244).
* Add `gcmc_batch_size` and `gcmc_num_attempts` options to set the number of GCMC trials evaluated in parallel per batch and in total per move, which were previously fixed at the defaults of the GCMC sampler. Both can be changed on restart, e.g. to reduce wasted trials when more than one is accepted per move [#246](https://github.com/OpenBioSim/somd2/pull/246).

[2026.2.0](https://github.com/openbiosim/somd2/compare/2026.1.0...2026.2.0) - Sep 2026
--------------------------------------------------------------------------------------
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ related options, run:
somd2 --help | grep -A2 ' --gcmc'
```

Each GCMC move evaluates its trials in parallel batches, set with
`--gcmc-batch-size`, up to a total of `--gcmc-num-attempts`. Only the first
accepted trial of a batch is used, so if more than one trial is accepted per
move on average, the rest of each batch is wasted, and the batch size should be
reduced. The [viewer](#viewer) shows the number accepted per move for each λ
window. These options can be changed on restart.

> [!IMPORTANT]
> GCMC is only supported when using the CUDA or OpenCL platforms.

Expand Down Expand Up @@ -754,6 +761,10 @@ The viewer shows:
end state from the latest saved coordinates of its window, with the mutated
residues and any ligand in detail. Peptides with fewer than five amino acids
are depicted like any other perturbed molecule.
- In either of the above, the waters within 6 Å of the perturbed molecule or
mutated residues, which can be turned off. For GCMC simulations, the waters
in the GCMC region are also shown, along with the region itself, leaving out
ghost waters.
- The MBAR free energy, PMF, overlap matrix, and forward and backward
convergence. These are updated in the background as new data is written. For
ABFE simulations, the standard state correction for the Boresch restraint is
Expand All @@ -763,7 +774,8 @@ The viewer shows:
- Energy components as a function of time for each λ window. These are
written at each checkpoint, or at every energy sample when using
`--save-energy-components`.
- GCMC and terminal flip Monte Carlo statistics, if active.
- GCMC and terminal flip Monte Carlo statistics, if active, including the
number of waters in the GCMC region over time.
- Any restraints, e.g. a Boresch restraint for an ABFE simulation, or Morse
restraints for a ring-breaking perturbation.
- The λ schedule, REST2 scale factors, configuration options, and tuned PME
Expand Down
Loading
Loading