<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Elaine and Eric. I am definitely going to try that out! Watch out for follow-ups on any commands we send to Chimera that are not (yet) supported in ChimeraX...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Mungo</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<span id="ms-rterangepaste-start"></span><a href="" style="font-family:Times"><img width="1" height="2" alt="Email signature" src="https://www.dundee.ac.uk/media/dundeewebsite/emailsignature/tiny.png"></a>
<table border="0" cellpadding="0" cellspacing="0" style="font-family:Times; border-collapse:collapse; border-width:0px">
<tbody>
<tr>
<td colspan="4" height="10"> </td>
</tr>
<tr>
<td style="font-size:10px; width:73px!important; max-width:73px!important"><a href="http://uod.ac.uk/sig-home" rel="nofollow"><img width="73" height="73" alt="University of Dundee shield logo" style="display:block" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/university-of-dundee-email-favicon.png"></a></td>
<td style="width:12px"> </td>
<td class="uod-03" style="border-left:1px solid rgb(67,101,226); width:11px"> </td>
<td width="430">
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
<strong style="letter-spacing:1.2px; font-size:14px">Mungo Carstairs</strong><br>
Jalview Computational Scientist</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
The Barton Group<br>
Division of Computational Biology</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
School of Life Sciences</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
University of Dundee, Dundee, Scotland, UK</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
<a href="http://www.jalview.org" class="OWAAutoLink">www.jalview.org</a></p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
<a href="http://www.compbio.dundee.ac.uk" class="OWAAutoLink">www.compbio.dundee.ac.uk</a> <br>
<a href="mailto:g.m.carstairs@dundee.ac.uk" style="text-decoration:none; color:rgb(67,101,226)">g.m.carstairs@dundee.ac.uk</a></p>
</td>
</tr>
<tr>
<td colspan="4" height="10"></td>
</tr>
<tr>
<td colspan="4"><span style="font-size:12px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif"><a href="http://uod.ac.uk/sig-fb"><img width="35" height="35" alt="University of Dundee Facebook" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-facebook.png"></a> <a href="http://uod.ac.uk/sig-tw" alt="University of Dundee Twitter"><img width="35" height="35" alt="University of Dundee Twitter" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-twitter.png"></a> <a href="http://uod.ac.uk/sig-li"><img width="35" height="35" alt="University of Dundee LinkedIn" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-linkedin.png"></a> <a href="http://uod.ac.uk/sig-yt"><img width="35" height="35" alt="University of Dundee YouTube" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-youtube.png"></a> <a href="http://uod.ac.uk/sig-ig"><img width="35" height="35" alt="University of Dundee Instagram" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-instagram.png"></a> <a href="http://uod.ac.uk/sig-sc"><img width="35" height="35" alt="University of Dundee Snapchat" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-snapchat.png"></a> </span></td>
</tr>
<tr>
<td colspan="4"><span style="font-size:11px; color:rgb(136,136,136); font-family:Calibri,sans-serif; line-height:12px"><a href="http://uod.ac.uk/sig-strapline" style="text-decoration:none; color:rgb(67,101,226)"><strong>We're Scottish University of the Year
again!</strong></a><br>
The Times / Sunday Times Good University Guide 2016 and 2017</span></td>
</tr>
</tbody>
</table>
<span id="ms-rterangepaste-end"></span></div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> 10 December 2019 21:50<br>
<b>To:</b> Mungo Carstairs (Staff) <g.m.carstairs@dundee.ac.uk><br>
<b>Cc:</b> chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] Starting ChimeraX programmatically with remotecontrol</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Mungo!<br>
There is a “Remote Control” tool (menu under Tools… General) and “remotecontrol” command, both currently undocumented, sorry. Needed a programmer to write up this information in more detail.
<br>
<br>
Starting the tool from the Tools menu appears to do nothing other than report in the Log that an xmlrpc server is running, but entering command “usage remotecontrol” will show a bit more information in the Log that might be enough to get you started using the
command instead.<br>
<br>
Currently when I do that I see:<br>
<br>
remotecontrol rest port<br>
— Report REST server port<br>
<br>
remotecontrol rest start [port an integer] [ssl true or false]<br>
— Start REST server<br>
<br>
remotecontrol rest stop [quiet true or false]<br>
— Stop REST server<br>
<br>
remotecontrol xmlrpc enable [address a text string] [port an integer][timeout a number]<br>
— Allow other processes to send XMLRPC commands to ChimeraX <br>
enable: true or false<br>
<br>
…so there are indeed options for REST server communication. I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
<br>
> On Dec 10, 2019, at 8:10 AM, Mungo Carstairs (Staff) <g.m.carstairs@dundee.ac.uk> wrote:<br>
> <br>
> Hi there,<br>
> <br>
> Jalview has the ability to launch Chimera with "--start RESTServer", capture the port number from the response, and drive Chimera with REST commands.<br>
> <br>
> I'm trying to figure out whether this mechanism is also provided with ChimeraX. I've read
<br>
> <a href="http://plato.cgl.ucsf.edu/pipermail/chimerax-users/2017-July/000113.html">
http://plato.cgl.ucsf.edu/pipermail/chimerax-users/2017-July/000113.html</a><br>
> and looked at <br>
> <a href="http://www.rbvi.ucsf.edu/chimerax/docs/user/startup.html">http://www.rbvi.ucsf.edu/chimerax/docs/user/startup.html</a><br>
> and<br>
> <a href="http://www.rbvi.ucsf.edu/chimerax/docs/user/options.html#start">http://www.rbvi.ucsf.edu/chimerax/docs/user/options.html#start</a><br>
> but so far I can't see that "RESTServer" is a startable tool.<br>
> <br>
> Is this, or is it planned to be, possible somehow?<br>
> <br>
> Thanks,<br>
> <br>
> Mungo<br>
<br>
</div>
</span></font></div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>