From: Chang, Christopher (Christopher_Chang_at_nrel.gov)
Date: Wed Sep 28 2005 - 18:38:29 CDT

Cheri,

   I think you would want to use

atomselect top "within 10 of resname HEM"

The "all" might be confusing the parser.

Chris

Christopher H. Chang, Ph.D.
Research Associate
National Renewable Energy Laboratory
1617 Cole Blvd., Mail Stop 1608
Golden, CO 80401
Phone (303) 275-3751
Fax (303) 275-4007
 

> -----Original Message-----
> From: owner-vmd-l_at_ks.uiuc.edu
> [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf Of Turman, Cheri M
> Sent: Wednesday, September 28, 2005 4:26 PM
> To: vmd-l_at_ks.uiuc.edu
> Subject: vmd-l: visualizing an atomselect
>
> Hi all,
> I have made an atomselect where I am trying to display only
> those residues within 10 A of the heme in my protein using
> this command in Tcl:
> % atomselect top "all within 10 of resname HEM"
>
> However, I am having a problem seeing this selection on the
> display. I have tried many commands in Tcl but never can get
> it to display just those near the heme. It always shows the
> entire protein. Is there a command I am missing? Thanks for
> any advice.
> Cheri
>
>