AmberMD-Scripting is a small collection of Bash helpers for preparing and running staged AMBER molecular dynamics workflows. The repository is aimed at practical command-line usage rather than a general-purpose software package.
Generates a directory tree and AMBER input files for a staged membrane-oriented workflow that includes:
- minimization
- restrained heating
- restrained equilibration
- production dynamics
The script builds numbered directories such as 001.min, 002.heat, and trajectory-specific folders like Traj1/003.equil and Traj1/004.prod.
Example:
bash generate_amber_inputs.sh 101 120 3This generates inputs for 3 trajectories with ligand or residue restraints applied over residues 101 to 120.
A cleanup mode is also available:
bash generate_amber_inputs.sh cleanup 3Runs the generated AMBER workflow in either preproduction or production mode.
Example preproduction run:
bash run_md_simulations.sh system_name 16 0Example production run:
bash run_md_simulations.sh system_name 16 1 0 0 5 1This corresponds to:
system_name= AMBER topology/restart basename16= number of CPU cores1= production mode0= GPU index0= starting production segment5= final production segment1= trajectory number
These scripts assume:
- an AMBER installation with
pmemd.MPIandpmemd.cuda - an MPI launcher available as
mpirun - a membrane-style workflow using the directory structure created by
generate_amber_inputs.sh - topology and coordinate files such as
system_name.parm7andsystem_name.rst7
This repository is best viewed as a reusable lab-style scripting helper rather than a polished framework. The workflow reflects specific simulation assumptions, including staged restrained equilibration and membrane-oriented restraint setup, so users should review the generated input files before adopting them in a different context.
Focused pull requests are preferred. The most useful contributions are bug fixes, clearer usage notes, portability improvements, and workflow clarifications that preserve the repository’s lightweight scripting focus.
If this repository contributes to published work, please cite the repository and the version used.
This project is released under the MIT License. See LICENSE for details.
For questions or adaptation to related workflows, see the repository owner profile: https://github.com/fr-0zt