Re: [Chimera-users] [chimera-dev] run chimera's IDLE in terminal on mac os x
On Feb 24, 2010, at 5:34 PM, Yang wrote:
Hi Eric
I want to manipulate with electron density maps, and just use chimera functions for reading pdb files and density maps. However, for high-resolution maps, it takes too long to run the my program on my mac book. So I want to remotely use the server of our department, which has much larger memory, to complete this task by typing commands in terminal. Before that, I had everything done in chimera's IDLE. So I prefer using chimera functions somehow in terminal assuming chimera is installed first.
Thanks for your advice.
I think you just want to take whatever commands you were using in IDLE and put them in a Python script (file ending: .py). You can then execute them with "chimera --nogui myscript.py". If you need to supply arguments to the script then instead run it like this: "chimera --nogui --script myscript.py -- arg1 arg2 ...". This is described here: http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/options.html --Eric Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu
participants (1)
-
Eric Pettersen