Hi Lothar, Yes, in Chimera there are several things that are only user-adjustable in graphical interfaces but not commands. We saw that this could be a frustration for scripting, and so an explicit goal of ChimeraX is to have commands for all of the same settings that are in the GUIs. OK, back to the questions. As far as I know, there is no user-interface way of changing either of those behaviors: (1) The halfbond color partitioning behavior (sensitivity to VDW radius) might even be a bug. Perhaps it makes some sense in the context of ball-and-stick display, but certainly not for the stick representation. (2) There is also no command for adjusting the aromatic circle thickness. Maybe others can advise on whether it is possible to do what you want by editing code, and if so, how to do it. Sorry for the issues, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Sep 1, 2021, at 9:54 AM, Esser, Lothar (NIH/NCI) [E] via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:
Hi, thanks for the fast reply. This surprised me that you cannot just set it. However, I had already created a file with preferred dimensions that I read with ribscale. This works ok.
In the meantime I came across two more things I have a hard time figuring out:
Probably quite simple but somehow escaped me so far:
• Stick models show split bonds i.e. half of a X-Y bond gets color of X and the other half gets that of Y. However, in some ligand representations, I scale down the carbon atoms for better visibility. This seemed also to change the amount the bond gets carbon color. If one atom is half the size of the other bonded atom, its share of bond that is colored is much (1.5x) larger. I would prefer 1:1 ratio in bond color no matter the size of the atom. How can this be done? • I could not figure out the parameter that controlls the aromatic circle in say a benzene fragment. The default width seems to be 1 pixel and this is really thin.
Thanks, Lothar
From: Elaine Meng <meng@cgl.ucsf.edu> Sent: Wednesday, September 1, 2021 12:43 PM To: Esser, Lothar (NIH/NCI) [E] <esserlo@mail.nih.gov> Cc: chimera-users@cgl.ucsf.edu <chimera-users@cgl.ucsf.edu> Subject: Re: [Chimera-users] Ribbon scaling in a script
Hi Lothar, In Chimera, you would have to use Ribbon Style Editor to create and name the "scaling" (the set of secondary-structure-associated widths etc.). That name would be saved in your preferences. Then later you can use the "ribscale" command with that name in your scripts. Sorry, there is no way to just adjust it directly in a command without having to make the scaling ahead of time. Similarly you need to use the editor dialog to create and name custom styles (cross-sections), which can later be accessed with the "ribstyle" command.
<https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/ribbonstyle/ribbonstyle.html>
However, in ChimeraX it is done differently; you can specify widths etc. directly in the "cartoon style" command. <https://rbvi.ucsf.edu/chimerax/docs/user/commands/cartoon.html#style>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Sep 1, 2021, at 8:36 AM, Esser, Lothar (NIH/NCI) [E] via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:
Hi, despite a good amount of search in the documentation, I was unable to find a way to set the dimensions of a ribbon coil, helix width etc. with a commandline statement. I can do it in Ribbons Style Editor but I need to be able to do it from a script. I am sure it is terribly obvious but I just think it may be easier if I get a hint at this point. Thanks,
Lothar