<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Lu,</p>
    <p><br>
    </p>
    <blockquote
      cite="mid:4d1ebf1a.a5a8.155b4dc9f9c.Coremail.luzuokun@126.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div>    The protein was covalently linked by my ligand and I
          used JLigand to generate the link record and the .cif file.
          This file can be used in Refmac successfully. But the .cif
          file cannot be recognized by phenix.model_vs_data nor
          phenix.refine. The program runs with the following message:<br>
        </div>
      </div>
    </blockquote>
    <br>
    Phenix has tools to deal with ligands, including tools to create CIF
    files, and other means to represent the restraints. The outcome of
    these tools should be compatible with other Phenix programs. <br>
    If you use external tools to do this (such as Jligand) then the
    resulting CIF may or may not work with Phenix tools, this is not
    unexpected.<br>
    <br>
    <blockquote
      cite="mid:4d1ebf1a.a5a8.155b4dc9f9c.Coremail.luzuokun@126.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Any
        suggestions how to do this would be greatly appreciated.<br>
      </div>
    </blockquote>
    <br>
    Use ReadySet or eLBOW to generate ligand-related files. If those
    still don't work for you then please get back to us with more
    details and someone here will investigate.<br>
    <br>
    <blockquote
      cite="mid:4d1ebf1a.a5a8.155b4dc9f9c.Coremail.luzuokun@126.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div>Another question is, how can I generate a restraints file
          for COOT to do real space refinement? The .cif file is
          imported in COOT, but when I do real space refinement, the
          link bond still takes apart.<br>
        </div>
      </div>
    </blockquote>
    <br>
    See above. Also, you can do real-space refinement using
    phenix.real_space_refine, from command line or GUI.<br>
    <br>
    All the best,<br>
    Pavel<br>
    <br>
  </body>
</html>