Visual Molecular Dynamics can display, animate, and analyze large biomolecular systems using 3-D graphics and built-in scripting.
Again, we are going to use only a small subset of VMD's powers here. You are very welcome to dig deeper in the nice VMD tutorial.
Starting VMD
vmd # start vmd vmd pos.xyz # start vmd and load position file 'pos.xyz' vmd -e view.vmd # start vmd and load previously saved visualization state 'view.vmd'
VMD does have a graphical user interface (yay!), although knowing how to use the scripting console is also advisable. Some common tasks are:
.bmp
): File → Render.. → Snapshot. .bmp
in the desired directory.We are going to start by creating a visual representation of the protein rubredoxin.
4RXN
.
Now we are ready to analyze a molecular dynamics trajectory.
The file nacl.xyz
in the intro
folder contains the trajectory of a MD simulation of $\text{NaCl}$ in water, which naturally was performed under periodic boundary conditions.
For simulations with periodic boundary conditions it is often helpful to draw the simulation box. In VMD this is achieved by typing the following (for a cubic simulation cell with 10 angstroms side length) on the terminal
pbc set {10 10 10} -all pbc box
nacl.vmd
. Describe the mathematical transformation that has been applied here.