[Chimera-users] Detecting residue from command line

Elaine Meng meng at cgl.ucsf.edu
Fri Nov 30 10:42:10 PST 2007

Hi Francesco,
In the command line, ":" means residue number and the following "." 
indicates the chain ID.  You could select the residues with

select :0-521.water

if they are in the "water" chain, or use that same specification in 
many other commands, for example

color hot pink :0-521.water

Probably the most tricky thing is that :0-521 without specified chain 
ID would include residues in any chains with single-character IDs 
(A,B,C ...) but not the special chains "water" and "het"

Details on command-line atom specifications:

Elaine C. Meng, Ph.D.                          meng at cgl.ucsf.edu
UCSF Computer Graphics Lab and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Nov 30, 2007, at 9:51 AM, Francesco Pietra wrote:

> Sorry for a question that was surely answered many times.
> How to detect on the screen (from command line) residues from their 
> resSeq
> number?. I have two different sets of WAT: 522-9999 and 0-4759 and 
> want to
> check where 0-521 are located in a protein-ligand-POPC membrane.
> Thanks
> francesco pietra

More information about the Chimera-users mailing list