<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">In the rare case where a PDB lists the formal charges in columns 79-80 of the ATOM record (as per: <a href="http://www.wwpdb.org/documentation/file-format-content/format33/sect9.html#ATOM" class="">wwPDB Format version 3.3: Coordinate Section</a>; [and very few entries have that info]), then the atoms in Chimera will have a “formalCharge” attribute that you can label by,<div class=""><br class=""></div><div class="">—Eric<br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span class="Apple-tab-span" style="white-space: pre;"><br class="Apple-interchange-newline"> </span>Eric Pettersen</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Feb 24, 2020, at 3:20 PM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Tasneem,<br class="">Sorry, I can’t think of a way to directly label by formal charge, other than by creating these labels manually yourself. If you add hydrogens, you may be able to infer the formal charge just by looking at the hydrogens, or if you label by atom type, you may be able to infer the formal charge based on the knowledge of which types represent formal charge.<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/idatm.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/idatm.html</a>><br class=""><br class="">Commands to label by atom type: <br class=""><br class="">labelopt info idatmType<br class="">la O | N<br class=""><br class="">(that middle thing is a vertical bar, not a capital letter I or lowercase letter l)<br class=""><br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/labelopt.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/labelopt.html</a>><br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/atom_spec.html#atprops" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/atom_spec.html#atprops</a>><br class=""><br class="">If you know the formal charge and you just want to create labels illustrating this for a figure, you can manually add them as 2D Labels, or by changing the text in the regular (“3D” labels) using the “setattr” command.<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/setattr.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/setattr.html</a>><br class=""><br class="">E.g. <br class=""><br class="">open 1gcn<br class="">disp<br class="">setattr a label "-“ :asp,glu@od1<br class="">setattr a label “+” :lys@nz<br class=""><br class="">For 2D Labels (that don’t move when you move the structure) see:<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html</a>><br class=""><br class="">I hope this helps,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><blockquote type="cite" class="">On Feb 24, 2020, at 1:45 PM, Tasneem Vaid <<a href="mailto:tasneem1188@gmail.com" class="">tasneem1188@gmail.com</a>> wrote:<br class=""><br class="">Hi everyone,<br class="">I want to see the formal charges on the ligand as well as the receptor. Is there a way to get that in Chimera? <br class="">There is an option of setting charges under ‘label’, but that gives partial charges and not formal.<br class="">Thanks,<br class="">Tasneem <br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>