Inertia tensor

From PyMOLWiki
Jump to navigation Jump to search
Type Python Module
Download inertia_tensor.py
Author(s) Mateusz Maciejewski
License MIT
This code has been put under version control in the project Pymol-script-repo
It.png

This script will draw the eigenvectors of the inertia tensor of the selected part of the molecule.

Usage

tensor selection, name, model

Examples

To draw the inertia tensor of the first model in PDB file 4B2R do:

fetch 4b2r, async=0
hide lines
show cartoon
run inertia_tensor.py
tensor 4b2r & n. n+ca+c & i. 569-623, tensor_dom11, 1

Reference

A figure generated using this script can be seen in the following reference:

  • Estimation of interdomain flexibility of N-terminus of factor H using residual dipolar couplings. Maciejewski M, Tjandra N, Barlow PN. Biochemistry. 50(38) 2011, p. 8138-49, fig. 1 doi:10.1021/bi200575b