aligns the principal components of the atoms in the selection with the XYZ axes. The function is similar to the orient command in X-PLOR.
orient object-or-selection [, state]
cmd.orient( string object-or-selection [, state = 0] )
state = 0 (default) use all coordinate states
state = -1 use only coordinates for the current state
state > 0 use coordinates for a specific state
For models with NCS symmetry, orient will align the model with the symmetry axis centered along the viewport's z axis. For example,
fetch 1hiw, async=0
remove (!chain A,B,C)
will produce the first image below. However, if there is a larger symmetry, e.g. two trimers, this will not work. In the above example, leaving out
remove (!chain A,B,C) from the script results in the second image below.
Image:1hiw orient.png|One trimer from 1hiw after "orient" ..→