Chimera Commands Index

The select command has been enhanced in Chimera and now has dual functions. The older function is activation of models for motion directed by commands or the mouse. The newer function is selection.

Activation for Motion

select [ all | model_number(s) ]

~select [ all | model_number(s) ]

The older function of select, indicated by the all keyword or a model_number(s) argument, is to select a model or models for subsequent move, rock, roll and turn commands as well as interactive mouse manipulations. In Chimera, this type of selection is more often called activation and should not be confused with selection (the newer function of select). The keyword all indicates that all models should be activated. ~Select all will then revert to the previous activation state. This feature is convenient for switching back and forth between moving models relative to one another and global motion of all models. The model_number(s) argument should be expressed as one or more model numbers or ranges of model numbers separated by commas, not preceded by #. The activation status of models can also be controlled in the Model Panel or by toggling the boxes under the Command Line.


select 1,5-8
- activate models 1 and 5 through 8 for motion


select atom-spec

~select atom-spec

select [ up | down | invert | invert sel ]

The newer function of select, indicated by an atom-spec argument or certain keywords, is selection. Lack of any argument is interpreted as specification of all atoms. The effect of "select atom-spec" on an existing selection depends on the selection mode. ~Select removes the specified atoms from the selection regardless of selection mode.

Keyword arguments:

select #1
- select all atoms and bonds in model 1
~select :/isHelix
- deselect any atoms in amino acid residues in helices

See also: arrow key shortcuts