[chimerax-users] ChimeraX equivalent to "Chimera web data"?

Elaine Meng meng at cgl.ucsf.edu
Tue Mar 24 13:05:03 PDT 2020


Hi Ben,
You can put the word "download" in the "a href" tag to specify it is file for download rather than to show... for example, see link to "test.cxc" in this page, as well as its source:

<http://www.cgl.ucsf.edu/home/meng/t1.html>

Maybe you are looking at Chimera help?  The manual browser configuration instructions in there are probably out of date.

On the Download dialog in Firefox, I get a choice "Open with..." and then I can choose the ChimeraX app ... or some browsers show a list of downloads where you click the download of interest, and then get a choice of what app to open it with.

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




> On Mar 24, 2020, at 12:58 PM, Ben Webb <ben at salilab.org> wrote:
> 
> 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=16f39f89e31970dbec2f39c36959c116MVEGDIVS&model_id=484bca9c58210cc27b6172fa60294c2c&flag=C&run=update_80870
> 
> 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=16f39f89e31970dbec2f39c36959c116MVEGDIVS&model_id=484bca9c58210cc27b6172fa60294c2c&flag=C&run=update_80870 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 at salilab.org                      https://salilab.org/~ben/
> "It is a capital mistake to theorize before one has data."
> 	- Sir Arthur Conan Doyle
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> 




More information about the ChimeraX-users mailing list