<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    look for "
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    def combine_maps" here:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://cci.lbl.gov/~afonine/mssa2/run.py">http://cci.lbl.gov/~afonine/mssa2/run.py</a><br>
    <br>
    that does it what you want. It reads in all files with map
    coefficients, averages them, and outputs averaged map coefficients.
    Since Fourier transformation is a linear operation, averaging map
    coefficients is equivalent to averaging actual maps.<br>
    <br>
    In 5 minutes I can turn this script into something like<br>
    <br>
    phenix.average_map_coefficients map_coeff1 map_coeff2.mtz labels="
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    2FOFCWT"<br>
    <br>
    Do we need this tool? Tom, how much of non-isomorphism we should
    allow before the above tool stops?<br>
    <br>
    Pavel.<br>
    <br>
    On 3/10/11 9:49 AM, Tom Terwilliger wrote:
    <blockquote cite="mid:D8387E64-9A94-44B1-8452-903566E0F5DF@lanl.gov"
      type="cite">Hi Stephen,
      <div>I don't know of any phenix tools that will average two maps,
        though you are right that everything is there to do it quite
        easily.</div>
      <div>-Tom</div>
      <div><br>
        <div>
          <div>On Mar 10, 2011, at 10:15 AM, Stephen Graham wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div>Hi there,<br>
              <br>
              I'd like to average 2Fo-Fc maps from 2 (approximately)
              isomorphous<br>
              data sets (one with ligand, one without) to see whether I
              get better<br>
              density for some of the noisier bits of the structure. &nbsp;I
              don't want<br>
              to do any kind of solvent flattening, histogram matching,
              cyclical<br>
              averaging, etc; I just want to sum the equivalent pixels
              and divide by<br>
              2.<br>
              <br>
              Is it possible to do this easily using any of the phenix
              tools? &nbsp;It<br>
              seems like all the required plumbing is there with
              get_cc_mtz_mtz or<br>
              superpose_maps, but I can't find a phenix utility for
              averaging two<br>
              superposed maps.<br>
              <br>
              Thanks,<br>
              <br>
              Stephen<br>
              <br>
              -- <br>
              Dr Stephen Graham<br>
              1851 Research Fellow<br>
              Cambridge Institute for Medical Research<br>
              Wellcome Trust/MRC Building<br>
              Addenbrooke's Hospital, Hills Road<br>
              Cambridge, CB2 0XY, UK<br>
              Phone: +44 1223 762 638<br>
              _______________________________________________<br>
              phenixbb mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a><br>
              <a class="moz-txt-link-freetext" href="http://phenix-online.org/mailman/listinfo/phenixbb">http://phenix-online.org/mailman/listinfo/phenixbb</a><br>
            </div>
          </blockquote>
        </div>
        <br>
        <div>
          <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: 12px; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;">
            <div>
              <div>
                <div>
                  <div>
                    <div><br>
                      Thomas C. Terwilliger<br>
                      Mail Stop M888<br>
                      Los Alamos National Laboratory<br>
                      Los Alamos, NM 87545<br>
                      <br>
                      Tel:&nbsp; 505-667-0072&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; email: <a
                        moz-do-not-send="true"
                        href="mailto:terwilliger@LANL.gov">terwilliger@LANL.gov</a><br>
                      Fax: 505-665-3024&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOLVE web site:&nbsp;<a
                        moz-do-not-send="true"
                        href="http://solve.lanl.gov">http://solve.lanl.gov</a><br>
                      PHENIX web site: <a class="moz-txt-link-freetext" href="http:www.phenix-online.org">http:www.phenix-online.org</a><br>
                      ISFI Integrated Center for Structure and Function
                      Innovation web&nbsp;site:&nbsp;<a moz-do-not-send="true"
                        href="http://techcenter.mbi.ucla.edu">http://techcenter.mbi.ucla.edu</a><br>
                      TB Structural Genomics Consortium web site:&nbsp;<a
                        moz-do-not-send="true"
                        href="http://www.doe-mbi.ucla.edu/TB">http://www.doe-mbi.ucla.edu/TB</a></div>
                    <div>CBSS Center for Bio-Security Science web site:
                      <a moz-do-not-send="true"
                        href="http://www.lanl.gov/cbss">http://www.lanl.gov/cbss</a><br>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </span><br class="Apple-interchange-newline">
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
phenixbb mailing list
<a class="moz-txt-link-abbreviated" href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a>
<a class="moz-txt-link-freetext" href="http://phenix-online.org/mailman/listinfo/phenixbb">http://phenix-online.org/mailman/listinfo/phenixbb</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>