[Chimera-users] on script which can be read and executed by chimera

Elaine Meng meng at cgl.ucsf.edu
Fri Apr 17 08:21:20 PDT 2015


Dear Smith,
There are two main choices: Chimera command script or Python script.  You don’t have to do any compiling.  Just opening the script file in Chimera (e.g. with menu: File… Open) will execute the script, and the type of file is automatically known if you use the standard naming, for example, ending the filename with “.py” if it is a python script.  File types and standard naming:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/filetypes.html#command>

A Chimera command script is just a plain text file with a series of Chimera commands, just like what could be typed individually into the Command Line. More info and links to examples:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/indexcommand.html#cmdfile>

A Python script is more like programming.  For more information, see the Chimera Programmer’s Guide:
<http://www.rbvi.ucsf.edu/chimera/docs/ProgrammersGuide/index.html>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Apr 12, 2015, at 6:48 PM, Smith Liu <smith_liu123 at 163.com> wrote:

> Dear All, 
> Will you please introduce to me a web link on how to compile and edit scripts which can be read and executed by Chimera? 
> I am looking forward to getting your reply.
> Smith




More information about the Chimera-users mailing list