Einat,

You're using the wrong selection criterion.  'name' selects based on the
atom name (not residue name).  'resi' selects on residue number, and
'elem' on the chemical element.  To specifically select water molecules
(assuming their residue name in the PDB file is HOH), do

  select water, resn hoh

Gareth


> On Tue, 2003-09-02 at 09:31, Einat Sitbon wrote:
> Dear PyMolers,
> How do I select all water molecules in a structure?
> I tried select name hoh
> as well as h2o,
> and also: select resi hoh, or elem.
> There are water molecules in the structure and they are called HOH in the 
> PDB file.
> 
> Thanks, Einat.
> 
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
-- 
Gareth Stockwell <gar...@ebi.ac.uk>
European Bioinformatics Institute


Reply via email to