[Chimera-users] Selection Mode via command line?
meng at cgl.ucsf.edu
Fri Oct 31 12:42:55 PDT 2014
Actually there isn’t a way to change the mode with a command. Generally you can still select what you want without changing the mode, because in command-line atomspecs, “&” (ampersand) is for intersection and “|” (vertical bar) is for union. I can see that it might be less convenient if you have lots of sets of atoms to combine, however. Example:
select ligand | :25-28
… would select both ligand and residues 25-28. Often in commands you don’t bother going through selection because you can specify the target atoms directly, for example:
color red,a ligand | :25-28
I don’t know if this would help, but you can show an icon for easy mode-switching using menu: Select… Selection Mode… Show mode icon. This icon appears next to the lightning-bolt icon for Rapid Access, and it both shows which mode you are in and allows toggling amongst the modes.
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
On Oct 31, 2014, at 11:56 AM, Korbin West <khwest16 at wabash.edu> wrote:
> I was wondering if there was a way to switch selection modes via the command line. I've been looking through the select command page on the user guide and can't figure a way to change the mode this way. Can anyone give me a tip?
> Thanks so much,
> Korbin West
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
More information about the Chimera-users