VMD-L Mailing List
From: Manali Joshi (manali_at_adrik.bchs.uh.edu)
Date: Fri Feb 24 2006 - 16:54:12 CST
- Next message: John Stone: "Re: Atomselection problem"
- Previous message: John Stone: "Re: representation using COM"
- Next in thread: John Stone: "Re: Atomselection problem"
- Reply: John Stone: "Re: Atomselection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I am trying to find protein residues that contact the substrate.
I use the following:
set sel [atomselect top "(protein within 4 of resid 700 and segname XYZ) and not segname XYZ"]
puts $outfile [$sel get resid]
However since this is an atomselection if there are two atoms of a residue within 4 Angstrom of resid 700 it will print the residue number twice.
610 610
Is there any way i can get this number only once ? Something like a residueselect rather than atomselect ?
Thanks for any help in advance.
-Manali
- Next message: John Stone: "Re: Atomselection problem"
- Previous message: John Stone: "Re: representation using COM"
- Next in thread: John Stone: "Re: Atomselection problem"
- Reply: John Stone: "Re: Atomselection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]