ChimeraX docs icon

Command: torsion

Usage:
torsion  atom-spec  [ angle ] [ move  large | small ]

The torsion command sets the angle defined by the four specified atoms to angle in degrees, or if angle is omitted, reports the current value in the Log. A centroid or marker can be specified as an atom. For changing the angle, the two middle atoms must be covalently bonded to one another. The move option specifies whether to move the large or small side of the bond (default small, the side with fewer atoms).

For rotating bonds interactively, see the Adjust Torsions section of Build Structure and/or the bond rotation mouse mode .

For measuring or changing valence angles defined by three atoms, see the angle command and/or the Angles/Torsions and Adjust Angles sections of Build Structure. See also: build, bond, turn, swapaa, swapna, altlocs, measurements, making movies

For example, the following commands measure a ψ angle and set it to 120°, respectively:

torsion /a:11@n,ca,c:12@n
torsion /a:11@n,ca,c:12@n 120

UCSF Resource for Biocomputing, Visualization, and Informatics / April 2023