[Chimera-users] 'Automatically' annotate multiple structures

Elaine Meng meng at cgl.ucsf.edu
Fri Feb 23 11:07:45 PST 2018

Hi Joe,
I don’t think there is a simple way (not involving python scripting) to achieve what you want…

The instructions in that previous post are for 3D labels, not 2D, and they work to label the first atom in each structure by the model number:

labelopt info molecule
la @/serialNumber=1  

The part that specifies model number is “info molecule” and it does not have a model-name option. I see that “molecule” isn’t even documented as a choice for type of info, so I will need to add it… apparently I didn’t know about it and failed to notice the omission when that previous post appeared!  Sorry about that.  IMO, “molecule” is somewhat misleading and should be “model” instead, as there could be many different molecules in a single model.

Don’t be distracted by the serial number stuff in the “label” command; it simply indicates which atoms to label: the first one in each model.  It was used simply to just get one label per model without prior knowledge of the atom names and residue numbers in each structure, since the label command potentially applies to all atoms.

You could use the “2dlabels” command instead, but you would have to manually specify the text for each label and its X,Y position in the graphics window (or use the 2D Labels graphical interface and place the labels by hand, which is much easier as long as you don’t have to do it too many times)

Somebody else would have to advise on the Python-scripting possibilities for a more automatic approach.

I hope this helps,
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Feb 23, 2018, at 1:54 AM, Healey, Joe <J.R.J.Healey at warwick.ac.uk> wrote:
> Hi again Chimera team,
> I'm looking for a fairly quick and dirty way to apply some annotations using 2D labels to a bunch of open structures.
> Basically, I have ~16 structures open on screen, which I then tile to compare. I'd like the model name to be displayed just below each model so that its easy to track. I've found this thread (http://www.cgl.ucsf.edu/pipermail/chimera-users/2009-July/004081.html) which appears to be attempting a similar thing (though I'd like to use the model.name not serial number), but the approach doesn't seem to work (no labels appear and there is no information in the reply log or IDLE to give me any clues).
> Any suggestions/alternatives appreciated!
> Joe

More information about the Chimera-users mailing list