On Wednesday 06 July 2005 08:58, Sebastien Gerega wrote: > Is there a way to list the residues that are in a selection? For example > if I use the command "select near, sel01 around 6" how can I obtain a > list of the residues in the "near" selection?
Using cmd.get_pdbstr("near") (after "import cmd" if required) you get a list of lines in PDB ATOM format for all the atoms in the selection. In principle, you can extract any information you want from these lines. Hope this helps, -- Lieven Buts Ultrastructure Laboratory Vrije Universiteit Brussel