[Chimera-users] Selecting certain atoms with exception
Kelvin Lau
kelvin.lau at unige.ch
Tue Mar 14 12:47:06 PDT 2017
Thanks for the commands. The latter works great!
--
Kelvin Lau
Structural Plant Biology Laboratory
Department of Botany and Plant Biology
Science III
University of Geneva
30 Quai E. Ansermet
1211 Geneva
Switzerland
Email: kelvin.lau at unige.ch
Phone: +41 22 379 3026
_____________________________
From: Elaine Meng <meng at cgl.ucsf.edu>
Sent: Tuesday, March 14, 2017 17:21
Subject: Re: [Chimera-users] Selecting certain atoms with exception
To: Kelvin Lau <kelvin.lau at unige.ch>
Cc: <chimera-users at cgl.ucsf.edu>
Hi Kelvin,
You could do it in two commands, which may be easier conceptually:
select :trp
~sel :285
To do it in a single command, you’d use something like this (logical “and not”):
select :trp & ~ :285
I hope this helps,
Elaine
----------
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Mar 14, 2017, at 2:37 AM, Kelvin Lau <Kelvin.Lau at unige.ch> wrote:
>
> Dear Chimera users,
> I'm trying to do the following:
>
> -select all the atoms of a single residue (trp)
>
> -except for one (residue number 285)
>
> I am not sure how to use a negation command to leave out only 285. Any ideas?
> Cheers
> Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20170314/bc932900/attachment.html>
More information about the Chimera-users
mailing list