Thanks- got it working!  I used #2 (redid the refinement).<br>-Sam<br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 5:54 PM, Nathaniel Echols <span dir="ltr">&lt;<a href="mailto:NEchols@lbl.gov">NEchols@lbl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Oct 27, 2009, at 2:28 PM, Sam Stampfer wrote:<br>
</div><div><div></div><div class="h5">&gt; This isn&#39;t exactly phenix-related but someone might know an easy<br>
&gt; solution.  I&#39;m trying to open an electron density map in pymol.  It<br>
&gt; won&#39;t open .mtz files and the .xplor files I generated from ccp4i<br>
&gt; don&#39;t seem to work either.  I need to have my density as a .xplor<br>
&gt; file in order for pymol to open it (I think).  How would I generate<br>
&gt; a .xplor file from .mtz?  Or, alternately, how can I set phenix to<br>
&gt; output a .xplor file?  I&#39;ve had it output to a cns file instead<br>
&gt; of .mtz but that didn&#39;t help me get it in .xplor format.<br>
<br>
<br>
</div></div>Several solutions:<br>
<br>
1) phenix.create_maps<br>
<br>
2) output.write_maps=True in phenix.refine will generate XPLOR maps.<br>
<br>
3) In the GUI, it should create the XPLOR maps on the fly if you click<br>
one of the &quot;Open in PyMOL&quot; buttons.<br>
<br>
Since most of the necessary code is already floating around, I don&#39;t<br>
mind creating a utility for simply converting map coefficients, if<br>
people would find this useful, but unfortunately we don&#39;t have the<br>
ability to write CCP4-format maps yet.<br>
<br>
One thing to make sure of is that PyMOL is recognizing the input<br>
format correctly - sometimes you need to explicitly state this:<br>
<br>
PyMOL&gt; load 2fofc.xplor, format=xplor<br>
<br>
-------------------<br>
<font color="#888888">Nathaniel Echols<br>
Lawrence Berkeley Lab<br>
510-486-5136<br>
<a href="mailto:NEchols@lbl.gov">NEchols@lbl.gov</a><br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a><br>
<a href="http://www.phenix-online.org/mailman/listinfo/phenixbb" target="_blank">http://www.phenix-online.org/mailman/listinfo/phenixbb</a><br>
</div></div></blockquote></div><br>