next up previous contents index
Next: Hot Keys Up: Using the Mouse in Previous: Mouse Modes   Contents   Index

Subsections


Pick Item Mode

The mouse can also be used to select things from the screen. As with many molecular graphics programs, an atom can be picked by moving the cursor over it and clicking the left mouse button. When an atom is picked for the first time, a text label appears which shows the atom residue name and number, and the atom name. Clicking on the atom again turns the label off.

Picking atoms with the mouse is used to turn on or off various types of labels, to query for information about an object, or to move items around on the screen. You can label an atom (and display the atom name), or you can label geometric values such as the distance between two atoms (a bond label), an angle between three atoms (an angle label), or the dihedral angle formed by four atoms (a dihedral label). This is done by setting the mouse into the proper picking mode and then selecting the relevant atoms with the mouse.

You first select the proper picking mode by using the Mouse form, and choosing the mode required to perform the desired action. The available actions when in pick item mode are:

When a label is added to a molecule (say, for a bond, or just to show the name of an atom), a new entry will be added to the list of current labels which is available via the Labels form. These controls also contain options to turn the labels on or off, or to delete them entirely from memory.


Fit Submenu

When one has two similar structures, one often wants to compare them. What's the difference between two X-ray structures? How much did the structure change during a simulation? To answer these questions, you must first figure out how to compare two structures, which usually means that you must find the root mean square deviation (RMSD).

Formally, given $N$ atom positions from structure $x$ and the corresponding $N$ atoms from structure $y$ with a weighting factor \(w\left(i\right)\), the RMSD is defined as:

\(
RMSD\left(N; x,y\right) = {\left[\frac {\sum_{i=1}^N
w_i {\parallel x_i - y_i \parallel}^2}
{N \sum_{i=1}^N w_i}\right]}^{\frac {1}{2}}
\)

Using this equation by itself probably won't give you the answer you are looking for. Imagine two identical structures offset by some distance. The RMSD should be 0, but the offset prevents that from happening. What you really want is the minimum RMSD between two given structures; the best fit. There are many ways to do this, but for VMD we have implemented the method of Kabsch (Acta Cryst. (1978) A34, 827-828 or see file Measure.C in the VMD source code). This algorithm computes the transformation, needed to move one structure onto another in order to minimize the RMSD.

With the mathematical prerequisites behind us, we still need to be able to specify how to choose the atoms to compare. If you want to compare all the atoms in both structures, and they both have the same number of atoms, then the problem is easy - $N$ is everything. This occurs most often in MD simulations when the only thing different between two structures are the coordinates.

But what about homologous sequences? In this case, the number of atoms differ because while the number of residues is the same, the sidechains have different numbers of atoms. The usual solution is to determine the RMSD based solely on the backbone atoms or, in some X-ray structures where only the $C_{\alpha}$ atoms have been determined, based on the $C_{\alpha}$ atoms. In addition, VMD allows two other methods for fitting. Fitting by heavy atoms omits the hydrogens, since their positions are often not well determined. Fitting by ``picked atoms'' performs only a translation to bring one atom directly on top of another molecule.

Hopefully the previous discussion revealed the importance of the options available in the fit submenu. Before examining each of them in turn, you should be aware of some VMD definitions. In VMD, a ``molecule'' refers to all the atoms from a structure file. The file may contain multiple molecules under standard chemical usage, but VMD still thinks of them as one molecule. Instead, those individual parts are called ``fragments,'' for lack of a better term. With this said, the fit options in the submenu include:


next up previous contents index
Next: Hot Keys Up: Using the Mouse in Previous: Mouse Modes   Contents   Index
vmd@ks.uiuc.edu