From: Tsjerk W. <ts...@gm...> - 2009-09-09 06:51:34
|
Hi pkb bioinfo (which I do hope is not your real name), Did you actually paste the script or did you retype it? > 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 You set dst to be the distance, and then you print lst... Cheers, Tsjerk -- Tsjerk A. Wassenaar, Ph.D. Junior UD (post-doc) Biomolecular NMR, Bijvoet Center Utrecht University Padualaan 8 3584 CH Utrecht The Netherlands P: +31-30-2539931 F: +31-30-2537623 |