[Chimera-users] Ribbon scaling in a script
Elaine Meng
meng at cgl.ucsf.edu
Wed Sep 1 09:43:04 PDT 2021
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 at 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
More information about the Chimera-users
mailing list