Solves the annoying issue with proteins not being centered in MD simuation boxes, also allows the user to shift the entire simulation box and calculate PBC vectors
- Download the
shift_solvent.tcl
script - Launched VMD and load the MD prepared structure
- load the script into vmd:
source shift_solvent.tcl
- Run the script with the molid as the argument i.e.
shift_solvent top
orshift_solvent 0
- Add to
vmdrc
to have it auto-load on start (optional)