 
 
 
 
 
   
In this section, you will analyze the extent to which your system has equilibrated using what is known as the Root Mean Square Deviation, or RMSD. The RMSD characterizes the amount by which a given selection of your molecule deviates from a defined position in space. You will use the output files from your minimization and equilibration of ubiquitin in a water sphere to calculate RMSD values and analyze the extent of equilibration of the simulation. RMSD values will be calculated for all atoms of the protein backbone (without hydrogens) for the entire protein and for the protein excluding the last five residues.
Your minimization-equilibration simulation generated a trajectory for the system called ubq_ws_eq.dcd. That trajectory is key to calculating the RMSD of the protein over the course of the equilibration. The simulation was performed in a so-called NVT ensemble in which the number of particles, N, the volume, V, and the temperature, T, are kept constant.
VMD includes many analysis tools. One of these, the NAMD Plot plugin, may be used to plot output from NAMD log files. This VMD plugin uses the program namdplot, which gets the relevant data from the log files for values of energies, temperature, etc. over time. VMD then uses an internal plotting program to plot the data for you.
 
 Programs
 Programs  VMD.
 VMD. 
 Analysis
 Analysis  NAMD Plot in the VMD Main window.
 NAMD Plot in the VMD Main window. 
 Select NAMD Log File, select the file ubq_ws_eq.log and click Open. Be sure you are in the 1-2-sphere directory.
 Select NAMD Log File, select the file ubq_ws_eq.log and click Open. Be sure you are in the 1-2-sphere directory. 
 Plot Selected Data. This will get all the temperature data from the log file and plot it over time.
 Plot Selected Data. This will get all the temperature data from the log file and plot it over time. 
The thermodynamic variables that you checked above tell you about the thermodynamic state of the whole system. But you would also like to know if your protein is conformationally stable. For this, you will calculate the RMSD of the protein backbone. This will give you an idea of the stability of the protein. If the RMSD is still increasing at the end of the run, it means your protein is still searching for a lower energy state, and thus is not yet equilibrated!
 
You will use VMD to calculate RMSD values:
 New Molecule... in the VMD Main window.  Click the Browse button in the Molecule File Browser window.  Find ubq_ws.psf in the common directory, and double click on it. Then click Load.
 New Molecule... in the VMD Main window.  Click the Browse button in the Molecule File Browser window.  Find ubq_ws.psf in the common directory, and double click on it. Then click Load. 
| set outfile [open rmsd.dat w] | ||||
| set nf [molinfo top get numframes] | ||||
| set frame0 [atomselect top "protein and backbone and noh" frame 0] | ||||
| set sel [atomselect top "protein and backbone and noh"] | ||||
| # rmsd calculation loop | ||||
| for { set i 1 } { $i  $nf } { incr i } { | ||||
| 
 | ||||
| } | ||||
| close $outfile | 
| set outfile [open rmsd.dat w] | 
| set nf [molinfo top get numframes] | 
| set frame0 [atomselect top "protein and backbone and noh" frame 0] | 
| set sel [atomselect top "protein and backbone and noh"] | 
| # rmsd calculation loop | 
| for { set i 1 } { $i  $nf } { incr i } { | 
| $sel frame $i | 
| $sel move [measure fit $sel $frame0] | 
| puts $outfile "[measure rmsd $sel $frame0]" | 
You can use the script for the system to test for equilibration.
 Tk Console in the VMD Main window.  In the TkCon window, type source rmsd.tcl. This will perform all the commands in the script. The script will write a file rmsd.dat that will contain the value of the RMSD of the protein backbone against time.
 Tk Console in the VMD Main window.  In the TkCon window, type source rmsd.tcl. This will perform all the commands in the script. The script will write a file rmsd.dat that will contain the value of the RMSD of the protein backbone against time. 
Outside of VMD, you can use a plotting program to see this data. Examples of these are gnuplot, xmgrace, Microsoft Excel, Mathematica, and scilab.
We will use Microsoft Excel to plot the values in the file rmsd.dat.
 Programs and finding your version of Excel.
 Programs and finding your version of Excel. 
 Open
 Open , navigate to the directory 1-2-sphere, and choose the file rmsd.dat. Make sure the dropdown menu Files of type is set to All Files.
, navigate to the directory 1-2-sphere, and choose the file rmsd.dat. Make sure the dropdown menu Files of type is set to All Files.
 
 Chart
 Chart , choosing XY (Scatter) as your Chart Type, selecting the lower-right Chart sub-type, and clicking Next.
, choosing XY (Scatter) as your Chart Type, selecting the lower-right Chart sub-type, and clicking Next. 
| Chart Title: Ubiquitin RMSD | |
| Value (X) Axis: Time (ps) | |
| Value (Y) Axis: RMSD (A) | 
The curve does not reveal very much information because of short runtime and infrequent writing of the dcd file. Figure 8 shows a more typical RMSD plot for an equilibrated system along with the plot you have generated. Can you see the first RMSD curve flattening? This means the system is equilibrated.
| ![\begin{figure}\begin{center}
\par
\par
\latex{
\includegraphics[scale=0.5]{pictures/tut_unit01_rmsdwin}
}
\end{center}
\end{figure}](img65.png) | 
The last five residues are relatively unstable compared to the rest of the protein. How do you think the RMSD should differ in this case than with the entire protein?
 Programs
 Programs  Accessories
 Accessories  WordPad. Note that when you try to open the file, the dropdown menu Files of type should be set to All Files.
 WordPad. Note that when you try to open the file, the dropdown menu Files of type should be set to All Files. 
| Line 1: open rmsd.dat w |  | open rmsd_5.dat w | 
| Line 3: ...and noh" |  | ...and noh and not (resid 72 to 76)" | 
| Line 4: ...and noh" |  | ...and noh and not (resid 72 to 76)" | 
 Save and then clicking File
 Save and then clicking File  Exit.
 Exit. 
 Delete Molecule.
 Delete Molecule. 
 
 
 
 
