[PyMOL] Re: New spectral color pallette

2006-01-06 Thread divya dube
how can i get 300 dpi image or picture of higher resolution from pymol On 1/5/06, Robert Campbell r...@post.queensu.ca wrote: Alexander, * alexander.paut...@bc.boehringer-ingelheim.com wrote: I would like to color my protein according to B-factor with a self-defined spectral palette

[PyMOL] Python scripting for Pymol

2006-01-06 Thread Jerome PANSANEL
Hi, I writing a small script in python, in order to export png picture from a MDL sdfile. Here is a sample of the function : def mol2png(ctfile,name): pymol.cmd.read_molstr(ctfile,name) pymol.cmd.set(valence,1) pymol.cmd.color(black,elem c) pymol.cmd.color(red,elem o)

RE: [PyMOL] how to extract corresponding residue pairs after alignment ?

2006-01-06 Thread Warren DeLano
Indaneel, This isn't and won't be possible anytime soon, but you are welcome to hack the C code in order to dump that information out for the time being. Eventually we will have some nice alignment management facilities in PyMOL. Cheers, Warren -- Warren L. DeLano, Ph.D.

Re: [PyMOL] Python scripting for Pymol

2006-01-06 Thread gilleain torrance
Hi, I tried a similar, but simpler, example : def mol2png(name): cmd.png(name) cmd.delete(name) called as 'mol2png(1a2pA)', given that I have an object called 1a2pA loaded. It works just fine on my laptop (mac). Odd. gilleain torrance On 1/6/06, Jerome PANSANEL

RE: [PyMOL] Python scripting for Pymol

2006-01-06 Thread Warren DeLano
Jerome, Try calling pymol.cmd.refresh() before pymol.cmd.png(name) Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 USA . Biz:(650)-872-0942

RE: [PyMOL] Can I use the mouse to control multiple windows?

2006-01-06 Thread Warren DeLano
NOTE: Bug fix for receive.py # BEGIN receive.py from pymol import cmd from time import sleep import os filename = view.txt while not sleep(0.2): if os.path.exists(filename): try: cmd.set_view(eval(open(filename,'r').read())) os.unlink(filename)