<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Merging</id>
	<title>Merging - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Merging"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;action=history"/>
	<updated>2026-06-13T20:42:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=841&amp;oldid=prev</id>
		<title>Tara: /* Merging a set of integration files */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=841&amp;oldid=prev"/>
		<updated>2014-09-29T22:44:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Merging a set of integration files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 29 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; d_min&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; d_min&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Limiting resolution for scaling and merging&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Limiting resolution for scaling and merging&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; pixel_size&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: set the pixel size for the detector used, this is a single value (0.11 for CSPad)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; data&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Directory containing integrated data in pickle format.  Repeat to specify additional directories.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Directory containing integrated data in pickle format.  Repeat to specify additional directories.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; set_average_unit_cell&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; set_average_unit_cell&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the unit cell of the merged data to the average of the merged images, otherwise use the unit cell of the scaling reference&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the unit cell of the merged data to the average of the merged images, otherwise use the unit cell of the scaling reference&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; pixel_size&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the pixel size for the detector used, this is a single value (0.11 for CSPad)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The merged data is written to an mtz-file named &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;output.prefix&amp;lt;/i&amp;gt;.mtz&amp;lt;/code&amp;gt;.  Standard output, redirected to &amp;lt;code&amp;gt;merge.out&amp;lt;/code&amp;gt; above, mainly consists of statistics for each individual image as it is scaled.  The output concludes with a section labelled &amp;lt;code&amp;gt;FINISHED MERGING&amp;lt;/code&amp;gt;, which first lists the number of accepted and rejected images,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The merged data is written to an mtz-file named &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;output.prefix&amp;lt;/i&amp;gt;.mtz&amp;lt;/code&amp;gt;.  Standard output, redirected to &amp;lt;code&amp;gt;merge.out&amp;lt;/code&amp;gt; above, mainly consists of statistics for each individual image as it is scaled.  The output concludes with a section labelled &amp;lt;code&amp;gt;FINISHED MERGING&amp;lt;/code&amp;gt;, which first lists the number of accepted and rejected images,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tara</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=840&amp;oldid=prev</id>
		<title>Tara: /* Merging a set of integration files */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=840&amp;oldid=prev"/>
		<updated>2014-09-29T22:43:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Merging a set of integration files&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The result of [[Indexing and integration]] is a set of Python pickle files, each of which essentially contains a table of Miller indices of the observed reflections, their integrated intensities, and estimated errors.  In the general case, these files reflect the measurements from single shots, each exposing different crystals with a unique pulse of X-rays.  &amp;#039;&amp;#039;Merging&amp;#039;&amp;#039; refers to the procedure applied to unite all these observations into a single data set.  During merging, a distinct multiplicative factor, which accounts for the variance in pulse intensity and crystal size, is applied to the observations from a single shot to bring all the observations onto a common scale.  After rejecting possible outliers, the intensities for individual reflections are summed, and their errors are propagated in quadrature.  The result of merging is an mtz file suited for further processing, &amp;#039;&amp;#039;e.g.&amp;#039;&amp;#039; molecular replacement.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Merging a set of integration files ==&lt;br /&gt;
