<div dir="ltr"><div dir="ltr">Hi Rangarajan,</div><div dir="ltr"><br></div><div>Yes, you should be able to keep the hydrogens...add these commands to your script (note that there are</div><div>two levels of quotes in the resolve_command_list command):</div><div><br></div><div>resolve_command_list=&quot; &#39;keep_hydrogen&#39;  &#39;n_template_atom 9&#39;  &quot;</div><div>refine_ligand=false<br></div><div><br></div><div>You need to specify the number of atoms in your ligand (including H atoms) with n_template_atom along with specifying keep_hydrogen.</div><div><br></div><div>the refine_ligand=False is in case the hydrogens prevent refinement from working.  You can just refine afterwards in that case.</div><div><br></div><div>Let me know if that does not do it!</div><div>All the best,</div><div>Tom T</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 18, 2021 at 12:55 PM Rangarajan Erumbi &lt;<a href="mailto:rerumbi@scripps.edu">rerumbi@scripps.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_4415501353245831116WordSection1">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Hi, <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black">I am using phenix.ligandfit to automatically fit a ligand in to the ligand site of a protein model using the experimentally derived structure factors for the complex.  The ligand
 pdb and restraints are created using phenix.elbow which contains the hydrogen atoms.  However, after phenix.ligandfit the coordinates that are derived is stripped of all the ligand hydrogens. I want to retain the hydrogens only on the ligand during the refinement
 to preserve the overall geometry of the ligand. I am trying to do this automatically over several datasets with different ligands. I don’t see any specific parameter in the phenix.ligandfit that would specifically allow me to retain the ligand hydrogens. Phenix.reduce
 or phenix.ready_set does add hydrogens to entire coordinates including protein residues and so could not use it directly.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black">Is there a way to get this accomplished in a simple way? <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black">Thanks in advance and appreciate your suggestions.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black">Rangarajan.  <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black"></span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org" target="_blank">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org" target="_blank">phenixbb-leave@phenix-online.org</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Thomas C Terwilliger<div>Laboratory Fellow, Los Alamos National Laboratory</div><div>Senior Scientist, New Mexico Consortium</div><div>100 Entrada Dr, Los Alamos, NM 87544</div><div>Email: <a href="mailto:tterwilliger@newmexicoconsortium.org" target="_blank">tterwilliger@newmexicoconsortium.org</a></div><div>Tel: 505-431-0010</div><div><br></div></div></div></div></div></div></div></div></div></div></div>