Build Configuration¶
Source code:
bff/workflows/build/config.pybff/workflows/build/main.pybff/topology.py
Purpose¶
bff build prepares equilibrated systems and runs one seeded production
trajectory for each system. bff prepare-assets packages that seed into FFMD
and CP2K reference assets.
- equilibrated GROMACS systems under
equilibration/ - seeded production outputs under
equilibration/system-XXX-prod.* - a
build-manifest.yamlhandoff file consumed by asset-preparation workflows
Minimal Example¶
project:
directory: ./
log: ./out.log
gromacs:
command: gmx
defaults:
nsteps:
npt: 0
prod: 100000
systems:
- topology: ../inputs/common/topol.top
templates:
ACE: ../inputs/common/ace.gro
mdp:
em: ../inputs/common/mdp/em.mdp
npt: ../inputs/common/mdp/npt.mdp
prod: ../inputs/common/mdp/nvt.mdp
charge: -1
multiplicity: 1
box: [15.7107, 15.7107, 15.7107, 90, 90, 90]
Top-Level Keys¶
projectProject output settings. A string is accepted as shorthand forproject.directory.project.directoryOutput directory forequilibration/andbuild-manifest.yaml.project.logOptional workflow log file.gromacs.commandGROMACS executable, usuallygmx.defaults.nsteps.nptDefault NpT equilibration length for systems that do not override it.defaults.nsteps.prodDefault seeded production run length for systems that do not override it.systemsNon-empty list of systems to build.
systems[] Keys¶
topologyGROMACS topology describing residue counts.templatesOptional mapping from residue name to coordinate template file for non-standard residues. Omit it when the system only contains built-in water or monoatomic-ion residues.chargeTotal system charge for staged CP2K reference inputs.multiplicitySpin multiplicity for staged CP2K reference inputs.boxOptional box dimensions. Accepts 3 values or full 6-value triclinic format.biasOptional opaque bias specification. Use eitherplumed_fileorcolvars_file.nsteps.nptOptional per-system NpT override.nsteps.prodOptional per-system seeded production run length. The seed trajectory is used later bybff prepare-assets.mdp.emEnergy minimization MDP file.mdp.nptNpT equilibration MDP file.mdp.prodProduction MDP file used for the seeded run and downstream FFMD assets.
Outputs¶
The main downstream output is PROJECT/build-manifest.yaml. It records the
prepared topology, index, MDP files, copied bias input, seeded production
coordinate file, seeded production trajectory, CP2K charge/multiplicity, and
box for each system.
After a successful build, run bff prepare-assets to write the ffmd/ and
reference/ asset trees.