[Chimera-users] How to send files to Chimera

Thomas Goddard goddard at cgl.ucsf.edu
Fri Jul 2 11:07:43 PDT 2004

Hi Sandeep,

  To open files in an already running Chimera from your program you can use
the chimera --send option.  For example,

    chimera --send myfile.mrc

You need to tell Chimera to accept "web data" for this to work.  You do
this using Chimera menu entry Favorites/Preferences, category Web Data,
set "Accept web data" to true.  Press the Save button if you want this
setting to apply to all future Chimera sessions (saved in
~/.chimera/preferences).  If you don't set this preference, the --send
command-line option will just start another copy of Chimera.

  This is described in the Chimera manual where command-line options are


  You can do fancier things, like send Python code (*.py files) or
Chimera commands (*.cmd or *.com files) to Chimera to show your data
in a certain way.  You would still use the --send option to send the
Python file.  These remote control features were added to Chimera so
that a web browser link can cause commands and files to be sent to
Chimera and this is described in the Chimera manual:


  The hard part here is that volume data display options like
threshold levels do not have simple Chimera commands to set them.
Instead you have to dig around in the VolumeViewer Python code (in the
share directory) in order to see what Python functions set these
things.  This is not easy to figure out.  I can help you if you have
specific questions about the Python functions for volume data display.


> Date: Fri,  2 Jul 2004 10:01:40 -0600
> From: Sandeep N Seshadri <sandeep at nmsu.edu>
> To: Thomas Goddard <goddard at cgl.ucsf.edu>
> Subject: Re: [Chimera-users]  Re: [chimera-dev] regd error when opening a .mrc file
> Hi Tom, 
>  sorry for being very confusing . i am trying to open up files generated from my
> program . as of now all i do is chimera test1.mrc 
> and next time i generate another file i would open it as chimera test2.mrc 
> so it would open a new chimera window and show the next .mrc file . what i would
> like to do is when i open the second file test2.mrc i would like to see it open
> in the already opened chimera window for test1.mrc.
> do you think i can do this ? Please let me know 
> Sandeep Seshadri

More information about the Chimera-users mailing list