<div dir="ltr">Thank you so much this was incredibly helpful!</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><b>________________</b><br><b><font size="2">Nicholas Hyman</font></b></div><div><span style="color:rgb(68,68,68)">Vanderbilt University, Computer Science and Chemistry, Class of 2018</span><span style="color:rgb(68,68,68)"> </span><span style="color:rgb(68,68,68)"> </span></div><div><font size="2"><span style="color:rgb(68,68,68)">(770) 314-9270 | <a href="mailto:nicholas.j.hyman@vanderbilt.edu" target="_blank">nicholas.j.hyman@vanderbilt.edu</a></span></font></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jun 23, 2016 at 5:54 PM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nicholas,<br>
Several pseudobond “attributes” like whether they depend on atom display and their linewidth, color, label text etc. can be controlled with the “setattr” command. Some of the attributes are at the level of the pseudobond group, such as all distance measurements, whereas others can be changed for individual pseudobonds. How you can tell which of those applies and the name of the attribute for use with the “setattr” command is by selecting any pseudobond, showing the Selection Inspector (e.g. by clicking the green magnifying glass icon at the lower right corner), and then mousing over the entries in the dialog when inspecting “pseudobond” or “pseudobond group.” The pop-up balloon help will give the attribute name and some information about its possible values. Or instead of in the Selection Inspector, this lookup can also be done in the pseudobond group attributes dialog opened with the “attributes…” function in the Pseudobond Panel (menu: Tools… General Controls… Pseudobond Panel).<br>
<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/setattr.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/setattr.html</a>><br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/pbattrib.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/pbattrib.html</a>><br>
<br>
I gave you the long answer above so you could understand how to change several things about pseudobonds with “setattr” …. the short answer is a command something like:<br>
<br>
setattr p display 1<br>
<br>
… as shown in the aforementioned balloon help, 1 is displayed, 0 is hidden, 2 is conditional on atom display.<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>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On Jun 23, 2016, at 9:44 AM, Nicholas Hyman <<a href="mailto:nicholas.j.hyman@vanderbilt.edu">nicholas.j.hyman@vanderbilt.edu</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I have been working with labeling EPR restraints on a protein model through chimera. I would like to show a label of the distance between two residues and color it to show how well the model fulfills the restraint.<br>
><br>
> I worked with the distance function, but I could not figure out how to change the color of the label through the command line, as there are quite a few restraints. I was able to achieve the desired result by writing a python script that makes a pseudo bond file.<br>
><br>
> My issue is that in order for the labels to be shown, atoms must also be displayed. This creates a lot of complexity and makes the labels difficult to read. I was wondering if there is any way to keep only the ribbon display but add the labels in still? Please let me know what you think.<br>
><br>
> Thanks,<br>
> Nicholas Hyman<br>
<br>
</div></div></blockquote></div><br></div>