[Chimera-users] Attribute "distance" generated by shortcut "ac sd" not saved between sessions?
Elaine Meng
meng at cgl.ucsf.edu
Fri Aug 7 13:06:58 PDT 2015
Hi Oliver,
Very nice image! Thanks for the script; should it work for most people with a recent version of HOLE, or does it need to be tailored for a specific situation? I might keep it for myself to try later.
Sorry, I think it's a bug where “ac sd" should mark the distance attribute as something to be saved in a session, but it doesn’t.
Sorry about that… in the meanwhile, the somewhat annoying workaround (but only needs to be done once) is to save the attribute to a file, read it back in with defattr, and then save the session. The Render by Attribute dialog has menu item File… Save Attributes and that creates the correct format for reading back in with defattr.
Best,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
On Aug 7, 2015, at 12:43 PM, Oliver Clarke <olibclarke at gmail.com> wrote:
> Hi all,
>
> I use the command “ac sd” to color dotted surfaces such as the attached by pore radius (I generate a molmap surface corresponding to the channel axis and then use "ac sd" to generate an attribute “distance", which in this case corresponds to the pore radius, which I can then use to color the dotted surface pdb using Render by Attribute).
>
> The dotted surface is generated using the program HOLE (http://www.smartsci.uk/hole/) along with the attached script to make it readable by chimera.
>
> This all works fine, however I have noted that the attribute generated by "ac sd” is not present when I reload the saved session, whereas other attributes (e.g. those created explicitly with defattr) are.
>
> I can just regenerate it of course, but it would be convenient if it were saved with the session, as it can take a while (~10 minutes) to calculate for large dotted surfaces.
>
> Cheers,
> Oliver.
>
> <hole_chimera_script>
More information about the Chimera-users
mailing list