
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@unige.ch Phone: +41 22 379 3026 _____________________________ From: Elaine Meng <meng@cgl.ucsf.edu> Sent: Tuesday, March 14, 2017 17:21 Subject: Re: [Chimera-users] Selecting certain atoms with exception To: Kelvin Lau <kelvin.lau@unige.ch> Cc: <chimera-users@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@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