# Anisotropic Network Model (ANM) Tutorial¶

ANM calculations are carried out in the same way as GNM calculations except that the ANM uses the Hessian matrix rather than the Kirchhoff matrix. There are also additional analysis options arising from the modes being 3D, such as visualization thereof in VMD using the normal mode wizard (NMWiz) and the comparison of ANM modes with the transition vectors between experimental structures.

First we parse a structure from the PDB. We will use the open structure of adenylate kinase and also parse the closed structure for comparison afterwards.

Next, we instantiate an object of ANM class for the open structure.

We then build the Hessian matrix and calculate normal modes.

## ANM modes, mean square fluctuations and cross-correlations¶

We can show mode shapes, square fluctuations, and cross-correlations as we did with GNM. Let's start with the first nonzero mode:

If we want to calculate mean square fluctuations using computed modes, then we do not need to select any specific mode.

## Visualization the ANM modes in VMD¶

ANM modes can be visualized with the VMD plugin NMWizard. This plugin can be found by navigating from VMD Main menu --> Analysis --> Normal Mode Wizard.

In order to visualize the ANM modes in NMWizard, we need to write them into a .nmd file using the method writeNMD.

However, before saving them in .nmd format, let's extend the ANM model based on $C^\alpha$-atoms to all heavy atoms by the method extendModel.

## Visualization of the structures in VMD¶

First we will align the open and closed structures before visualizing them together in VMD. Since the chains of these two structures match, we do not need to find the mathcing atoms in these chains. Let's first look at the RMSD between the resolved structures.

Alignment of the closed structure onto the open one can be easily done using the function superpose :

RMSD between these structures is minimized after this alignment as we will see below:

## Deformation analysis and the comparison with ANM modes¶

We can easily calculate the deformation vector describing the change between two structures of the protein AKE, and then systematically compare it with ANM modes. Because the chains of these structures match and we have already aligned them, it is straightforward to calculate the deformation vector using calcDeformVector .

We then show the overlap or correlation cosine between the ANM modes and the deformation vector. The cumulative overlap is the square root of the sum of squared overlaps.

We observe that the first nonzero mode in the above figure, whose index is 0, overlaps best with the transition described by the deformation vector. Therefore, we can use this mode to generate a trajectory by the method traverseMode. This takes steps in both directions starting from the provided structure to generate conformers along the mode chosen.

Let's first generate a trajectory along this mode based on $C^\alpha$ atoms, and then calculate RMSD between the last conformer in the trajectory and the closed structure to see how close we can get to the latter. Remember RMSD between aligned structures is 7.13 $\mathring{A}$.

Let's generate a similar trajectory for all atom this time by using the previously generated all-atom ANM model, anm_open_aa. The next step is to use traverseMode again to generate conformers along the extended mode.

We can now visualize it in VMD.