
On 3/24/20 11:43 AM, Tom Goddard wrote:
You could put links to ChimeraX command files (*.cxc) or ChimeraX session files (*.cxs) on your web servers. ChimeraX commands can open URLs ("open https://...") so a command file could fetch data created by the server.
For .cxc files I got stuck at the first hurdle - am I doing something dumb? open https://modbase.compbio.ucsf.edu/modbase-cgi/showfile.cgi?seq_id=16f39f89e31... loads a PDB file from ModBase but displays it in the browser, not in the model window. The help says "The file type can be indicated by suffix, MIME type, or the format option". Suffix here is presumably ".cgi" which doesn't help ChimeraX, and ModBase probably isn't setting a sane MIME type either. So I tried the 'format' keyword: open https://modbase.compbio.ucsf.edu/modbase-cgi/showfile.cgi?seq_id=16f39f89e31... format pdb This says 'Only "None" format can be fetched from https database'. (This is with the 2020-03-08 build. I'll try with the latest if you think this has been fixed in the interim.) For session files I assume you're thinking we would run a copy of ChimeraX on our system and have it generate the session files? I have a passing familiarity with ChimeraX session files, but it seems like it would be a lot of work to generate one containing a simple atomic structure from scratch using non-ChimeraX software. Ben -- ben@salilab.org https://salilab.org/~ben/ "It is a capital mistake to theorize before one has data." - Sir Arthur Conan Doyle