Commands

The following are commands entered into Chimera's Command Line. Each command (but not its keywords, unless explicitly indicated) may be shortened to a unique prefix. Many commands act upon specified atoms. Past commands can be accessed using the Command History. Multiple commands can be placed in a file.

+ significantly enhanced in Chimera relative to MidasPlus
U UNIX only (not on Windows)
C Chimera only (not available in MidasPlus)

acC - enable the use of accelerators (keyboard shortcuts)
alias - create an alias or list existing aliases
align - align two atoms along the line of sight
angle - measure a bond angle or torsion angle
brotation - make a bond rotatable
cd - change the working directory
center - center the view on specified atoms
chain - chain specified atoms, undisplay the others
clip - move clipping planes
close - close a model
cofr - report or change the center of rotation
color+ - color atoms/bonds, labels, and surfaces
colordef - define a new color
conicU - create a static space-filling rendering with shadows
copy+ - save or print the displayed image
delete - delete atoms and bonds
display - display and undisplay atoms
distance - measure the distance between two atoms
echo - send text to the Reply Log
focusC - adjust the view and center of rotation to the displayed and specified atoms
freeze - stop all motion
getcrd - report untransformed coordinates
help - display the manual page for a command
ksdssp - determine secondary structure from protein coordinates
label - display and undisplay labels
labeloptC - control the information in labels
linewidthC - control the width of lines in the wireframe representation
load - restore a saved Chimera session
longbond - find and remove excessively long bonds
match - superimpose two models by a least-squares fit of specified atoms
matrixcopy - apply the transformation matrix of one model to another
modelcolorC - set color at the model level
modeldisplayC - set display at the model level
move - translate along the X, Y, or Z axis
msmsC - (see surfcat/surfrepr)
neonU - create a static space-filling or stick rendering with shadows
objdisplay - display and undisplay VRML models
open+ - open structures or data for display or execute a command file
pdbrun - send an annotated PDB file of the current display to the system shell
push/pop - push or pop images on the picture stack
rainbow - color in gradations over a range (default blue to red)
read - execute a command file, only updating the display at the end
representC - control the representation of atoms and bonds (wire, stick, ball-and-stick, or sphere)
reset - restore default or saved orientations
ribbackboneC - allow ribbon and all backbone atoms to be displayed simultaneously for residues within a model
ribbonC - display a secondary structure ribbon
ribbonjrU - create a static ribbon rendering
ribcolorC - set ribbon color
ribreprC - control the ribbon representation (flat, sharp, or smooth)
rock - rock back and forth about the X, Y, or Z axis
roll - rotate about the X, Y, or Z axis
rotation - make a bond rotatable
save - save the current Chimera session
savepos - save the current orientations
scale - scale the view
section - move the clipping planes in parallel
select+ - activate models for motion or select atoms for further operations
set/unset - set options
show - display specified atoms, undisplay the others
sleep - suspend command processing for a specified length of time
source - execute a command file, updating the view continually
stereo - switch amongst stereo options and mono viewing
stop - exit from Chimera
surface+ - calculate and display molecular surface
surfcat/surfreprC - create molecular surface categories and control the surface representation
surfcolorC - set whether surface color is determined at the atom or model level
swapaa - mutate amino acid residues
swapna - mutate nucleic acid residues
system - send a command to the system shell
tcolorC - color atoms/bonds, labels, and surfaces with a texture color
textureC - define texture maps and associated colors
thickness - move the clipping planes in opposite directions
turn - rotate about the X, Y, or Z axis
vdw - display van der Waals (VDW) dot surface
vdwdefineC - set VDW radii
vdwdensityC - set VDW surface dot density
version - show copyright information and which version of Chimera is being used
wait - suspend command processing a specified number of frames or until motion has stopped
window - adjust the view to contain the displayed and specified atoms
write - save a molecule model as a PDB file

Files of commands can be created manually or saved from the Command History. Comments are indicated by # at the beginning of the line. A command file can be executed:

Of the Midas commands unsupported by Chimera, some may be implemented in the future; others have been rendered obsolete or replaced by other functionality.