<div dir="ltr">Hi Ruki,<div><br></div><div>I would suggest you to try phenix.pdb_interpretation - This will parse your model and try to construct geometry restraints for it using Phenix restraints library. In the process, many strange things are being diagnosed and reported.</div><div>More lightweight and fast tool is phenix.pdb.hierarchy - this will only parse model and construct internal representation of it that is used in phenix. Some errors also could be detected here, but the amount of analysis is much less compared to phenix.pdb_interpretation.</div><div><br></div><div>To gain even better control, you can use cctbx library (<a href="https://github.com/cctbx/cctbx_project">https://github.com/cctbx/cctbx_project</a>), which contains all the necessary tools used by Phenix. Then you will be able to write your own Python scripts.</div><div><br></div><div>Let us know if you need more information on any Phenix tools. </div><div><br></div><div>Best regards,</div><div>Oleg Sobolev.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 9, 2018 at 12:12 AM, Rune Thomas Kidmose <span dir="ltr">&lt;<a href="mailto:rtk@mbg.au.dk" target="_blank">rtk@mbg.au.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>After using Phenix.molprobity I noticed it does a test of the input PDB file in the beginning, where it, among other things, identifies duplicate atom labels and then proceeds to list some of them (and hides the rest some where I guess).<br>
</p>
<p><br>
</p>
<p>It also identifies mismatches between the atom label and the atom type, e.g. if a CB is by mistake listed as an O instead of a C, in the last column in the PDB file.   <br>
</p>
<p><br>
</p>
<p>I would like to know if it is possible to somehow call this PDB pre-test function used within phenix.molprobity? or maybe something similar in the phenix package?<br>
</p>
<p><br>
</p>
<p>I would like to use the feature in a small MD pipeline I am developing where the input PDB files are checked for duplicate atoms and mismatches between atom label and type. I believe something like the mentioned pre-test feature would work much better, than
 my current bash script solutions using combinations of awk, grep, sort, uniq etc.<br>
</p>
<p><br>
</p>
<p>Cheers<br>
</p>
<p><br>
</p>
<p>Ruki<br>
</p>
</div>

<br>______________________________<wbr>_________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/phenixbb</a><br>
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org">phenixbb-leave@phenix-online.<wbr>org</a><br></blockquote></div><br></div>