[PyMOL] Cool Script -- Interface Residues

2009-06-29 Thread Jason Vertrees
PyMOLers,

I just finished a script that I think is pretty cool.  It finds the
interface residues between two protein chains.  The script can easily be
modified to fit the slightly different literature-based versions, but
this script implements the general idea upon which most are based:

http://www.pymolwiki.org/index.php/InterfaceResidues

I hope someone finds this useful.

Cheers,

-- Jason

-- 

Jason Vertrees, PhD

Dartmouth College : j...@cs.dartmouth.edu
Boston University : jas...@bu.edu

PyMOLWiki : http://www.pymolwiki.org/

--
___
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


[PyMOL] cmd.translate

2009-06-29 Thread zach powers
Hi,

I have been having some trouble with teh cmd.translate syntax/


I have tried variations on the following:

 cmd.translate([3.3,0,0], %s%taqeven)

including
 cmd.translate('[3.3,0,0]', %s%taqeven)

and

cmd.translate(3.3,0,0, %s%taqeven)


I still always get the following error message:
Error: bad vector.
Traceback (most recent call last):
   File /usr/lib/python2.6/site-packages/pymol/parsing.py, line 455, 
in run_file
 execfile(file,global_ns,local_ns)
   File ../Desktop/02_test.py, line 66, in module
 cmd.translate(3.3,0,0, %s%taqeven)
   File /usr/lib/python2.6/site-packages/pymol/editing.py, line 1464, 
in translate
 raise pymol.CmdException


I am sure this is a simple syntax issue but I am unsure of how to write 
the vector into the cmd.tranlate format.

any help would be appreciated.

thanks
zach cp

--
___
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