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

Usage:
select [ all | model_number(s) ]

Usage:
~select [ all | model_number(s) ]

The original function of select, indicated by the all keyword or a model_number(s) argument, is to enable models to move in response to mouse manipulations or movement commands such as move and turn. In Chimera, this type of selection is more often called activation and should not be confused with selection (the newer function of select). The activation status of models can also be controlled in the Model Panel or by toggling the boxes under the Command Line.

The model_number(s) argument should be one or more model numbers or ranges separated by commas, not preceded by #. 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.

Examples:

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

See also: split, movie-related commands

Selection

Usage:
select atom-spec

Usage:
~select atom-spec

Usage:
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:

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

See also: namesel, arrow key shortcuts