<div dir="ltr"><div dir="ltr">Hi Swati,</div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0)"><font face="arial, sans-serif">I had a couple of questions about sampling backrub</font></div></div></div></blockquote><div>To the best of my knowledge Phenix does not use backrub motion in production anywhere. So there are not many chances to find a production-quality code to work with backrub.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0)"><font face="arial, sans-serif"> and sidechains using the building or refinement modules in cctbx_project/mmtbx.</font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif"><br></font></div><div style="color:rgb(0,0,0)"><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif">1) In the file: <a href="http://mmtbx.building.alternate_conformations.conformer_generation.py" target="_blank">mmtbx.building.alternate_conformations.conformer_generation.py</a></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">In the function </span><span style="color:rgb(159,160,28);font-variant-ligatures:no-common-ligatures">def</span><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures"><font color="#2eaebb" style="font-weight:bold">__call__: </font><font color="#000000">the if statements for checking whether the sampled side chain conformation is a rotamer outlier or not, the check in the if statement is for &quot;selfUTLIER&quot;.</font></span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br></span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><font color="#000000">Also in the function </font></span><span style="color:rgb(46,174,187);font-variant-ligatures:no-common-ligatures"><b>set_up_backrub</b></span><span style="font-variant-ligatures:no-common-ligatures">(self): the atom &quot;O&quot; for the previous residue is not included in the backrun motion, as a result this atom is not moved when the backrub is implemented.</span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br></span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">I was just wondering if this is a mistake (possibly all instances of &quot;O&quot; being replaced by &quot;self&quot; which would explain both these things, and some other instances throughout the file), or is this code old and not used anymore?</span></font></p></div></div></div></blockquote><div>The whole mmtbx.building.alternate_conformation was written back in 2015 by Nat Echols and if I remember correctly was an unfinished project. The observations you made (like &quot;selfUTLIER&quot;) only increase the suspicion that the code is not working anymore.</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0)"><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"></span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">2) When trying to run fit_residues.py and tst_fit_residues* scripts in mmtbx.refinement.real_space, I encountered errors mainly related to chem_data/rotamer_chi_angles/ not being present. Looks like this data is not distributed with cctbx. Is this correct, or maybe there is some other known issue ?</span></font></p></div></div></div></blockquote><div>Correct, chem_data is not part of cctbx and many tests/functionality won&#39;t run without it. Naturally, you need info on rotamers to sample them which is in chem_data along with many other necessary for macromolecules data.</div><div><br></div><div>You can take a look at &quot;def backrub_move&quot; in cctbx_project/mmtbx/refinement/real_space/fit_residue.py which I wrote. Take a note of disclaimer though: &quot;These functions are not used anywhere. And not tested anymore. ...&quot;. They can still be in a working condition, but no warranty is provided.</div><div><br></div><div>Best regards,</div><div>Oleg Sobolev.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0)"><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br></span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">I look forward to hearing from you.</span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br></span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">Thanks,</span></font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">Swati</span></font></p></div></div></div>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div></div>