Skip to main content

Analysis of spin label distances over structural ensembles

Project description

This package contains the MTSL rotamer library R1A_298K provided by Gunnar Jeschke, which is also published under the GPL with his permission.


This package analyses molecular dynamics trajectories or conformational ensembles in terms of spin-label distances as probed in double electron-electron resonance (DEER) experiments. The spin labels are fitted on trajectories and the spin label mobility is taken into account using a rotamer library.


Double electron electron spin resonance (DEER) is an EPR technique for measuring distances between two spin labels that have been covalently attached to a protein. Two cysteine residues are introduced into the protein and subsequently labelled. The positions are chosen to report on the expected conformational change. A commonly used spin label is (1-oxyl-2,2,5,5-tetramethylpyrroline-3-methyl)-methanethiosulfonate (MTSL). MTSL has a linker with five rotatable bonds and is therefore very flexible. The distance distributions between the two spin labels measured by experiments are typically broad and often multi-modal. The distributions are therefore a convolution of the flexibility of the MTSL spin label and the conformational spread of the proteins in the sample. To ensure that we compared like with like we developed a method that

  1. maps rotamer libraries of the MTSL spin label onto each position,
  2. discards those rotamers that sterically clash with the protein (typically distances <2 Å) and
  3. calculates all (weighted) distance pairs between the remaining rotamers and
  4. thereby estimates a distance distribution for that structure.

The code was written in Python using the MDAnalysis library [Michaud-Agrawal2011] and a published rotamer library for MTSL [Polyhach2011]. It is available for download from the MDAnalysis website, .

Our approach improves upon the existing method [Polyhach2011] by increasing computational efficiency and implementing, via the MDAnalysis library, analysis of ensembles of hundreds of structures, which allowed us to estimate distance distributions for entire simulation trajectories.

Examples of the application of this approach can be found in [Stelzl2014].


Typically, install the package with

python install --user

(see also the file INSTALL.rst)

This will automatically install MDAnalysis and other dependencies. If problems arise, try installing MDAnalysis first (see for help).

Analysis is performed with the script, which will have been installed in your bin directory. You might have to add the bin directory to your PATH. Consult your Python documentation for the details although often this will be ~/.local/bin (for a --user installation or /usr/local/bin for site-wide installation).


Analysis is performed with the script It takes as input

  • a topology or structure file (PSF, GRO, PDB, … any topology format recognized by MDAnalysis)
  • a trajectory (DCD, XTC, TRR, … any trajectory format that MDAnalysis can read)

A typical invocation: --resid 47 330  --histogramBins 0 80 1  --clashDistance 2.2  \
       --output "dat/peptso-xrd"  --dcdfilename "dcd/peptso-xrd-47-330" \
       peptso.gro peptso.xtc

It loads the MD trajectory from the topology peptso.gro and the trajectory peptso.xtc. The --resid pair is required and denotes the residue numbers (in the topology) to which the MTSSL spin labels would be attached. Rotamers that overlap with protein atoms as measured by an atom-atom distance smaller than the --clashDistance will be discarded and not counted in the distance calculations. For further explanations see the --help option.

For an example, see doc/example in the source distribution. The example can also be run to test the installation as reference output is provided.


If you have questions or problems installing the package then ask on the MDAnalysis user mailing list:


[Michaud-Agrawal2011]N. Michaud-Agrawal, E. J. Denning, T. B. Woolf, and O. Beckstein. MDAnalysis: A toolkit for the analysis of molecular dynamics simulations. J Comp Chem, 32:2319-2327, 2011. doi:10.1002/jcc.21787.
[Polyhach2011](1, 2) Y. Polyhach, E. Bordignon, and G. Jeschke. Rotamer libraries of spin labelled cysteines for protein studies. Phys. Chem. Chem. Phys., 13:2356-2366, 2011. doi: 10.1039/C0CP01865A.
[Stelzl2014]L. S. Stelz, P. W. Fowler, M. S. P. Sansom, and O. Beckstein. Flexible gates generate occluded intermediates in the transport cycle of LacY. J Mol Biol, 426:735-751, 2013. doi: 10.1016/j.jmb.2013.10.024

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
RotamerConvolveMD-1.2.0-py2.7.egg (87.4 kB) Copy SHA256 hash SHA256 Egg 2.7 May 25, 2016
RotamerConvolveMD-1.2.0-py2-none-any.whl (82.3 kB) Copy SHA256 hash SHA256 Wheel 2.7 May 25, 2016
RotamerConvolveMD-1.2.0.tar.gz (984.0 kB) Copy SHA256 hash SHA256 Source None May 25, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page