<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
</head>
<body fpstyle="1" ocsi="0" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Arial;color: #0000FF;font-size: 10pt;">Hi Pavel,<br>
<br>
<font size="4">Thanks for your message. I did tick two boxes (as also evidenced from checking the final.eff. Here is what I get:<br>
<br>
</font>
<div><font size="4">loop_<br>
&nbsp; _refln.index_h<br>
&nbsp; _refln.index_k<br>
&nbsp; _refln.index_l<br>
&nbsp; _refln.pdbx_FWT<br>
&nbsp; _refln.pdbx_PHWT<br>
&nbsp; _refln.pdbx_DELFWT<br>
&nbsp; _refln.pdbx_DELPHWT<br>
&nbsp; _refln.pdbx_r_free_flag<br>
&nbsp; _refln.status<br>
&nbsp; _refln.pdbx_F_calc_with_solvent<br>
&nbsp; _refln.pdbx_phase_calc_with_solvent<br>
<font size="3"><br>
</font></font>
<div style="font-family:Tahoma; font-size:13px">
<div><font size="3">So it seems as if the first two items in your list: _refln.F_meas_au AND _refln.F_meas_sigma_au (which is what I was looking for, that is Fobs and Sigfobs) are missing.
<br>
</font></div>
<div><font size="3">What version are you running? I'm running phenix-dev-2919 (I tried 2949, the latest bild as of yesterday, and it failed altogether to start a refinement cycle; I reported it to bugs@...).</font></div>
<font size="3">I'll have a look again on the download site.</font></div>
<div style="font-family:Tahoma; font-size:13px"><font size="3"><br>
</font></div>
<div style="font-family:Tahoma; font-size:13px"><font size="3" face="Arial">Thanks for pointing out the problem with mmtbx.prepare_pdb_deposition</font></div>
<div style="font-family:Tahoma; font-size:13px"><font size="3" face="Arial"><br>
</font></div>
<div style="font-family:Tahoma; font-size:13px"><font size="3" face="Arial">&nbsp;Boaz<br>
</font><font size="3"></font>
<div><font size="3">&nbsp;</font></div>
<div><font color="#000080" size="3" face="Times New Roman"><em>Boaz Shaanan, Ph.D.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
E-mail: bshaanan@bgu.ac.il<br>
Phone: 972-8-647-2220&nbsp;&nbsp;Skype: boaz.shaanan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Fax:&nbsp;&nbsp; 972-8-647-2992 or 972-8-646-1710&nbsp;&nbsp;&nbsp;&nbsp;</em></font></div>
<div><font color="#000080" size="3" face="Times New Roman"><em></em></font>&nbsp;</div>
<div><font color="#000080" size="3" face="Times New Roman"><em></em></font>&nbsp;</div>
<div><font size="3" face="Times New Roman"><em><font color="#000080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
<br>
</font></em></font></div>
<font size="3" face="Times New Roman"></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF114326" style="direction: ltr;"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Pavel Afonine [pafonine@lbl.gov]<br>
<b>Sent:</b> Tuesday, November 07, 2017 10:39 PM<br>
<b>To:</b> ��� ����; phenixbb@phenix-online.org<br>
<b>Subject:</b> Re: Question about writing cif files at the last round of refinement<br>
</font><br>
</div>
<div></div>
<div>Hi Boaz,<br>
<br>
<blockquote type="cite"><style type="text/css" id="owaParaStyle">BODY {direction: ltr;font-family: Arial;color: #0000FF;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style>
<div style="direction:ltr; font-family:Arial; color:#0000FF; font-size:10pt"><font size="2" face="Times New Roman">Perhaps I'm doing something wrong but&nbsp; it seems as if I follow the instructions correctly. To write cif files (data and&nbsp; model) in the final refinement
 run I tick the correct boxes in the output box of the gui. I can see in the final.eff that this was accepted. However the data cif file contains only the model derived quantities and not the original Fobs, sigFobs etc. as they are on incoming mtz file. In
 the next stage, as you propose,&nbsp;mmtbx.prepare_pdb_deposition routine expects those quantities (i.e. Fobs etc.). I'm running the nightly build 2919. Am I doing something wrong? I'd appreciate your advice.</font></div>
</blockquote>
<br>
first, you should tick two boxes: &quot;Write final refined model into mmCIF file&quot; and &quot;Write Fobs, Fmodel and R-free-flags into mmCIF file&quot;. Then after refinement you should get two CIF files *_refine_*.cif (refined model) and *_refine_*.reflections.cif (reflections).<br>
<br>
CIF with reflections contains these fields:<br>
<br>
loop_<br>
&nbsp; _refln.index_h<br>
&nbsp; _refln.index_k<br>
&nbsp; _refln.index_l<br>
&nbsp; _refln.F_meas_au<br>
&nbsp; _refln.F_meas_sigma_au<br>
&nbsp; _refln.pdbx_FWT<br>
&nbsp; _refln.pdbx_PHWT<br>
&nbsp; _refln.pdbx_DELFWT<br>
&nbsp; _refln.pdbx_DELPHWT<br>
&nbsp; _refln.pdbx_r_free_flag<br>
&nbsp; _refln.status<br>
&nbsp; _refln.pdbx_F_calc_with_solvent<br>
&nbsp; _refln.pdbx_phase_calc_with_solvent<br>
<br>
where F_meas_au is a name for Fobs (clearly, a weird way to name Fobs, not sure who invented it!).<br>
<br>
This is what I get myself using the latest code. Is it different for you?<br>
<br>
mmtbx.prepare_pdb_deposition seems to broken: I just ran a sample example where I asked to output model and reflection CIFs, and then supplied them to mmtbx.prepare_pdb_deposition and it crashed. Also, it crashes if I give it PDB and MTZ from refinement.<br>
<br>
Pavel<br>
<br>
</div>
</div>
</div>
</body>
</html>