ProteinMotion
Reference navigation
On this page

DomainMotion

Rigid motion of a domain between two structures, as a screw in the source's model frame.

python
from proteinmotion import DomainMotion

Constructor

python
DomainMotion(angle: float, axis: np.ndarray, point: np.ndarray, translation: float)

Parameters

ParameterDefaultDescription
anglefloatRequiredRotation in degrees.
axisnp.ndarrayRequiredUnit rotation axis in the source's model frame.
pointnp.ndarrayRequiredPoint on the axis nearest the domain's center, in Å.
translationfloatRequiredShift along the axis in Å.

Attributes

NameDescription
angleRotation in degrees.
axisUnit rotation axis in the source's model frame.
pointPoint on the axis nearest the domain's center, in Å.
translationShift along the axis in Å.

Example and output

Run this command from a repository checkout.

Code Render command
bash
proteinmotion render examples/structure_morph.py AdenylateKinaseMorph \
  -o adenylate-kinase-morph.mp4 --fps 60
Output Preview · 17.2 s · 60 fps
Adenylate kinase closes

Open adenylate kinase (4AKE) closes around the inhibitor Ap5A (1AKE), superposed on the CORE. The LID turns 52° and the NMP-binding domain 45°; a ruler between them shortens from 43.7 Å to 19.1 Å, and Ap5A, present only in 1AKE, fades in.