The resfit command animates showing the fit of residues along a chain within a corresponding density map, using a slider interface. See also: volume, fitmap, vseries, making movies
resfit /b:10-38 map #4
resfit #1/d map #3 res -2,2 motion 50 pause 100
Some or all of the residues in a single chain of an atomic model should be specified, along with the corresponding map model.
In the resulting slider interface, the slider can be dragged, a Residue number entered directly, or the play/pause button pressed to cycle through the residues continuously. Each residue is oriented and centered in the view, in turn. The residueRange option indicates how many flanking residues should be shown along with the featured residue (default -2,1, two residues before and one after), and map isosurface display is limited to a zone around the displayed atoms. Display styles and volume isosurface level are not affected by resfit and can be adjusted separately, e.g., with style and volume or the Volume Viewer tool.
During continuous playback, motionFrames M image update frames (default 50) are used to move from one residue to the next, and pauseFrames P (default 50) to stay on the view for each residue. The slider interface also includes a button (red dot) for recording a movie. The movieFramerate fps of a movie recorded with that button defaults to 25 frames/s.
A 2D label named resfit with the current residue name and number is displayed in the upper right corner of the main window; its color, size, etc. can be changed with the 2dlabels command.