In &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; the per-image scale factors are determined using a &amp;#039;&amp;#039;scaling reference&amp;#039;&amp;#039;.  This scaling reference is expected to be a previously solved, isomorphous data set.  The scale factor is determined by a least-squares fit of the observations to the reference intensities, after applying corrections for polarization&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1107/S0021889882012060 Kahn, R, &amp;lt;i&amp;gt;et al.&amp;lt;/i&amp;gt; Macromolecular Crystallography with Synchrotron Radiation: Photographic Data Collection and Polarization Correction. &amp;lt;i&amp;gt;J Appl Cryst&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;15&amp;lt;/b&amp;gt;, 330–337 (1982).]&amp;lt;/ref&amp;gt;, and a significance filter, which limits the resolution of each diffraction pattern based on the signal-to-noise ratio.  Lattices not conforming to the Bravais symmetry of the scaling reference are rejected.  By default non-isomorphous lattices with cell lengths differing by more than 10% in length from the mean, or 2° in the angles are also rejected, as are lattices that correlate poorly with the scaling reference.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039; may take several passes over the integrated images.  In order to speed up processing, &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039; will write the scaled data to a back  end database during each pass.  Currently three database back ends are implemented.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; is the simplest back end.  It stores the scaled intensities, their Miller indices, and information about the shots they were observed during in three flat files on the file system.&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; back end stores data in a MySQL database.  The database must be set up beforehand, and credentials to access it must be supplied in the parameters passed to &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end uses a simple SQLite database, which is written to a single file on the file system.  It is easier to use than the &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; back end and more efficient than the &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; backend.  Regrettably, the &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end does not appear to work on the Lustre file system.&lt;br /&gt;
&lt;br /&gt;
In &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; images are merged using the &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; command.  &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; accepts several options which can conveniently be assembled in a &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file.  In this tutorial only a subset of the available options are defined.&lt;br /&gt;
&lt;br /&gt;
; backend&lt;br /&gt;
: Back end database; &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; for flat-file ASCII data storage, &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; for the respective proper database back ends.  &lt;br /&gt;
; d_min&lt;br /&gt;
: Limiting resolution for scaling and merging&lt;br /&gt;
; data&lt;br /&gt;
: Directory containing integrated data in pickle format.  Repeat to specify additional directories.&lt;br /&gt;
; merge_anomalous&lt;br /&gt;
: &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; to merge anomalous contributors (&amp;#039;&amp;#039;i.e.&amp;#039;&amp;#039; Bijvoet mates), &amp;lt;code&amp;gt;False&amp;lt;/code&amp;gt; to preserve them&lt;br /&gt;
; min_corr&lt;br /&gt;
: Correlation cutoff for rejecting individual frames&lt;br /&gt;
; model&lt;br /&gt;
: The scaling reference, PDB filename containing atomic coordinates and isomorphous &amp;lt;code&amp;gt;CRYST1&amp;lt;/code&amp;gt; record.  Note:  quick command to download a pdb file from the Internet is: &amp;lt;code&amp;gt; phenix.fetch_pdb [pdb_code]&amp;lt;/code&amp;gt;&lt;br /&gt;
; nproc&lt;br /&gt;
: Specifies the number of scaling processes &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039; may have running at any one time&lt;br /&gt;
; output.prefix&lt;br /&gt;
: Prefix for all output file names&lt;br /&gt;
; rawdata.sdfac_auto&lt;br /&gt;
: &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; to apply &amp;lt;code&amp;gt;SDFAC&amp;lt;/code&amp;gt; correction to each image, assuming negative intensities are normally distributed noise&lt;br /&gt;
; rescale_with_average_cell&lt;br /&gt;
: Rescale the images a second time, requiring images to conform to the average unit cell.  If set to &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;set_average_unit_cell&amp;lt;/code&amp;gt; must also be set to &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt;.&lt;br /&gt;
; set_average_unit_cell&lt;br /&gt;
: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the unit cell of the merged data to the average of the merged images, otherwise use the unit cell of the scaling reference&lt;br /&gt;
; pixel_size&lt;br /&gt;
: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the pixel size for the detector used, this is a single value (0.11 for CSPad)&lt;br /&gt;
&lt;br /&gt;
The merged data is written to an mtz-file named &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;output.prefix&amp;lt;/i&amp;gt;.mtz&amp;lt;/code&amp;gt;.  Standard output, redirected to &amp;lt;code&amp;gt;merge.out&amp;lt;/code&amp;gt; above, mainly consists of statistics for each individual image as it is scaled.  The output concludes with a section labelled &amp;lt;code&amp;gt;FINISHED MERGING&amp;lt;/code&amp;gt;, which first lists the number of accepted and rejected images,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 962 of 1185 integration files were accepted&lt;br /&gt;
 127 rejected due to wrong Bravais group&lt;br /&gt;
 1 rejected for unit cell outliers&lt;br /&gt;
 12 rejected for low signal&lt;br /&gt;
 83 rejected due to poor correlation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is followed by a histograms of the unit cell distribution, and the merging table:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------------------&lt;br /&gt;
                                     &amp;lt;asu   &amp;lt;obs&lt;br /&gt;
Bin  Resolution Range  Completeness redun&amp;gt; redun&amp;gt; n_meas   &amp;lt;I&amp;gt;    &amp;lt;I/sig(I)&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------------------&lt;br /&gt;
  1 -1.0000 -  6.4633     [306/309]  67.61  68.28  20893    35621    27.044&lt;br /&gt;
  2  6.4633 -  5.1299     [285/285]  43.18  43.18  12305    19272    12.490&lt;br /&gt;
  3  5.1299 -  4.4814     [275/275]  46.77  46.77  12862    24391    14.261&lt;br /&gt;
  4  4.4814 -  4.0716     [269/269]  43.38  43.38  11670    29436    14.819&lt;br /&gt;
  5  4.0716 -  3.7798     [249/249]  35.50  35.50   8840    29811    12.716&lt;br /&gt;
  6  3.7798 -  3.5569     [267/267]  32.07  32.07   8562    24212    10.523&lt;br /&gt;
  7  3.5569 -  3.3787     [274/274]  20.99  20.99   5750    23626     8.171&lt;br /&gt;
  8  3.3787 -  3.2317     [256/256]  15.96  15.96   4085    24168     6.746&lt;br /&gt;
  9  3.2317 -  3.1072     [263/264]  12.16  12.20   3209    23936     5.859&lt;br /&gt;
 10  3.1072 -  3.0000     [263/263]   8.74   8.74   2298    20613     4.556&lt;br /&gt;
&lt;br /&gt;
All                     [2707/2711]  33.37  33.42  90474    25594    11.978&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, the overall completeness to 3.0 Å is 2,707 / 2,711, or approximately 100%, and each observed reflection is measured 33.42 times on average (&amp;lt;code&amp;gt;&amp;lt;obs redun&amp;gt;&amp;lt;/code&amp;gt;).  In total 90,474 observations, with an average scaled and integrated intensity of 25,594 analog-to-digital units (ADU), were merged and the mean &amp;lt;i&amp;gt;I&amp;lt;/i&amp;gt; / σ(&amp;lt;i&amp;gt;I&amp;lt;/i&amp;gt;) was determined to be 11.978.&lt;br /&gt;
&lt;br /&gt;
== Additional merging statistics ==&lt;br /&gt;
&amp;#039;&amp;#039;cxi.xmerge&amp;#039;&amp;#039; retrieves the scaled, unmerged intensities from the database back end, and calculates the &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt;&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1126/science.1218231 Karplus, P. A. &amp;amp; Diederichs, K. Linking Crystallographic Model and Data Quality. &amp;lt;i&amp;gt;Science&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;336&amp;lt;/b&amp;gt;, 1030–1033 (2012).]&amp;lt;/ref&amp;gt; and &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; statistics.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; is defined as Pearson&amp;#039;s correlation coefficient between two sets, such that for each ￼unique reflection the average intensities of two randomly chosen halves of its ￼independent observations are assigned to different set.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; is the correlation coefficient between the merged data and the isomorphous scaling reference.  Both statistics are computed in each resolution bin, as well as for the full set of reflections.&lt;br /&gt;
&lt;br /&gt;
Once the database has been populated using &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039;, &amp;#039;&amp;#039;cxi.xmerge&amp;#039;&amp;#039; can be run, using the parameters defined in a &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-file, &amp;lt;code&amp;gt;Ls-04-lysozyme-xmerge.phil&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cxi.xmerge Ls04-lysozyme-xmerge.phil&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The options used in this tutorial not already described in [[#Merging a set of integration files|Merging a set of integration files]] are explained below.&lt;br /&gt;
; scaling.mtz_file&lt;br /&gt;
: mtz-file containing experimentally determined reference structure factors, such as synchrotron measurements, to be used for CC&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt;.  Experimental measurements, when available, can be downloaded from the PDB using &amp;lt;code&amp;gt;phenix.fetch_pdb –-mtz [pdb_code]&amp;lt;/code&amp;gt;. &lt;br /&gt;
; scaling.mtz_column_F&lt;br /&gt;
: In the experimental measurements mtz-file, the column name containing the reference data; can be either amplitudes or intensities.  The column name should be given &amp;#039;&amp;#039;&amp;#039;in lower case&amp;#039;&amp;#039;&amp;#039;. An MTZ-format file can be inspected to see which columns it contains with &amp;lt;code&amp;gt;phenix.mtz.dump [code].mtz&amp;lt;/code&amp;gt;.  Quick tip:  if experimental measurements are unavailable, mock experimental structure factors can be generated with &amp;lt;br&amp;gt;&amp;lt;code&amp;gt;phenix.fmodel &amp;lt;pdb file&amp;gt; high_resolution=&amp;lt;value&amp;gt; output.type=real&amp;lt;/code&amp;gt; in which case one would use &amp;lt;code&amp;gt;scaling.mtz_column_F=fmodel&amp;lt;/code&amp;gt;.&lt;br /&gt;
; scaling.log_cutoff&lt;br /&gt;
: Intensities less than &amp;lt;i&amp;gt;e&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;code&amp;gt;scaling.log_cutoff&amp;lt;/code&amp;gt;&amp;lt;/sup&amp;gt; will not be included in  the calculation of CC&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; and R&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; (however, these measurements will still be included in the final merged data). &lt;br /&gt;
&lt;br /&gt;
The results are printed on standard output and conclude with a table including the &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
                                      CC            CC            R     R   Scale Scale&lt;br /&gt;
Bin  Resolution Range  Completeness  int     N     iso     N     int   iso   int   iso&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
  1 -1.0000 -  6.4633     [233/309] 45.1%     233 56.3%     142 57.5% 45.6% 0.749 3.084&lt;br /&gt;
  2  6.4633 -  5.1299     [184/285] 22.5%     184 56.7%      62 57.2% 31.5% 0.862 2.841&lt;br /&gt;
  3  5.1299 -  4.4814     [203/275] 43.7%     203 57.6%      85 55.3% 37.0% 0.830 2.977&lt;br /&gt;
  4  4.4814 -  4.0716     [220/269] 39.0%     220 59.7%     101 51.4% 30.3% 0.805 3.296&lt;br /&gt;
  5  4.0716 -  3.7798     [187/249] 77.5%     187 33.6%      63 54.3% 39.4% 0.775 4.243&lt;br /&gt;
  6  3.7798 -  3.5569     [198/267] 35.4%     198 47.2%      56 56.8% 27.5% 0.903 3.587&lt;br /&gt;
  7  3.5569 -  3.3787     [198/274] 32.0%     198 70.7%      40 59.9% 31.4% 0.814 3.846&lt;br /&gt;
  8  3.3787 -  3.2317     [163/256] 30.6%     163 24.5%      28 63.9% 49.1% 0.734 4.278&lt;br /&gt;
  9  3.2317 -  3.1072     [164/264] 40.6%     164 53.6%       7 80.4% 32.1% 0.622 5.543&lt;br /&gt;
 10  3.1072 -  3.0000     [137/261]  8.2%     137 93.9%       5 85.6% 33.4% 0.221 4.372&lt;br /&gt;
&lt;br /&gt;
All                                 34.7%    1887 47.7%     589 62.5% 39.5% 0.754 3.157&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case the overall &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC int&amp;lt;/code&amp;gt;) is 34.7%, and the correlation coefficient to the isomorphous reference, &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC iso&amp;lt;/code&amp;gt;) is 47.7%.&lt;br /&gt;
Note that the completeness for the cxi.xmerge output appears lower than that for the cxi.merge output. This is because the cxi.xmerge final table shows the completeness for the data used in the calculation of correlation coefficients, and so the completeness in the previous table should be used for general statistics.&lt;br /&gt;
&lt;br /&gt;
== Merging the tutorial data ==&lt;br /&gt;
&lt;br /&gt;
Compared to indexing and integration, merging is a relatively quick procedure.  However, particularly for large datasets, it may significantly strain computational resources.  Therefore, it is recommended to merge data on SLAC&amp;#039;s interactive nodes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh psanacs.slac.stanford.edu&lt;br /&gt;
$ cd myrelease&lt;br /&gt;
$ cp /reg/g/cctbx/tutorials/merging/Ls04-lysozyme-*merge.phil .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Before running the merging programs, the &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cxi.xmerge&amp;lt;/code&amp;gt; log to standard output, it is advisable to redirect the stream to a file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cxi.merge Ls04-lysozyme-merge.phil &amp;gt; merge.out&lt;br /&gt;
$ cxi.xmerge Ls04-lysozyme-xmerge.phil &amp;gt; xmerge.out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The merged reflections, suitable for further processing, are written &amp;lt;code&amp;gt;Ls04-lysozyme.mtz&amp;lt;/code&amp;gt;. Note that although the data for this tutorial extends to 2.2 Å, the statistics become exceedingly poor around 3.0 Å.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tara</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=242&amp;oldid=prev</id>
		<title>Aaron: /* Merging the tutorial data */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=242&amp;oldid=prev"/>
		<updated>2014-02-04T22:51:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Merging the tutorial data&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The result of [[Indexing and integration]] is a set of Python pickle files, each of which essentially contains a table of Miller indices of the observed reflections, their integrated intensities, and estimated errors.  In the general case, these files reflect the measurements from single shots, each exposing different crystals with a unique pulse of X-rays.  &amp;#039;&amp;#039;Merging&amp;#039;&amp;#039; refers to the procedure applied to unite all these observations into a single data set.  During merging, a distinct multiplicative factor, which accounts for the variance in pulse intensity and crystal size, is applied to the observations from a single shot to bring all the observations onto a common scale.  After rejecting possible outliers, the intensities for individual reflections are summed, and their errors are propagated in quadrature.  The result of merging is an mtz file suited for further processing, &amp;#039;&amp;#039;e.g.&amp;#039;&amp;#039; molecular replacement.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Merging a set of integration files ==&lt;br /&gt;
