[Chimera-users] Centroid/axis question

Elaine Meng meng at cgl.ucsf.edu
Tue Oct 8 09:28:54 PDT 2019

Hi Luca,
Unfortunately there is no friendly way to do it, but you could try saving the session and then editing the python in the session file (very carefully).

According to Eric, you would open the session file in a text editor and search for AxisManager, which will be followed by lots of comma-separated values in parentheses.  For each axis there are two numbers, then axis name, then a zero, and then the radius value, and then more numbers for other stuff like color and length.  I guess you can look for the axis name and then the zero, and then edit the next value for each axis.  I tried this and it works, but it is somewhat difficult because there are so many values all on one line in the file. 

Sorry it is not a friendly approach.  Depending on how you made the axes, it might be easier to script making them again than to manually edit the session.  I hope this helps,
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Oct 8, 2019, at 5:25 AM, Luca Pellegrini <lp212 at cam.ac.uk> wrote:
> Hello,
> I have generated a bunch of axes and centroids for my protein complex structure. Now I would like to change their appearance by changing their radius, to make them the size I want for a picture. Is there a way to do this for an existing axis/centroid, or do I need to create them again? I have got quite a lot of them…
> Thanks,
> Luca

More information about the Chimera-users mailing list