The scripts
directory contains Bash scripts used to run simulations and analyze data output using Packmol, Gromacs, and Plumed command line interface tools.
The main simulation pipeline is generated using the run
script.
New users should start by running the run
script with the -h
flag to see the available options.
For further information, please read through the comments in that script.
We will briefly describe the main simulation pipeline scripts below.
This directory contains Bash scripts that are used to set up and run Gromacs simulations. They form general-purpose wrapper scripts for Gromacs command line tools and are used by the main simulation pipeline scripts. Scripts can be used independently of the main simulation pipeline scripts, but do require many environment variables to be set.
gmx_analysis
: Bash script for analyzing Gromacs simulation output. Thermodynamic, mechanical, and structural properties are calculated using Gromacs tools and generate.xvg
files. The.xvg
files are converted to.png
files usingxmgrace
tools. Water is removed from the system trajectory and coordinates are unwrapped about the polyelectrolyte chains. Finally, all created files are moved into aanalysis
directory.gmx_mdrun
: Bash script for running Gromacsmdrun
. The script merely specifies the Gromacs command line options, prepares an input.tpr
file withgrompp
, and runs the simulation usinggmx mdrun
.gmx_mdrun_pipeline
: Bash script for running a pipeline for an individualmdrun
command. The script copies input files to a new directory, runsgmx_mdrun
, analyzes output withgmx_analysis
, and organizes output files. This is the main script used by the main simulation pipeline scripts.gmx_pdb_import
: Bash script for importing a.pdb
file into a Gromacs simulation usingpdb2gmx
. The structure is added into an empty simulation box, an index file is generated, and the structure is energy minimized in the absence of electrostatic interactions. This script is called bysystem_preparation
to prepare the initial structure for a simulation.gmx_sol_ion
: Bash script for adding water and ions to a Gromacs simulation usinggenion
. This script is called bysystem_preparation
to solvate the polyelectrolyte structure and add ions to a desired ionic strength.
This directory contains Bash scripts that are used to set up Gromacs simulations.
System initialization and equilibration are performed using the scripts in this directory.
These scripts are called first in the main simulation pipeline script, run
.
system_preparation
: Bash script for preparing a Gromacs simulation from atom.pdb
files and Gromacs format force-field directories. After system preparation, the system is energy minimized before moving to equilibrationmdrun
commands.equilibration
: Bash script for performing equilibration of a Gromacs simulation.
This directory contains Bash scripts that are used to run Gromacs production simulations.
The scripts take as input a Gromacs simulation prepared by the scripts in the md-setup
directory.
The scripts in this directory sometimes perform basic analysis of the simulation output, but full data analysis and visualization is performed in a separate repository.
Each script is named for the type of simulation it performs and further information is provided in the comments of each script.