In &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; the per-image scale factors are determined using a &amp;#039;&amp;#039;scaling reference&amp;#039;&amp;#039;.  This scaling reference is expected to be a previously solved, isomorphous data set.  The scale factor is determined by a least-squares fit of the observations to the reference intensities, after applying corrections for polarization&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1107/S0021889882012060 Kahn, R, &amp;lt;i&amp;gt;et al.&amp;lt;/i&amp;gt; Macromolecular Crystallography with Synchrotron Radiation: Photographic Data Collection and Polarization Correction. &amp;lt;i&amp;gt;J Appl Cryst&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;15&amp;lt;/b&amp;gt;, 330–337 (1982).]&amp;lt;/ref&amp;gt;, and a significance filter, which limits the resolution of each diffraction pattern based on the signal-to-noise ratio.  Lattices not conforming to the Bravais symmetry of the scaling reference are rejected.  By default non-isomorphous lattices with cell lengths differing by more than 10% in length from the mean, or 2° in the angles are also rejected, as are lattices that correlate poorly with the scaling reference.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039; may take several passes over the integrated images.  In order to speed up processing, &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039; will write the scaled data to a back  end database during each pass.  Currently three database back ends are implemented.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; is the simplest back end.  It stores the scaled intensities, their Miller indices, and information about the shots they were observed during in three flat files on the file system.&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; back end stores data in a MySQL database.  The database must be set up beforehand, and credentials to access it must be supplied in the parameters passed to &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end uses a simple SQLite database, which is written to a single file on the file system.  It is easier to use than the &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; back end and more efficient than the &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; backend.  Regrettably, the &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end does not appear to work on the Lustre file system.&lt;br /&gt;
&lt;br /&gt;
In &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; images are merged using the &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; command.  &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; accepts several options which can conveniently be assembled in a &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file.  In this tutorial only a subset of the available options are defined.&lt;br /&gt;
&lt;br /&gt;
; backend&lt;br /&gt;
: Back end database; &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; for flat-file ASCII data storage, &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; for the respective proper database back ends.  &lt;br /&gt;
; d_min&lt;br /&gt;
: Limiting resolution for scaling and merging&lt;br /&gt;
; data&lt;br /&gt;
: Directory containing integrated data in pickle format.  Repeat to specify additional directories.&lt;br /&gt;
; merge_anomalous&lt;br /&gt;
: &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; to merge anomalous contributors (&amp;#039;&amp;#039;i.e.&amp;#039;&amp;#039; Bijvoet mates), &amp;lt;code&amp;gt;False&amp;lt;/code&amp;gt; to preserve them&lt;br /&gt;
; min_corr&lt;br /&gt;
: Correlation cutoff for rejecting individual frames&lt;br /&gt;
; model&lt;br /&gt;
: The scaling reference, PDB filename containing atomic coordinates and isomorphous &amp;lt;code&amp;gt;CRYST1&amp;lt;/code&amp;gt; record&lt;br /&gt;
; nproc&lt;br /&gt;
: Specifies the number of scaling processes &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039; may have running at any one time&lt;br /&gt;
; output.prefix&lt;br /&gt;
: Prefix for all output file names&lt;br /&gt;
; rawdata.sdfac_auto&lt;br /&gt;
: &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; to apply &amp;lt;code&amp;gt;SDFAC&amp;lt;/code&amp;gt; correction to each image, assuming negative intensities are normally distributed noise&lt;br /&gt;
; rescale_with_average_cell&lt;br /&gt;
: Rescale the images a second time, requiring images to conform to the average unit cell.  If set to &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;set_average_unit_cell&amp;lt;/code&amp;gt; must also be set to &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt;.&lt;br /&gt;
; set_average_unit_cell&lt;br /&gt;
: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the unit cell of the merged data to the average of the merged images, otherwise use the unit cell of the scaling reference&lt;br /&gt;
&lt;br /&gt;
The merged data is written to an mtz-file named &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;output.prefix&amp;lt;/i&amp;gt;.mtz&amp;lt;/code&amp;gt;.  Standard output, redirected to &amp;lt;code&amp;gt;merge.out&amp;lt;/code&amp;gt; above, mainly consists of statistics for each individual image as it is scaled.  The output concludes with a section labelled &amp;lt;code&amp;gt;FINISHED MERGING&amp;lt;/code&amp;gt;, which first lists the number of accepted and rejected images,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 962 of 1185 integration files were accepted&lt;br /&gt;
 127 rejected due to wrong Bravais group&lt;br /&gt;
 1 rejected for unit cell outliers&lt;br /&gt;
 12 rejected for low signal&lt;br /&gt;
 83 rejected due to poor correlation&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is followed by a histograms of the unit cell distribution, and the merging table:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------------------&lt;br /&gt;
                                     &amp;lt;asu   &amp;lt;obs&lt;br /&gt;
Bin  Resolution Range  Completeness redun&amp;gt; redun&amp;gt; n_meas   &amp;lt;I&amp;gt;    &amp;lt;I/sig(I)&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------------------&lt;br /&gt;
  1 -1.0000 -  6.4633     [306/309]  67.61  68.28  20893    35621    27.044&lt;br /&gt;
  2  6.4633 -  5.1299     [285/285]  43.18  43.18  12305    19272    12.490&lt;br /&gt;
  3  5.1299 -  4.4814     [275/275]  46.77  46.77  12862    24391    14.261&lt;br /&gt;
  4  4.4814 -  4.0716     [269/269]  43.38  43.38  11670    29436    14.819&lt;br /&gt;
  5  4.0716 -  3.7798     [249/249]  35.50  35.50   8840    29811    12.716&lt;br /&gt;
  6  3.7798 -  3.5569     [267/267]  32.07  32.07   8562    24212    10.523&lt;br /&gt;
  7  3.5569 -  3.3787     [274/274]  20.99  20.99   5750    23626     8.171&lt;br /&gt;
  8  3.3787 -  3.2317     [256/256]  15.96  15.96   4085    24168     6.746&lt;br /&gt;
  9  3.2317 -  3.1072     [263/264]  12.16  12.20   3209    23936     5.859&lt;br /&gt;
 10  3.1072 -  3.0000     [263/263]   8.74   8.74   2298    20613     4.556&lt;br /&gt;
&lt;br /&gt;
All                     [2707/2711]  33.37  33.42  90474    25594    11.978&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, the overall completeness to 3.0 Å is 2,707 / 2,711, or approximately 100%, and each observed reflection is measured 33.42 times on average (&amp;lt;code&amp;gt;&amp;lt;obs redun&amp;gt;&amp;lt;/code&amp;gt;).  In total 90,474 observations, with an average scaled and integrated intensity of 25,594 analog-to-digital units (ADU), were merged and the mean &amp;lt;i&amp;gt;I&amp;lt;/i&amp;gt; / σ(&amp;lt;i&amp;gt;I&amp;lt;/i&amp;gt;) was determined to be 11.978.&lt;br /&gt;
&lt;br /&gt;
== Additional merging statistics ==&lt;br /&gt;
&amp;#039;&amp;#039;cxi.xmerge&amp;#039;&amp;#039; retrieves the scaled, unmerged intensities from the database back end, and calculates the &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt;&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1126/science.1218231 Karplus, P. A. &amp;amp; Diederichs, K. Linking Crystallographic Model and Data Quality. &amp;lt;i&amp;gt;Science&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;336&amp;lt;/b&amp;gt;, 1030–1033 (2012).]&amp;lt;/ref&amp;gt; and &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; statistics.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; is defined as Pearson&amp;#039;s correlation coefficient between two sets, such that for each ￼unique reflection the average intensities of two randomly chosen halves of its ￼independent observations are assigned to different set.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; is the correlation coefficient between the merged data and the isomorphous scaling reference.  Both statistics are computed in each resolution bin, as well as for the full set of reflections.&lt;br /&gt;
&lt;br /&gt;
Once the database has been populated using &amp;#039;&amp;#039;cxi.merge&amp;#039;&amp;#039;, &amp;#039;&amp;#039;cxi.xmerge&amp;#039;&amp;#039; can be run, using the parameters defined in a &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-file, &amp;lt;code&amp;gt;Ls-04-lysozyme-xmerge.phil&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cxi.xmerge Ls04-lysozyme-xmerge.phil&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The options used in this tutorial not already described in [[#Merging a set of integration files|Merging a set of integration files]] are explained below.&lt;br /&gt;
; scaling.mtz_column_F&lt;br /&gt;
: Column name in the reference structure mtz-file with structure factors&lt;br /&gt;
; scaling.mtz_file&lt;br /&gt;
: mtz-file with reference structure factors, must have data type &amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt;.  Quick tip:  model structure factors can be generated with &amp;lt;br&amp;gt;&amp;lt;code&amp;gt;phenix.fmodel &amp;lt;pdb file&amp;gt; high_resolution=&amp;lt;value&amp;gt; output.type=real&amp;lt;/code&amp;gt; in which case one would use &amp;lt;b&amp;gt;scaling.mtz_column_F=fmodel&amp;lt;/b&amp;gt;.&lt;br /&gt;
; scaling.log_cutoff&lt;br /&gt;
: Intensities less than &amp;lt;i&amp;gt;e&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;code&amp;gt;scaling.log_cutoff&amp;lt;/code&amp;gt;&amp;lt;/sup&amp;gt; will not be included in  the calculation&lt;br /&gt;
&lt;br /&gt;
The results are printed on standard output and conclude with a table including the &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
                                      CC            CC            R     R   Scale Scale&lt;br /&gt;
Bin  Resolution Range  Completeness  int     N     iso     N     int   iso   int   iso&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
  1 -1.0000 -  6.4633     [233/309] 45.1%     233 56.3%     142 57.5% 45.6% 0.749 3.084&lt;br /&gt;
  2  6.4633 -  5.1299     [184/285] 22.5%     184 56.7%      62 57.2% 31.5% 0.862 2.841&lt;br /&gt;
  3  5.1299 -  4.4814     [203/275] 43.7%     203 57.6%      85 55.3% 37.0% 0.830 2.977&lt;br /&gt;
  4  4.4814 -  4.0716     [220/269] 39.0%     220 59.7%     101 51.4% 30.3% 0.805 3.296&lt;br /&gt;
  5  4.0716 -  3.7798     [187/249] 77.5%     187 33.6%      63 54.3% 39.4% 0.775 4.243&lt;br /&gt;
  6  3.7798 -  3.5569     [198/267] 35.4%     198 47.2%      56 56.8% 27.5% 0.903 3.587&lt;br /&gt;
  7  3.5569 -  3.3787     [198/274] 32.0%     198 70.7%      40 59.9% 31.4% 0.814 3.846&lt;br /&gt;
  8  3.3787 -  3.2317     [163/256] 30.6%     163 24.5%      28 63.9% 49.1% 0.734 4.278&lt;br /&gt;
  9  3.2317 -  3.1072     [164/264] 40.6%     164 53.6%       7 80.4% 32.1% 0.622 5.543&lt;br /&gt;
 10  3.1072 -  3.0000     [137/261]  8.2%     137 93.9%       5 85.6% 33.4% 0.221 4.372&lt;br /&gt;
&lt;br /&gt;
All                                 34.7%    1887 47.7%     589 62.5% 39.5% 0.754 3.157&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case the overall &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC int&amp;lt;/code&amp;gt;) is 34.7%, and the correlation coefficient to the isomorphous reference, &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC iso&amp;lt;/code&amp;gt;) is 47.7%.&lt;br /&gt;
Note that the completeness for the cxi.xmerge output appears lower than that for the cxi.merge output. This is because the cxi.xmerge final table shows the completeness for the data used in the calculation of correlation coefficients, and so the completeness in the previous table should be used for general statistics.&lt;br /&gt;
&lt;br /&gt;
== Merging the tutorial data ==&lt;br /&gt;
&lt;br /&gt;
Compared to indexing and integration, merging is a relatively quick procedure.  However, particularly for large datasets, it may significantly strain computational resources.  Therefore, it is recommended to merge data on SLAC&amp;#039;s interactive nodes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh psanacs.slac.stanford.edu&lt;br /&gt;
$ cd myrelease&lt;br /&gt;
$ cp /reg/g/cctbx/tutorials/merging/Ls04-lysozyme-*merge.phil .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Before running the merging programs, the &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cxi.xmerge&amp;lt;/code&amp;gt; log to standard output, it is advisable to redirect the stream to a file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cxi.merge Ls04-lysozyme-merge.phil &amp;gt; merge.out&lt;br /&gt;
$ cxi.xmerge Ls04-lysozyme-xmerge.phil &amp;gt; xmerge.out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The merged reflections, suitable for further processing, are written &amp;lt;code&amp;gt;Ls04-lysozyme.mtz&amp;lt;/code&amp;gt;. Note that although the data for this tutorial extends to 2.2 Å, the statistics become exceedingly poor around 3.0 Å.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=241&amp;oldid=prev</id>
		<title>Hattne: cxi.merge -&gt; cxi.xmerge</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=241&amp;oldid=prev"/>
		<updated>2013-10-04T11:28:52Z</updated>

		<summary type="html">&lt;p&gt;cxi.merge -&amp;gt; cxi.xmerge&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:28, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l117&quot;&gt;Line 117:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 117:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cxi.merge Ls04-lysozyme-merge.phil &amp;gt; merge.out&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cxi.merge Ls04-lysozyme-merge.phil &amp;gt; merge.out&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cxi.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;merge &lt;/del&gt;Ls04-lysozyme-xmerge.phil &amp;gt; xmerge.out&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cxi.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;xmerge &lt;/ins&gt;Ls04-lysozyme-xmerge.phil &amp;gt; xmerge.out&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The merged reflections, suitable for further processing, are written &amp;lt;code&amp;gt;Ls04-lysozyme.mtz&amp;lt;/code&amp;gt;. Note that although the data for this tutorial extends to 2.2 Å, the statistics become exceedingly poor around 3.0 Å.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The merged reflections, suitable for further processing, are written &amp;lt;code&amp;gt;Ls04-lysozyme.mtz&amp;lt;/code&amp;gt;. Note that although the data for this tutorial extends to 2.2 Å, the statistics become exceedingly poor around 3.0 Å.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=240&amp;oldid=prev</id>
		<title>Hattne: Corrected typo.</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=240&amp;oldid=prev"/>
		<updated>2013-10-04T11:28:10Z</updated>

		<summary type="html">&lt;p&gt;Corrected typo.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:28, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l112&quot;&gt;Line 112:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 112:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh psanacs.slac.stanford.edu&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh psanacs.slac.stanford.edu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cd myrelease&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cd myrelease&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cp /reg/d/ffb/cxi/temp/cctbx/tutorials/merging/Ls04-lysozyme-*merge.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cfg &lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cp /reg/d/ffb/cxi/temp/cctbx/tutorials/merging/Ls04-lysozyme-*merge.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;phil &lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before running the merging programs, the &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cxi.xmerge&amp;lt;/code&amp;gt; log to standard output, it is advisable to redirect the stream to a file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before running the merging programs, the &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cxi.xmerge&amp;lt;/code&amp;gt; log to standard output, it is advisable to redirect the stream to a file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=239&amp;oldid=prev</id>
		<title>Hattne: Corrected path</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=239&amp;oldid=prev"/>
		<updated>2013-10-04T11:27:23Z</updated>

		<summary type="html">&lt;p&gt;Corrected path&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:27, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l112&quot;&gt;Line 112:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 112:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh psanacs.slac.stanford.edu&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh psanacs.slac.stanford.edu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cd myrelease&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cd myrelease&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cp /reg/d/ffb/cxi/temp/cctbx/tutorials/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;indexing&lt;/del&gt;/Ls04-lysozyme-*merge.cfg .&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cp /reg/d/ffb/cxi/temp/cctbx/tutorials/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;merging&lt;/ins&gt;/Ls04-lysozyme-*merge.cfg .&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before running the merging programs, the &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cxi.xmerge&amp;lt;/code&amp;gt; log to standard output, it is advisable to redirect the stream to a file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before running the merging programs, the &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;cxi.xmerge&amp;lt;/code&amp;gt; log to standard output, it is advisable to redirect the stream to a file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=238&amp;oldid=prev</id>
		<title>Hattne: Reorganized tutorial-specific information.</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=238&amp;oldid=prev"/>
		<updated>2013-10-04T06:12:44Z</updated>

		<summary type="html">&lt;p&gt;Reorganized tutorial-specific information.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:12, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end uses a simple SQLite database, which is written to a single file on the file system.  It is easier to use than the &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; back end and more efficient than the &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; backend.  Regrettably, the &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end does not appear to work on the Lustre file system.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end uses a simple SQLite database, which is written to a single file on the file system.  It is easier to use than the &amp;lt;code&amp;gt;MySQL&amp;lt;/code&amp;gt; back end and more efficient than the &amp;lt;code&amp;gt;FS&amp;lt;/code&amp;gt; backend.  Regrettably, the &amp;lt;code&amp;gt;SQLite&amp;lt;/code&amp;gt; back end does not appear to work on the Lustre file system.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Compared to indexing and integration, merging is a relatively quick procedure.  However, particularly for large datasets, it may significantly strain computational resources.  Therefore, it is recommended to merge data on SLAC&amp;#039;s interactive nodes.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; images are merged using the &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; command.  &amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;cxi.merge&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;accepts several options which can conveniently be assembled in &lt;/ins&gt;a &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file.  In this tutorial only a subset of the available options are defined.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;$ ssh psanacs.slac.stanford.edu&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ cd myrelease&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; images are merged using the &amp;lt;code&amp;gt;cxi.merge&amp;lt;/code&amp;gt; command.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The results are logged to standard output, so it is advisable to redirect the stream to a file.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ &lt;/del&gt;cxi.merge &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ls04-lysozyme-merge.phil &amp;gt; merge.out&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Here, &amp;lt;&lt;/del&gt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ls04-lysozyme-merge.phil&amp;lt;/code&amp;gt; is &lt;/del&gt;a &amp;#039;&amp;#039;phil&amp;#039;&amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;file &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with the parameters to control the merging procedure&lt;/del&gt;.  In this tutorial only a subset of the available options are defined.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; backend&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; backend&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l115&quot;&gt;Line 115:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 105:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this case the overall &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC int&amp;lt;/code&amp;gt;) is 34.7%, and the correlation coefficient to the isomorphous reference, &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC iso&amp;lt;/code&amp;gt;) is 47.7%.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this case the overall &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC int&amp;lt;/code&amp;gt;) is 34.7%, and the correlation coefficient to the isomorphous reference, &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; (&amp;lt;code&amp;gt;CC iso&amp;lt;/code&amp;gt;) is 47.7%.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Merging the tutorial data ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Compared to indexing and integration, merging is a relatively quick procedure.  However, particularly for large datasets, it may significantly strain computational resources.  Therefore, it is recommended to merge data on SLAC&#039;s interactive nodes.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ ssh psanacs.slac.stanford.edu&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ cd myrelease&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ cp /reg/d/ffb/cxi/temp/cctbx/tutorials/indexing/Ls04-lysozyme-*merge.cfg .&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Before running the merging programs, the &#039;&#039;phil&#039;&#039;-files may need to be edited.  In particular, the location of the directories containing pickle files with the integrated intensities may need to be adjusted.  Since both &amp;lt;code&gt;cxi.merge&amp;lt;/code&gt; and &amp;lt;code&gt;cxi.xmerge&amp;lt;/code&gt; log to standard output, it is advisable to redirect the stream to a file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ cxi.merge Ls04-lysozyme-merge.phil &gt; merge.out&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ cxi.merge Ls04-lysozyme-xmerge.phil &gt; xmerge.out&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The merged reflections, suitable for further processing, are written &amp;lt;code&gt;Ls04-lysozyme.mtz&amp;lt;/code&gt;. Note that although the data for this tutorial extends to 2.2 Å, the statistics become exceedingly poor around 3.0 Å.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=237&amp;oldid=prev</id>
		<title>Hattne: /* Additional merging statistics */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=237&amp;oldid=prev"/>
		<updated>2013-10-04T05:57:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Additional merging statistics&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:57, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l79&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 79:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Additional merging statistics ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Additional merging statistics ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;cxi.xmerge&amp;#039;&amp;#039; retrieves the scaled, unmerged intensities from the database back end, and calculates the &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt;&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1126/science.1218231 Karplus, P. A. &amp;amp; Diederichs, K. Linking Crystallographic Model and Data Quality. &amp;lt;i&amp;gt;Science&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;336&amp;lt;/b&amp;gt;, 1030–1033 (2012).]&amp;lt;/ref&amp;gt; and &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; statistics.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; is defined as Pearson&amp;#039;s correlation coefficient between two sets, such that for each ￼unique reflection the average intensities of two randomly chosen halves of its ￼independent observations are assigned to different set.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; is the correlation coefficient between the merged data and the isomorphous scaling reference.  Both statistics are computed in each resolution bin, as well as for the full set of reflections.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;cxi.xmerge&amp;#039;&amp;#039; retrieves the scaled, unmerged intensities from the database back end, and calculates the &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt;&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1126/science.1218231 Karplus, P. A. &amp;amp; Diederichs, K. Linking Crystallographic Model and Data Quality. &amp;lt;i&amp;gt;Science&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;336&amp;lt;/b&amp;gt;, 1030–1033 (2012).]&amp;lt;/ref&amp;gt; and &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; statistics.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1/2&amp;lt;/sub&amp;gt; is defined as Pearson&amp;#039;s correlation coefficient between two sets, such that for each ￼unique reflection the average intensities of two randomly chosen halves of its ￼independent observations are assigned to different set.  &amp;lt;i&amp;gt;CC&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;iso&amp;lt;/sub&amp;gt; is the correlation coefficient between the merged data and the isomorphous scaling reference.  Both statistics are computed in each resolution bin, as well as for the full set of reflections.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;$ cxi.xmerge Ls04-lysozyme-xmerge.phil&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;$ cxi.xmerge Ls04-lysozyme-xmerge.phil&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The options used in this tutorial not already described in [[#Merging a set of integration files|Merging a set of integration files]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The options used in this tutorial not already described in [[#Merging a set of integration files|Merging a set of integration files]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;are explained below.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; scaling.mtz_column_F&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; scaling.mtz_column_F&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Column name in the reference structure mtz-file with structure factors&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Column name in the reference structure mtz-file with structure factors&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l94&quot;&gt;Line 94:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; scaling.log_cutoff&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; scaling.log_cutoff&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Intensities less than &amp;lt;i&amp;gt;e&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;code&amp;gt;scaling.log_cutoff&amp;lt;/code&amp;gt;&amp;lt;/sup&amp;gt; will not be included in  the calculation&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Intensities less than &amp;lt;i&amp;gt;e&amp;lt;/i&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;code&amp;gt;scaling.log_cutoff&amp;lt;/code&amp;gt;&amp;lt;/sup&amp;gt; will not be included in  the calculation&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The results are printed on standard output and conclude with a table including the &amp;lt;i&gt;CC&amp;lt;/i&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;---------------------------------------------------------------------------------------&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                      CC            CC            R     R   Scale Scale&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Bin  Resolution Range  Completeness  int     N     iso     N     int   iso   int   iso&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;---------------------------------------------------------------------------------------&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  1 -1.0000 -  6.4633     [233/309] 45.1%     233 56.3%     142 57.5% 45.6% 0.749 3.084&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  2  6.4633 -  5.1299     [184/285] 22.5%     184 56.7%      62 57.2% 31.5% 0.862 2.841&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  3  5.1299 -  4.4814     [203/275] 43.7%     203 57.6%      85 55.3% 37.0% 0.830 2.977&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  4  4.4814 -  4.0716     [220/269] 39.0%     220 59.7%     101 51.4% 30.3% 0.805 3.296&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  5  4.0716 -  3.7798     [187/249] 77.5%     187 33.6%      63 54.3% 39.4% 0.775 4.243&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  6  3.7798 -  3.5569     [198/267] 35.4%     198 47.2%      56 56.8% 27.5% 0.903 3.587&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  7  3.5569 -  3.3787     [198/274] 32.0%     198 70.7%      40 59.9% 31.4% 0.814 3.846&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  8  3.3787 -  3.2317     [163/256] 30.6%     163 24.5%      28 63.9% 49.1% 0.734 4.278&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  9  3.2317 -  3.1072     [164/264] 40.6%     164 53.6%       7 80.4% 32.1% 0.622 5.543&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 10  3.1072 -  3.0000     [137/261]  8.2%     137 93.9%       5 85.6% 33.4% 0.221 4.372&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;All                                 34.7%    1887 47.7%     589 62.5% 39.5% 0.754 3.157&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;---------------------------------------------------------------------------------------&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In this case the overall &amp;lt;i&gt;CC&amp;lt;/i&gt;&amp;lt;sub&gt;1/2&amp;lt;/sub&gt; (&amp;lt;code&gt;CC int&amp;lt;/code&gt;) is 34.7%, and the correlation coefficient to the isomorphous reference, &amp;lt;i&gt;CC&amp;lt;/i&gt;&amp;lt;sub&gt;iso&amp;lt;/sub&gt; (&amp;lt;code&gt;CC iso&amp;lt;/code&gt;) is 47.7%.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=236&amp;oldid=prev</id>
		<title>Hattne: Output confusion.</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=236&amp;oldid=prev"/>
		<updated>2013-10-04T05:50:06Z</updated>

		<summary type="html">&lt;p&gt;Output confusion.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:50, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the unit cell of the merged data to the average of the merged images, otherwise use the unit cell of the scaling reference&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: If &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; set the unit cell of the merged data to the average of the merged images, otherwise use the unit cell of the scaling reference&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The merged data is written to an mtz-file named &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;output.prefix&amp;lt;/i&amp;gt;.mtz&amp;lt;/code&amp;gt;.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;output, redirected to &amp;lt;code&amp;gt;merge.out&amp;lt;/code&amp;gt; above, mainly consists of statistics for each individual image as it is scaled.  The output concludes with a section labelled &amp;lt;code&amp;gt;FINISHED MERGING&amp;lt;/code&amp;gt;, which first lists the number of accepted and rejected images,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The merged data is written to an mtz-file named &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;output.prefix&amp;lt;/i&amp;gt;.mtz&amp;lt;/code&amp;gt;.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Standard &lt;/ins&gt;output, redirected to &amp;lt;code&amp;gt;merge.out&amp;lt;/code&amp;gt; above, mainly consists of statistics for each individual image as it is scaled.  The output concludes with a section labelled &amp;lt;code&amp;gt;FINISHED MERGING&amp;lt;/code&amp;gt;, which first lists the number of accepted and rejected images,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  962 of 1185 integration files were accepted&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  962 of 1185 integration files were accepted&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=235&amp;oldid=prev</id>
		<title>Hattne: Mention outlier rejection</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Merging&amp;diff=235&amp;oldid=prev"/>
		<updated>2013-10-04T05:45:14Z</updated>

		<summary type="html">&lt;p&gt;Mention outlier rejection&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:45, 4 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The result of [[Indexing and integration]] is a set of Python pickle files, each of which essentially contains a table of Miller indices of the observed reflections, their integrated intensities, and estimated errors.  In the general case, these files reflect the measurements from single shots, each exposing different crystals with a unique pulse of X-rays.  &amp;#039;&amp;#039;Merging&amp;#039;&amp;#039; refers to the procedure applied to unite all these observations into a single data set.  During merging, a distinct multiplicative factor, which accounts for the variance in pulse intensity and crystal size, is applied to the observations from a single shot to bring all the observations onto a common scale.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;intensities for individual reflections are &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;then &lt;/del&gt;summed, and their errors are propagated in quadrature.  The result of merging is an mtz file suited for further processing, &amp;#039;&amp;#039;e.g.&amp;#039;&amp;#039; molecular replacement.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The result of [[Indexing and integration]] is a set of Python pickle files, each of which essentially contains a table of Miller indices of the observed reflections, their integrated intensities, and estimated errors.  In the general case, these files reflect the measurements from single shots, each exposing different crystals with a unique pulse of X-rays.  &amp;#039;&amp;#039;Merging&amp;#039;&amp;#039; refers to the procedure applied to unite all these observations into a single data set.  During merging, a distinct multiplicative factor, which accounts for the variance in pulse intensity and crystal size, is applied to the observations from a single shot to bring all the observations onto a common scale.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;After rejecting possible outliers, the &lt;/ins&gt;intensities for individual reflections are summed, and their errors are propagated in quadrature.  The result of merging is an mtz file suited for further processing, &amp;#039;&amp;#039;e.g.&amp;#039;&amp;#039; molecular replacement.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
</feed>