<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cliwei%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="chsdate"></o:smarttagtype><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
--></style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">Dear Elaine</span><span style="font-family: 宋体;">,</span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your kindly providing useful
information for me. I learned a lot about how to make a beautiful 3D labels in
my figure. However my problem is that I have calculated some properties of this
residue and I wanted to label this calculated value near the residue. But from
your suggestion, it seems that it is impossible to automatically do this work.
Maybe I could try some other methods.</span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your kind reply!</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Wei Li</span></p>
<p class="MsoNormal"><st1:chsdate year="2010" month="6" day="4" islunardate="False" isrocdate="False" w:st="on"><span lang="EN-US">2010-6-4</span></st1:chsdate></p>
<br><br><br><br>-----原始邮件-----<br>> 发件人: "Elaine Meng" <meng@cgl.ucsf.edu><br>> 发送时间: 2010-06-04 00:33:11<br>> 收件人: "wei li" <liwei0703@nibs.ac.cn><br>> 抄送: chimera-users@cgl.ucsf.edu<br>> 主题: Re: [Chimera-users] Get xpos and ypos of selected residues automatically<br>> <br>> Dear Wei,<br>> You will probably need to use the regular (3D) labels instead, at least for the residues. If you have some title or text that always goes in a particular place on the screen, for example across the top, it could be done with 2D labels. However, if you want labels automatically near some atoms or residues but you don't know ahead of time where they will be in the window, use the regular labels. I have been working on something similar myself...<br>> <br>> How to make regular (3D) labels in figures look better:<br>> <br>> (a) use bigger font size, and perhaps bold font style. <br>> (b) use Z-offset to bring them forward so they will be in front, less likely to be blocked by other stuff.<br>> <br>> More about each of these below...<br>> <br>> (a) You can give each label a different color if you want (for example, with the color command), but the limitation with the regular labels is that they must all be in the same font size and style. Another limitation is that currently you can't set the font size and style with commands; you have to do it ahead of time (but only once): choose Preferences from the Favorites menu, go to category: Background, set label font size and style, click Save.<br>> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/preferences.html#Background><br>> <br>> (b) In the label/rlabel commands, you can specify a Z-offset. <br>> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/label.html><br>> <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/rlabel.html><br>> <br>> For example, these commands set the view to show some set of residues, label them with a Z-offset of 2.5 angstroms, change label colors:<br>> <br>> windowsize 600 500<br>> open 1add<br>> ribscale licorice<br>> alias motif :15.a,17.a,214.a,217.a,238.a,295.a,296.a<br>> show motif<br>> focus motif &~ @n,ca,c,o<br>> rlabel offset 0,0,2.5 motif<br>> color dodger blue,l<br>> color red,l motif & :asp,glu<br>> <br>> I hope this helps,<br>> Elaine<br>> ----------<br>> Elaine C. Meng, Ph.D. <br>> UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>> Department of Pharmaceutical Chemistry<br>> University of California, San Francisco<br>> <br>> <br>> On Jun 3, 2010, at 12:04 AM, wei li wrote:<br>> <br>> > Dear all,<br>> > Here is my problem:<br>> > I need to write a cmd script to use 2dlables automatically assign some annotations to some selected residues for many different proteins. However, I did not know the xpos and ypos for these residues and for different proteins there will be different residues which need to be assigned.<br>> > So, is there any method to get the xpos and ypos via some commands when I only know the residue identifiers?<br>> > Thanks<br>> > <br>> > Wei Li<br>> > 2010-6-3<br>> <br><br><!-- footer --><br>