<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>&#8203;Hi Wei,<br>
</p>
<p><br>
</p>
<p>I want to give a word of caution about how to use phenix.map_to_model on crystallographic data...The bottom line is you should remove the test set from your map coefficients before running phenix.map_to model on X-ray data. &nbsp;Here is why:<br>
</p>
<p><br>
</p>
<p>phenix.map_to_model uses real-space refinement, which is refinement against the map. If you supply map coefficients that include your test reflections, then you will be refining against data that is in your test set. &nbsp; This will make your Rfree invalid when
 you go back and refine your model against the original crystallographic data.<br>
</p>
<p><br>
</p>
<p>To remove the test set from your map coefficients you can use:<br>
</p>
<p><br>
</p>
<p>phenix.remove_free_from_map &nbsp;map_coeffs=my_map_coeffs.mtz free_in=my_data_file_with_freeR_flags.mtz mtz_out=my_map_coeffs_no_free.mtz<br>
</p>
<p><br>
</p>
<p>Also note that phenix.map_to_model uses a fixed map (it does not do density modification). &nbsp;Consequently for most crystallographic data at moderate resolution or higher phenix.autobuild is going to do much better than phenix.map_to_model.<br>
</p>
<p><br>
</p>
<p>All the best,<br>
</p>
<p>Tom T<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> dingding830106@163.com &lt;dingding830106@163.com&gt; on behalf of dancingdream@163.com &lt;dancingdream@163.com&gt;<br>
<b>Sent:</b> Tuesday, June 6, 2017 9:16 PM<br>
<b>To:</b> Terwilliger, Thomas Charles<br>
<b>Cc:</b> phenixbb@phenix-online.org<br>
<b>Subject:</b> Re:Re: [phenixbb] phenix.map_to_model input mtz file failure</font>
<div>&nbsp;</div>
</div>
<div>
<div style="line-height:1.7; color:#000000; font-size:14px; font-family:Arial">
<div>Dear Thomas,<br>
I use CAD to convert the labels from FDM-&gt;FWT, PHIDM-&gt;PHFWT, then submit this job again (without
<span style="color:rgb(128,0,128)">map_coeffs_labels=...</span> ), and everything seems ok.<br>
Thank you very much for you help.<br>
Best!<br>
</div>
<br>
<br>
<div style="zoom:1">--<br>
<div><font face="Helvetica, Microsoft Yahei, verdana">Wei Ding</font></div>
<div><span style="line-height:23.8px">P.O.Box 603</span></div>
<div>The Institute of Physics,<span style="line-height:1.7">Chinese Academy of Sciences</span></div>
<div>Beijing,<span style="line-height:1.7">China</span></div>
<div><span style="line-height:23.8px">100190</span></div>
<span style="font-family:Helvetica,'Microsoft Yahei',verdana">Tel: &#43;86-10-82649083<br>
<br style="font-family:Helvetica,'Microsoft Yahei',verdana">
</span><span style="font-family:Helvetica,'Microsoft Yahei',verdana">E-mail:&nbsp;dingwei</span><a href="mailto:wangli@moon.ibp.ac.cn" target="_blank" style="color:rgb(0,51,153); font-family:Helvetica,'Microsoft Yahei',verdana">@iphy.ac.cn</a>
<div style="clear:both"></div>
</div>
<div id="divNeteaseMailCard"></div>
<br>
At 2017-06-07 10:32:14, &quot;Terwilliger, Thomas Charles&quot; &lt;terwilliger@lanl.gov&gt; wrote:<br>
<blockquote id="isReplyContent" style="padding-left:1ex; margin:0px 0px 0px 0.8ex; border-left:#ccc 1px solid">
<style type="text/css" style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
<p>Hi Wei,<br>
</p>
<p><br>
</p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">I'm sorry for the trouble!</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)"><br>
</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">If you supply an MTZ file that has FWT,PHFWT or similar labels, then you can skip the &quot;labels=....&quot; statement and it should run.</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">&nbsp;</span></p>
<p><br>
</p>
<p>Let me know if that does not work!<br>
All the best,<br>
</p>
<p>Tom T<br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b>
<a href="mailto:phenixbb-bounces@phenix-online.org">phenixbb-bounces@phenix-online.org</a> &lt;<a href="mailto:phenixbb-bounces@phenix-online.org">phenixbb-bounces@phenix-online.org</a>&gt; on behalf of
<a href="mailto:dancingdream@163.com">dancingdream@163.com</a> &lt;<a href="mailto:dancingdream@163.com">dancingdream@163.com</a>&gt;<br>
<b>Sent:</b> Tuesday, June 6, 2017 8:19 PM<br>
<b>To:</b> <a href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a><br>
<b>Subject:</b> [phenixbb] phenix.map_to_model input mtz file failure</font>
<div>&nbsp;</div>
</div>
<div>
<div style="line-height:1.7; color:#000000; font-size:14px; font-family:Arial">
<div>Dear Phenix bb,<br>
I intend to build a initial model by phenix.map_to_model. And the command line is as follows:<br>
<span style="color:rgb(128,0,128)">phenix.map_to_model_1.12rc0-2787&nbsp; map_coeffs_file=../rep_dm.mtz map_coeffs_labels=&quot;'FP,SIGFP' 'PHIDM' 'FOMDM'&quot; seq_file=../resolve.seq&nbsp; is_crystal=True&nbsp; use_sg_symmetry=True&nbsp; density_select=False&nbsp; truncate_at_d_min=True</span><br>
</div>
and the feedback like this:<br>
<span style="color:rgb(255,0,0)">Sorry: No initial assignment made for map_coeffs. Labels used: FP,SIGFP PHIDM FOMDM.
<br>
Available labels: ['PHIB', 'FOM', 'HLA,HLB,HLC,HLD', 'FP,SIGFP', 'PHIDM', 'FOMDM', 'FDM', 'HLADM,HLBDM,HLCDM,HLDDM']<br>
NOTE: grouped labels like 'FP,SIGFP' must stay together, <br>
have commas, and have no spaces. If they come from an MTZ file,<br>
they must be in adjacent columns as well.<br>
</span>
<div><span style="color:rgb(255,0,0)">Suggested labels to use:&nbsp; PHIDM&nbsp; FOMDM<br>
</span><span style="color:rgb(0,0,0)">I try many other input format of </span>map_coeffs_labels, such as
<br>
map_coeffs_labels=&quot;FP,SIGFP PHIDM FOMDM&quot;<br>
map_coeffs_labels=[&quot;FP,SIGFP PHIDM FOMDM&quot;]<br>
... ...<br>
but the result is the same. Dose anyone can tell me how to fix this problem?<br>
Thank a lot.<br>
<br>
</div>
<br>
<br>
<br>
<br>
<div style="zoom:1">--<br>
<div><font face="Helvetica, Microsoft Yahei, verdana">Wei Ding</font></div>
<div><span style="line-height:23.8px">P.O.Box 603</span></div>
<div>The Institute of Physics,<span style="line-height:1.7">Chinese Academy of Sciences</span></div>
<div>Beijing,<span style="line-height:1.7">China</span></div>
<div><span style="line-height:23.8px">100190</span></div>
<span style="font-family:Helvetica,'Microsoft Yahei',verdana">Tel: &#43;86-10-82649083</span><br style="font-family:Helvetica,'Microsoft Yahei',verdana">
<span style="font-family:Helvetica,'Microsoft Yahei',verdana">E-mail:&nbsp;dingwei</span><a href="mailto:wangli@moon.ibp.ac.cn" target="_blank" style="color:rgb(0,51,153); font-family:Helvetica,'Microsoft Yahei',verdana">@iphy.ac.cn</a>
<div style="clear:both"></div>
</div>
</div>
<br>
<br>
<span title="neteasefooter">
<p>&nbsp;</p>
</span></div>
</div>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p>&nbsp;</p>
</span></div>
</div>
</body>
</html>