Difference between revisions of "Angle between domains"

From PyMOLWiki
Jump to: navigation, search
(created)
 
(see also)
 
Line 1: Line 1:
[[Category:Structural_Biology_Scripts]]
 
 
 
{{Infobox script-repo
 
{{Infobox script-repo
 
|type      = module
 
|type      = module
Line 49: Line 47:
 
* [[AngleBetweenHelices]]
 
* [[AngleBetweenHelices]]
 
* [[align]], [[super]], [[cealign]]
 
* [[align]], [[super]], [[cealign]]
* https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg10995.html
+
* [https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg10995.html pymol-users 01 Nov 2012]
* https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg13015.html
+
* [https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg13015.html pymol-users 13 Jan 2015]
 +
* [[elbow_angle]]
 +
* [[RotationAxis]]
 +
 
 +
[[Category:Structural_Biology_Scripts]]

Latest revision as of 10:01, 21 December 2016

Type Python Module
Download orientation.py
Author(s) Thomas Holder
License BSD-2-Clause

Included in psico
This command or function is available from psico, which is a PyMOL extension.

Module psico.orientation

angle_between_domains calculates the rotation and displacement that would happen when aligning two atom selections. The typical use case is for two conformations of a multi-domain structure, which is first aligned on domain 1 (e.g. chain A), and then angle_between_domains is calculated for domain 2 (e.g. chain B).

Usage

angle_between_domains selection1, selection2 [, method
    [, state1 [, state2 [, visualize ]]]]

Arguments

  • selection1 = str: atom selection in conformation 1
  • selection2 = str: atom selection in conformation 2
  • method = str: alignment command like "align", "super" or "cealign" {default: align}

Example

# import the "angle_between_domains" command
run https://raw.githubusercontent.com/speleo3/pymol-psico/master/psico/orientation.py

# two conformations of a two-chain structure
fetch 1ake, s1, async=0
fetch 4ake, s2, async=0

# align on chain A
align s1 & chain A, s2 & chain A

# measure rotation and displacement of chain B
angle_between_domains s1 & chain B, s2 & chain B

For 1ake and 4ake, this reports:

Angle: 15.55 deg, Displacement: 56.08 angstrom

See also