[Chimera-users] Display Molecule Name

Elaine Meng meng at cgl.ucsf.edu
Mon Jul 6 09:00:18 PDT 2009


Hi Chris,
If you use the "regular" 3D labels (shown with commands labelopt and  
label), the font and size can be controlled in the Preferences  
(Favorites... Preferences, category: Background).

If you use 2D labels, the font and size as well as color and X,Y  
location can be set with the "2dlabels" command or in the 2D Labels  
graphical interface (under Tools... Utilities).  For the command, see  
the "size" "style"  and "typeface" options of "2dlabels create" and  
"2dlabels change."

<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html>
<http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html 
 >

If you want to get fancy, 2D labels can also be faded in or out over a  
specified number of frames.

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
                      http://www.cgl.ucsf.edu/home/meng/index.html

On Jul 5, 2009, at 6:29 PM, christopher lau wrote:

> Hi everyone,
>
> Thanks for your help, using
> open 1g1p
> rainbow models
> [ then I used the "Tile Structures" tool to spread the structures  
> out ]
> labelopt info molecule
> la @/serialNumber=1
> Worked perfectly!
>
> Is there a way to change the font of the model number, it displays  
> the molecule as #0.1, etc but the font is incredibly small
>
> Thanks,
>
> Chris
>
> On Sat, Jul 4, 2009 at 10:00 AM, Eric Pettersen <pett at cgl.ucsf.edu>  
> wrote:
> Hi Chris,
> Yet another way to do this, assuming you know the approximate x,y  
> positions of your molecules on the screen would be to title them  
> with the 2dlabels command (http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/2dlabels.html 
> ).  Assuming that your Molecule variable is 'm' then m.name is the  
> molecule name (as shown in the Model Panel) and str(m) gives the  
> same text as the help balloon would if the mouse were hovered over  
> the Molecule.
>
> --Eric
>
> On Jul 2, 2009, at 11:02 PM, cdlau at ucsd.edu wrote:
>
>> Hi,
>>
>> Thanks for the response.  This would not work for my case because I  
>> am
>> writing a plugin for ViewDock for use with a Tiled Wall Display.  I  
>> was
>> hoping there was a setting that was available to show the molecule  
>> name
>> (if a setting does exist I can initiate it with runCommand).  Does  
>> anyone
>> know if this is possible?
>>
>> Thanks,
>>
>> Chris
>>
>> On Thu, 2 Jul 2009, cdlau at ucsd.edu wrote:
>>
>> Hi,
>>
>> I was wondering if there was a way to display the molecule name  
>> that is
>> being shown in chimera.  A simple display such as "molecule #0.10"  
>> below
>> the rendered molecule would be great.
>>
>> Thanks for your help,
>>
>> Chris
>>
>> Just place the mouse over the item you want to know more about and  
>> a popup
>> balloon will tell you about it.  The text starts with the model  
>> number,
>> e.g., #0.10, and may or may not have additional information, i.e.,  
>> for an
>> atom it includes the residue name and sequence number and the atom  
>> name.
>>
>>       - Greg
>> _______________________________________________
>> Chimera-users mailing list
>> Chimera-users at cgl.ucsf.edu
>> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
>
>
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users




More information about the Chimera-users mailing list