Hello Pymol users,

I am new to pymol scripting and I want to calculate the distance between two
points of all the pdb file in a directory.
I tried to write the script but seems its not working.
PLease help me.

from pymol import cmd
from glob import glob

lst = glob("*.pdb")
lst.sort()

for fil in lst:
        cmd.load(fil,"tmp")
        dst=cmd.distance('/tmp//A/LYS`203/NZ','/tmp//A/GLU`145/OE2')
        print lst
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to