From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Wed Dec 03 2008 - 11:10:53 CST

Hi Aneesh,

On Wed, Dec 3, 2008 at 5:32 AM, aneesh cna <aneeshcna_at_gmail.com> wrote:
> Respected VMD users,
> I would like to know how to select particular atom around another
> atom, for e.g I want to select atom ' F1' within 5 angstrom of another atom,
> say ' C1'. The command ' within 5 of resid 2 and type C1' ( in graphical
> representation window ) will select all the atoms within 5 angstrom of C1
> in residue 1, but I want to select only the ' F1' atoms around C1 within 5
> A. How to do such selection?

Try 'name F1 and within 5 of (resid 2 and type C1)'.

Cheers,
Leo

-- 
Leonardo Trabuco, Ph.D. candidate
Theoretical and Computational Biophysics Group
University of Illinois at Urbana-Champaign