|
From: DeLano S. <de...@de...> - 2007-11-21 21:55:28
|
iterate name, print chain,resi,name
# or if you want to get really fancy, you can do something
# where iterate calls another PyMOL method:
load $TUT/1hpv.pdb
# NOTE the following text should all appear one line
iterate A/50/CA around 5, print
chain,resi,name,cmd.get_distance("A/50/CA","///%s/%s/%s"%(chain,resi,name))
Cheers,
Warren
> -----Original Message-----
> From: pym...@li...
> [mailto:pym...@li...] On Behalf
> Of Wiktor Jurkowski
> Sent: Wednesday, November 21, 2007 2:48 AM
> To: pym...@li...
> Subject: [PyMOL] selection print out
>
> How to list residues within given selection? E.g. if I have selection:
> select name, resi 134 around 4.0
> How to get details about atoms, residues which could be used
> by extrenal code or just copied to text file?
> Wiktor
>
>
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
|