ProteinMotion
Reference navigation
On this page

domain_motion

How a domain turns and shifts between two structures, after superposing on a fixed part.

python
from proteinmotion import domain_motion

Signature

python
domain_motion(source, target, moving, fixed=None, *, match=None)

Parameters

ParameterDefaultDescription
sourceRequiredStructure that defines the regions and the frame of the result.
targetRequiredSecond structure of the same protein.
movingRequiredRegion of the source whose motion is measured.
fixedNoneRegion of the source used to superpose the target; None uses all matched trace atoms.
matchkeyword onlyNoneStructureMatch to reuse; None calls match_structures().

Returns: DomainMotion

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.