Helix analysis

We look at protein helices with HELANAL.

Last executed: Dec 27, 2020 with MDAnalysis 2.0.0-dev0

Last updated: March 2020

Minimum version of MDAnalysis: 2.0.0

Packages required:

Optional packages for visualisation:

Note

MDAnalysis.analysis.helix_analysis.HELANAL implements the HELANAL algorithm from [BKV00], which itself uses the method of [sugeta_general_1967] to characterise each local axis. Please cite them when using this module in published work.

[10]:
import MDAnalysis as mda
from MDAnalysis.tests.datafiles import PSF, DCD
from MDAnalysis.analysis import helix_analysis as hel
import matplotlib.pyplot as plt
import nglview as nv
%matplotlib inline

Loading files

The test files we will be working with here feature adenylate kinase (AdK), a phosophotransferase enzyme. ([BDPW09])

[11]:
u = mda.Universe(PSF, DCD)

Helix analysis

HELANAL can be used to characterize the geometry of helices with at least 9 residues. The geometry of an alpha helix is characterized by computing local helix axes and local helix origins for four contiguous C-alpha atoms, using the procedure of Sugeta and Miyazawa ([sugeta_general_1967]) and sliding this window over the length of the helix in steps of one C-alpha atom.

HELANAL computes a number of properties.

local properties

For each sliding window, it calculates:

  • local_rotation_vectors: the vectors bisecting the angles of the middle 2 atoms

  • local_origins: the projected origins of the helix

  • local_twists: the twist of each window (\(\theta\))

  • residues_per_turn: how many residues would fit in a turn, based on local_twist

  • local_axes: the axis of each local helix

  • local_heights: the rise of each helix

HELANAL calculates the bends between each local_axes and fits the vector global_axes to the local_origins.

local axes

all_bends contains the angles between every local_axes (\(\alpha\)) in a pairwise matrix, whereas local_bends contains the angles between local_axes that are calculated 3 windows apart (\(\beta\)). The global_tilts (\(\gamma\)) are calculated as the angle between the global_axes and the user-given reference ref_axis.

screw angles

Finally, local_screw angles are computed between the local_rotation_vectors and the normal plane of the global_axes.

Running the analysis

As with most other analysis classes in MDAnalysis, pass in the universe and selection that you would to like to operate on. The default reference axis is the z-axis. You can also pass in a list of selection strings to run HELANAL on multiple helices at once.

[12]:
h = hel.HELANAL(u, select='name CA and resnum 161-187',
                ref_axis=[0, 0, 1]).run()

The properties described above are stored as attributes in h. For example, the all_bends matrix contains the bends in a (n_frames, n_residues-3, n_residues-3) array.

[13]:
h.all_bends.shape
[13]:
(98, 24, 24)

Each property is also summarised with a mean value, the sample standard deviation, and the average deviation from the mean.

[14]:
h.summary.keys()
[14]:
dict_keys(['local_twists', 'local_bends', 'local_heights', 'local_nres_per_turn', 'local_origins', 'local_axes', 'local_helix_directions', 'local_screw_angles', 'global_axis', 'global_tilts', 'all_bends'])
[15]:
h.summary['global_tilts']
[15]:
{'mean': 86.12100441254297,
 'sample_sd': 2.0108377345768065,
 'abs_dev': 1.7152381351099988}

As the data is stored as arrays, it can easily be plotted.

[16]:
plt.plot(h.local_twists.mean(axis=1))
plt.xlabel('Frame')
plt.ylabel('Average twist (degrees)');
../../../_images/examples_analysis_structure_helanal_13_0.png

You can also create a Universe from the local_origins if you would like to save it as a file and visualise it in programs such as VMD.

[17]:
origins = h.universe_from_origins()
[18]:
view = nv.show_mdanalysis(h.atomgroups[0])
view.add_trajectory(origins)
view

References

[1] M. Bansal, S. Kumar, and R. Velavan. HELANAL: a program to characterize helix geometry in proteins. Journal of Biomolecular Structure & Dynamics, 17(5):811–819, April 2000. 00175. doi:10.1080/07391102.2000.10506570.

[2] Oliver Beckstein, Elizabeth J. Denning, Juan R. Perilla, and Thomas B. Woolf. Zipping and Unzipping of Adenylate Kinase: Atomistic Insights into the Ensemble of Open↔Closed Transitions. Journal of Molecular Biology, 394(1):160–176, November 2009. 00107. URL: https://linkinghub.elsevier.com/retrieve/pii/S0022283609011164, doi:10.1016/j.jmb.2009.09.009.

[3] Richard J. Gowers, Max Linke, Jonathan Barnoud, Tyler J. E. Reddy, Manuel N. Melo, Sean L. Seyler, Jan Domański, David L. Dotson, Sébastien Buchoux, Ian M. Kenney, and Oliver Beckstein. MDAnalysis: A Python Package for the Rapid Analysis of Molecular Dynamics Simulations. Proceedings of the 15th Python in Science Conference, pages 98–105, 2016. 00152. URL: https://conference.scipy.org/proceedings/scipy2016/oliver_beckstein.html, doi:10.25080/Majora-629e541a-00e.

[4] Naveen Michaud-Agrawal, Elizabeth J. Denning, Thomas B. Woolf, and Oliver Beckstein. MDAnalysis: A toolkit for the analysis of molecular dynamics simulations. Journal of Computational Chemistry, 32(10):2319–2327, July 2011. 00778. URL: http://doi.wiley.com/10.1002/jcc.21787, doi:10.1002/jcc.21787.