[Chimera-users] multiple mutations

Elaine Meng meng at cgl.ucsf.edu
Mon Feb 29 16:16:09 PST 2016


Hi Andrew, 
Oops, in my previous reply, I forgot to answer this part of your question:

> On Feb 28, 2016, at 8:22 AM, Andrew N <derm101 at live.com> wrote:
> 
> Another question: How to add a label like "V75" (Amino acid and position, not "V75.A") with all with black color (not the same color that marks mutation on 3D structure)?


Try commands:

set bgcolor white
color black,l
labelopt resinfo %(1-letter code)s%(number)s
rlabel

That’s comma and letter “l” (not numeral 1) after “black”.  Of course, you could specify a different background color, and label only certain residues if you don’t want to label everything, e.g. 
rlabel :75.a

See manual pages for other options and details:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/color.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/labelopt.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/rlabel.html>

These things could be done with the Actions menu instead of commands, but the command way is shorter to describe.  There is no command to control 3D label font style and font size, but you can set those using the Preferences (menu Favorites… Preferences, category: Labels).

Alternatively, if you already have the final view for a figure and don’t plan to rotate or move the molecule, you could use 2D labels instead of 3D labels.  In that case you can enter any string you want directly, and place the labels anywhere in the graphics window interactively.

<http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html>

2D Labels can also be done with commands, but the interactive way is generally easier.
I hope this helps,
Elaine
----------
Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco







More information about the Chimera-users mailing list