<div dir="ltr">Hi Oli,<div><br></div><div>Thanks for sending me your very nice map and model.  This map can be sharpened with global sharpening (no model needed) in auto_sharpen with: </div><div><br></div><div>     phenix.auto_sharpen map.mrc sharpened_map_file=global.ccp4 resolution=3.26<br></div><div><br></div><div>and the resulting sharpened map is indeed beautiful (and as no model is needed, there is no model bias present.) </div><div><br></div><div>The local model-sharpened map that you generated does indeed have weird density artifacts away from the model. I will look into this and see if there is an easy way to prevent this from happening.</div><div><br></div><div>It looks to me as though, in the region of the model, the global auto-sharpened map (no model used) is very similar to the model-based local-sharpened map.  Both are great and I would have a hard time saying which is more clear.</div><div><br></div><div>All the best,</div><div>Tom T</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 1, 2018 at 10:17 AM, Tom Terwilliger <span dir="ltr">&lt;<a href="mailto:tterwilliger@newmexicoconsortium.org" target="_blank">tterwilliger@newmexicoconsortium.org</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">Hi Oli,<div><br></div><div>I have not investigated masking artifacts in auto_sharpen, so I would be very happy to have a look at your map if you can share it.   I am a particularly interested because (see below) I would have expected that any part of your map that is far from any atoms in your model would be flat as the masking procedure should select only parts of the map that are near your model.  If this is not happening I may need to fix something.<br><br>When you use auto_sharpen with a model, by default the map will be masked around the model (mask_atoms=True).  This means that there is the possibility of some model bias, as masking removes density that is outside the model.  Auto-sharpen uses phenix.map_box to do this masking, with a default of 3 A around all atoms in the model for this mask (mask_atoms_atom_radius=3) , plus a &quot;soft&quot; boundary of an additional 3 A beyond that (soft_mask=True).</div><div><br></div><div>If you want to minimize model bias, you can set mask_atoms=False instead, or increase the radius for masking.  You can also use sharpening without the model (I recommend trying this as it is almost as good as sharpening with a model).</div><div><br></div><div>In model-based local sharpening, auto-sharpen carries out sharpening in one box of density at a time within the map. The boxes are chosen only in regions that contain atoms in your model, and the density for a point in the final map is the weighted average of densities for all boxes that overlap that point.  For regions where there are no atoms in your model, the density from overall (global) sharpening is used.</div><div><br></div><div>So to answer your key question, there should normally be minimal model bias, but it can certainly be present.  The way to determine if there is model bias is a very simple experiment:  Take your model, remove something from that model that is a small part of the model but that is very clear in the density (for a high-res map, remove a few side chains with good density for example, for a low-res map remove a helix).  Run the procedure again with this slightly modified model.  If the density changes substantially in the region where you manipulated the model...you have model bias.</div><div><br></div><div><br></div><div>All the best,</div><div>Tom T</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 1, 2018 at 9:46 AM, Oliver Clarke <span dir="ltr">&lt;<a href="mailto:olibclarke@gmail.com" target="_blank">olibclarke@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I’m trying to run phenix.auto_sharpen with local sharpening, because I have an EM map that has a reasonably substantial variation in local resolution. This is the command I used:<br>
<br>
phenix.auto_sharpen cryosparc_exp001049_008.mrc resolution=3.26 local_sharpening=true local_aniso_in_local_sharpenin<wbr>g=true model.pdb nproc=4 seq_file=seq.fasta &gt;&amp; log &amp;<br>
<br>
The resulting map looks beautiful (maybe a little too beautiful??) around the model, but shows some funky looking squared-off masking artifacts in the density further away from the model (in the micelle region). I tried to add a screenshot but the list wouldn’t let me. Am I doing something wrong? And can I trust that the density is completely free of model bias?<br>
<br>
Cheers<br>
Oli<br>
<br>
<br>
______________________________<wbr>_________________<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/mailm<wbr>an/listinfo/phenixbb</a><br>
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org" target="_blank">phenixbb-leave@phenix-online.o<wbr>rg</a></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-4372721460823695498gmail_signature" data-smartmail="gmail_signature"><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@<wbr>newmexicoconsortium.org</a></div><div>Tel: <a href="tel:(505)%20431-0033" value="+15054310033" target="_blank">505-431-0033</a></div><div><br></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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-0033</div><div><br></div></div></div></div></div></div></div></div>
</div>