<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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); background-color: rgb(255, 255, 255);" class="elementToProof">
Hi Elaine,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
First the error in the atom designation was on my end; it should have been CD not CA.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I used your last command and found what I wanted. My goal was to see if hydrophobic interactions were similar across the two hydrophobic faces of a heterodimer. I was using the distance of atoms of the hydrophobic residues as a proxy for hydrophobicity.
One model contained the wild type allele of one protein of the heterodimer, while the second model contained the alternate (mutant) amino acid of the same reference protein of the complex. I then used a T-test to determine if the distance varied between complexes.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Nice to figure the answer out with Chimerax.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Thanks again.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" 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> Wednesday, November 16, 2022 5:06 PM<br>
<b>To:</b> McClean, Phillip <phillip.mcclean@ndsu.edu><br>
<b>Cc:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] Distance between two atoms</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Phil,<br>
I can't tell what is wrong with your specification. From the error message, I can only say that the specification doesn't match what is in your structure. I'm guessing the atom names are wrong because amino acids don't contain atoms named CA1 and CA2 (amino
acids only have one alpha-carbon). If I recall correctly, the only one that has CH2 and CZ2 is tryptophan, but are all the residue numbers you list for chain C tryptophans? If a specific atom name only goes with one residue number, then you can interleave
them, e.g. /c:76@ch2:149@cb<br>
<br>
The contacts command will already limit the results to pairs of atoms within reasonable contact distance of each other, so maybe you can just try leaving off the atom names, e.g. the following, which works for 4hhb:<br>
<br>
contacts /b:77,81,84 /c:76,79,195,109,149,150 log true<br>
<br>
But that will find all interactions among all those atoms. If you want to treat them as two separate groups, then you need something like<br>
<br>
contacts /b:77,81,84 restrict /c:76,79,195,109,149,150 log true<br>
<br>
Or if you want only hydrophobic contacts, there are various ways to limit the set of atoms, e.g. element C (carbon) only:<br>
<br>
contacts (/b:77,81,84 & C) restrict (/c:76,79,195,109,149,150 & C) log true<br>
<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/clashes.html">https://rbvi.ucsf.edu/chimerax/docs/user/commands/clashes.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>
<br>
<br>
<br>
> On Nov 16, 2022, at 1:42 PM, McClean, Phillip via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:<br>
> <br>
> Hi Elaine,<br>
> <br>
> Rather than measure the distance atom by atom, I constructed the following command. Again, I have two chains, and I want to limit the search just to specific atoms affiliated with those residues. The residues I listed are hydrophobic molecules that are
interacting at two hydrophobic interfaces defined by the "mlp" command. The atoms refer to those pointing at the second interface.<br>
> <br>
> Here is the command I created, and the error associated with it.<br>
> <br>
> contacts /b:77,81,84@CA1,CA2 /c:76,79,195,109,149,150@CA1,CA2,CH2,CZ2<br>
> <br>
> Error message:<br>
> No atoms match given atom specifier<br>
> <br>
> Thanks for the help.<br>
> <br>
> Phil<br>
> From: McClean, Phillip <phillip.mcclean@ndsu.edu><br>
> Sent: Tuesday, November 15, 2022 5:25 PM<br>
> To: ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
> Subject: Re: [chimerax-users] Distance between two atoms<br>
> <br>
> Hi Elaine,<br>
> <br>
> Hi Elaine,<br>
> <br>
> Well I am having fish tonight 😉. I used your suggestion select the atoms on the screen and then run the pop-up distance command and reading the results in the Log. I am still not fully clear about defining atoms and such after reading the atoms page.
I will keep working on it.<br>
> <br>
> Thanks for your help.<br>
> <br>
> Phil<br>
> From: Elaine Meng <meng@cgl.ucsf.edu><br>
> Sent: Tuesday, November 15, 2022 11:03 AM<br>
> To: McClean, Phillip <phillip.mcclean@ndsu.edu><br>
> Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
> Subject: Re: [chimerax-users] Distance between two atoms<br>
> <br>
> Hi Phil,<br>
> There is a "distance" command, use command "help distance" or see the help at our website here:<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>
> <br>
> ...and many examples of how to specify atoms in the command line here:<br>
> <<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#hierarchy">https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#hierarchy</a>><br>
> <br>
> Why don't you give it a few tries? We need to "teach a man to fish" since we can't tell thousands of users how to write each command they need for their research.<br>
> <br>
> Or you can just choose the atoms from the screen: first make sure they are displayed so you can actually see them, and then Ctrl-click one, Shift-Ctrl-doubleclick the second one and choose "Distance" from the resulting pop-up menu. This also is described
in the help (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>
> Best,<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 Nov 15, 2022, at 8:30 AM, McClean, Phillip via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:<br>
> > <br>
> > Hi Everyone,<br>
> > <br>
> > I have a two chain model. I would like to determine the distance between the CD1 atom of residue 77 in chain B and the CD1 atom of residue Leu 150 in chain C. What would be the proper distance command.<br>
> > <br>
> > Thanks for the help again.<br>
> > <br>
> > Phil McClean<br>
> <br>
> _______________________________________________<br>
> ChimeraX-users mailing list<br>
> ChimeraX-users@cgl.ucsf.edu<br>
> Manage subscription:<br>
> <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br>
<br>
</div>
</span></font></div>
</body>
</html>