[Chimera-users] Sending commands via terminal

Thomas Goddard goddard at cgl.ucsf.edu
Thu Jun 25 11:24:13 PDT 2009


Hi Chris,

   We don't have a one step way to send a command to Chimera though I 
agree that would be handy.  I'll add to our request list a command-line 
option like --send that just takes Chimera command instead of a file. 
For now I'm afraid the best that can be done is to use a temporary file:

	echo "open 1zik" > /tmp/a.cmd ; chimera --send /tmp/a.cmd

   Tom

-------- Original Message --------
Subject: [Chimera-users]  Sending commands via terminal
To: chimera-users at cgl.ucsf.edu
Date: 6/24/09 11:41 PM

> Hi,
> 
> I was wondering if there was a simple way to send commands (such as "open
> 1zik" or "preset apply int 2’" ) to an already running instance of
> chimera.  I want to be able to send this command using 1 line of command. 
> This means that "--start ReadStdin" would not work because it allows
> commands to be sent indefinitely.
> 
> Potentially I could write the commands in a python script and use the
> --send command, however I would like to avoid this if I just want to send
> a single command to chimera.
> 
> Thanks for your help,
> 
> Chris Lau
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users



More information about the Chimera-users mailing list