<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
HI Elaine,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
The hide ribbon, show atoms step worked. I was actually select the full amino acid, not just the atom.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for the quick response.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Phil</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Monday, July 11, 2022 5:42 PM<br>
<b>To:</b> McClean, Phillip <phillip.mcclean@ndsu.edu><br>
<b>Cc:</b> chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] Measuring distance between two atoms in a single protein</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Phil,<br>
Well, the short (and likely unhelpful) answer is that you have to select only two atoms! If you are selecting on the ribbon, for example, that will select all the atoms in the residue. So if you're showing ribbons but not the atoms, you may need to display
the atoms so that you click on exactly two. For example, commands:<br>
<br>
hide ribbon<br>
show atoms<br>
<br>
But I don't know if that is the problem in your specific case. You can list the selection in the Log so that you can see exactly which atoms ChimeraX thinks are selected at the time, e.g. with command:<br>
<br>
info atoms sel<br>
<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/info.html#atoms">https://rbvi.ucsf.edu/chimerax/docs/user/commands/info.html#atoms</a>><br>
<br>
Also if you can really select just two atoms, if you Ctrl-click the first and Shift-Ctrl-doubleclick the second, there should be a pop-up context menu that includes the choice "Distance" (so that you don't have to start the tool to measure the distance). See
"selection context menus"<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/selection.html#context">https://rbvi.ucsf.edu/chimerax/docs/user/selection.html#context</a>><br>
<br>
Finally, instead of selection, if you knew the residue numbers you could just specify the exact atoms in distance command something like:<br>
<br>
distance #1/A:35@CA #1/A:45@CA<br>
<br>
... meaning measure distance between alpha-carbons of residues 35 and 45 in chain A of model 1.<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/distance.html">https://rbvi.ucsf.edu/chimerax/docs/user/commands/distance.html</a>><br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html">https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Jul 11, 2022, at 3:14 PM, McClean, Phillip via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:<br>
> <br>
> Hi Chimerax Group,<br>
> <br>
> I am trying to measure the distance between two atoms in a protein in Chimerax v1.4. The .pdb file I am working with was generated using Alphafold2 in the ColabFold application.<br>
> <br>
> I select the two atoms by using CTRL+SHIFT, go to the TOOL -> Structure Analysis -> Distances. The Structure Measurements panel appears in the lower right of the screen. When I click on the Create button, a Chimerax box appears on screen with the following
message:<br>
> <br>
> Exactly two atoms must be selected!<br>
> <br>
> I was surprised to see this message since I thought I had properly selected two atoms.<br>
> <br>
> Any advice on how to calculate the distance would be greatly appreciated.<br>
> <br>
> Thanks in advance for any help you can provide.<br>
> <br>
> Phil McClean<br>
> Professor<br>
> North Dakota State University<br>
<br>
</div>
</span></font></div>
</body>
</html>