(Note: These tutorials are meant to provide illustrative examples of how to use the AMBER software suite to carry out simulations that can be run on a simple workstation in a reasonable period of time. They do not necessarily provide the optimal choice of parameters or methods for the particular application area.)
Copyright Ross Walker 2005

TUTORIAL 9 - SECTION 6

Using VMD with AMBER

By Ross Walker

6) Visualising AMBER trajectories

Note: Unfortunately VMD cannot yet load compressed (gzipped) trajectory files so when you download the mdcrd.gz files I provide here you will have to unzip then using gunzip before loading them into VMD.

Lets start by loading some trajectory files covering the first 10ps of a Molecular Dynamics simulation of the TRPCage extended structure shown above. These simulations were run using Sander v8.0.

Here are the files you will need: TRPcage.prmtop (128 kb), heat1.mdcrd.gz (510 kb), heat2.mdcrd.gz (515 kb)

Start by decompressing the two trajectory files:

    >gunzip heat*.mdcrd.gz

If VMD is running quit it. This way we should be starting from the same point. Load vmd and browse for the TRPcage.prmtop file. Select parm7 and hit Load. Into this structure we will the two trajectory files on after the other. So, load the first one, browse for heat1.mdcrd and then choose "crd" as the type and hit load.

Note: there are two types related to amber trajectory (mdcrd) files. These are "crd" and "crdbox". The difference between the two concerns whether the trajectory file is from a gas phase/implicit solvent/solvent cap simulation (crd) or from a periodic simulation (crdbox). When Sander writes an mdcrd file from a simulation run with periodic boundaries it writes an extra 3 floating point numbers to the end of each frame, these are the box size. VMD is not smart enough to work out what type of trajectory file it is so we need to tell it. In this case we have an implicit solvent calculation so select "crd". You can often tell if you have selected the wrong format because things will look very weird, feel free to try it. If you do load a simulation that looks strange try deleting the molecule and reloading it selecting the other format:

Last frame of heat1.mdcrd loaded with "crd" Last frame of heat1.mdcrd loaded with "crdbox"

If it loads correctly you should see the TRPcage structure appear in the OpenGL window and start to move. Next click browse again and find heat2.mdcrd. Load this in the same way, you don't need to reload the prmtop file. Make sure TRPcage.prmtop is selected in the "Load files for:" box. This will append the frames in heat2 to the frames we have already loaded. In this way you can load a number of different trajectory sets into a single animation so that you can watch the full trajectory without interruption. You should now have 400 frames of TRPcage loaded. This covers 10ps of heating from 0K to 100K. Try replaying the trajectory. You can use the movie controls in the "VMD Main" window for this:


CLICK HERE TO GO TO SECTION 7


(Note: These tutorials are meant to provide illustrative examples of how to use the AMBER software suite to carry out simulations that can be run on a simple workstation in a reasonable period of time. They do not necessarily provide the optimal choice of parameters or methods for the particular application area.)
Copyright Ross Walker 2005