<?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=Processing_L498_thermolysin</id>
	<title>Processing L498 thermolysin - 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=Processing_L498_thermolysin"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;action=history"/>
	<updated>2026-05-30T08:05:50Z</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=Processing_L498_thermolysin&amp;diff=965&amp;oldid=prev</id>
		<title>Aaron: /* Merging all integrated images */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=965&amp;oldid=prev"/>
		<updated>2015-08-07T17:15:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Merging all integrated images&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 17:15, 7 August 2015&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-l125&quot;&gt;Line 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&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;  significance_filter.apply    = True&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;  significance_filter.apply    = True&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;  set_average_unit_cell        = True&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        = True&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                   = 0.11&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;  mysql {&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;  mysql {&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;      database = &amp;lt;i&amp;gt;db_name&amp;lt;/i&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;      database = &amp;lt;i&amp;gt;db_name&amp;lt;/i&amp;gt;&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-l148&quot;&gt;Line 148:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 149:&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.xmerge L498-merge.phil&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.xmerge L498-merge.phil&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;Merging statistics are printed on standard output.  The merged MTZ-file is written to a file whose name is determined by the value of &amp;lt;code&amp;gt;output.prefix&amp;lt;/code&amp;gt; in the configuration file (with the values shown above, the output file would be &amp;lt;code&amp;gt;L498_thermolysin.mtz&amp;lt;/code&amp;gt;).  Note that the version of merging programs from 28 March, 2013 do &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; not report the &amp;lt;i&amp;gt;R&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;split&amp;lt;/sub&amp;gt; statistic.&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;Merging statistics are printed on standard output.  The merged MTZ-file is written to a file whose name is determined by the value of &amp;lt;code&amp;gt;output.prefix&amp;lt;/code&amp;gt; in the configuration file (with the values shown above, the output file would be &amp;lt;code&amp;gt;L498_thermolysin.mtz&amp;lt;/code&amp;gt;).  Note that the version of merging programs from 28 March, 2013 do &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; not report the &amp;lt;i&amp;gt;R&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;split&amp;lt;/sub&amp;gt; statistic.&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;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;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;&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>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=426&amp;oldid=prev</id>
		<title>Aaron: /* Indexing the secondary lattice */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=426&amp;oldid=prev"/>
		<updated>2014-04-19T12:26:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Indexing the secondary lattice&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 12:26, 19 April 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-l99&quot;&gt;Line 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&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;=== Indexing the secondary lattice ===&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;=== Indexing the secondary lattice ===&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;Indexing the secondary lattice is very similar to indexing the primary lattice, but requires a change to the source code.  Edit &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/phenix-src-20130328/labelit_regression/xfel/xfel_targets.py&amp;lt;/code&amp;gt;, and uncomment (&amp;lt;i&amp;gt;i.e.&amp;lt;/i&amp;gt; remove the leading &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; character) &amp;lt;code&amp;gt;&amp;quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;outlier_detection_switch&lt;/del&gt;=True&amp;quot;&amp;lt;/code&amp;gt; on line 25.  Then edit the configuration file, &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; above, and change &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt; to &amp;lt;i&amp;gt;integration-second-lattice&amp;lt;/i&amp;gt; in order not to overwrite the results of the previous analysis of the primary lattice.  Before reanalyzing the first batch, ensure that &amp;lt;code&amp;gt;xtal_target&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;thermolysin27&amp;lt;/code&amp;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;Indexing the secondary lattice is very similar to indexing the primary lattice, but requires a change to the source code.  Edit &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/phenix-src-20130328/labelit_regression/xfel/xfel_targets.py&amp;lt;/code&amp;gt;, and uncomment (&amp;lt;i&amp;gt;i.e.&amp;lt;/i&amp;gt; remove the leading &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; character) &amp;lt;code&amp;gt;&amp;quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;outlier_detection.switch&lt;/ins&gt;=True&amp;quot;&amp;lt;/code&amp;gt; on line 25.  Then edit the configuration file, &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; above, and change &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt; to &amp;lt;i&amp;gt;integration-second-lattice&amp;lt;/i&amp;gt; in order not to overwrite the results of the previous analysis of the primary lattice.  Before reanalyzing the first batch, ensure that &amp;lt;code&amp;gt;xtal_target&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;thermolysin27&amp;lt;/code&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.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0016-*.xtc&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.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0016-*.xtc&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.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0017-*.xtc&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.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0017-*.xtc&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-l109&quot;&gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&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.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0073-*.xtc&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.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0073-*.xtc&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 number of integrated secondary lattices should be close to 2,021, the number reported in the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; paper&amp;lt;ref name=&amp;quot;Hattne:2014&amp;quot;/&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;The number of integrated secondary lattices should be close to 2,021, the number reported in the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; paper&amp;lt;ref name=&amp;quot;Hattne:2014&amp;quot;/&amp;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;&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;== Merging all integrated 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;== Merging all integrated images ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=425&amp;oldid=prev</id>
		<title>Hattne: Cleanups, spell checks, etc.</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=425&amp;oldid=prev"/>
		<updated>2014-03-14T18:09:00Z</updated>

		<summary type="html">&lt;p&gt;Cleanups, spell checks, etc.&lt;/p&gt;
&lt;a href=&quot;http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;amp;diff=425&amp;amp;oldid=424&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=424&amp;oldid=prev</id>
		<title>Hattne: Created instructions to reproduce L498 thermolysin processing results.</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Processing_L498_thermolysin&amp;diff=424&amp;oldid=prev"/>
		<updated>2014-03-10T10:54:28Z</updated>

		<summary type="html">&lt;p&gt;Created instructions to reproduce L498 thermolysin processing results.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains instructions for reproducing the results reported in the 2014 &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; paper&amp;lt;ref&amp;gt;[http://dx.doi.org/10.1038/nmeth.2887 Hattne, J &amp;lt;i&amp;gt;et al.&amp;lt;/i&amp;gt; Accurate macromolecular structures using minimal measurements from X-ray free-electron lasers. &amp;lt;i&amp;gt;Nat. Methods&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;In press&amp;lt;/b&amp;gt; (2014).]&amp;lt;/ref&amp;gt;.  The data are available from the [http://cxidb.org/id-23 Coherent X-ray Imaging Data Bank (CXIDB)] (raw XTC files, 4.0 TiB), and must be downloaded to a local disk prior to starting the analysis.  Furthermore, the PSDM Software Distribution must be [[Set up PSDM software | set up]], along with a test release and an empty analysis package.  A [http://www.mysql.com MySQL] database is required to merge the integrated diffraction images. Processing time depends strongly on the computational resources available; using 48 processors on a 64-core 1.4 GHz Opteron-based computer, the analysis takes around 24 hours.  The instructions assume some familiarity with &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; and its installation and configuration procedure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing a &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; snapshot from March 28, 2013 ==&lt;br /&gt;
&lt;br /&gt;
The thermolysin data for the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; paper was processed around March 28, 2013.  Unfortunately,  regular nightly releases are not available for that time, but a specially prepared source-code bundle has been made available.  This bundle differs from the regular &amp;#039;&amp;#039;cctbx&amp;#039;&amp;#039; bundles in that &amp;#039;&amp;#039;LABELIT&amp;#039;&amp;#039; is included, and that the directory layout is identical to that of a developer installation.  To download and unpack the bundle in the current directory:&lt;br /&gt;
 $ wget http://adder.lbl.gov/cctbx.xfel/downloads/cctbx.xfel-20130328.tar.gz&lt;br /&gt;
 $ tar -xpvzf cctbx.xfel-20130328.tar.gz&lt;br /&gt;
Next, create a build directory (called &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;phenix-build-20130328&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; below, but that is an arbitrary choice), in which the sources are configured and compiled.  The Python interpreter required to complete this step, &amp;lt;em&amp;gt;must&amp;lt;/em&amp;gt; be the one supplied by the PSDM Software Distribution.  Once the PSDM software has been [[Set up PSDM software | set up], this interpreter can be located using&lt;br /&gt;
 $ find $SIT_ROOT/sw/external/python -perm /0111 -type f -wholename &amp;quot;*/$SIT_ARCH/*/python&amp;quot;&lt;br /&gt;
To prepare the build directory using this interpreter&lt;br /&gt;
 $ mkdir &amp;lt;i&amp;gt;phenix-build-20130328&amp;lt;/i&amp;gt;&lt;br /&gt;
 $ cd &amp;lt;i&amp;gt;phenix-build-20130328&amp;lt;/i&amp;gt;&lt;br /&gt;
 $ &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;python&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; ../phenix-src-20130328/cctbx_project/libtbx/configure.py cxi_xdr_xes xfel&lt;br /&gt;
 $ . setpaths.sh&lt;br /&gt;
where &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;python&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt; is the path to the Python interpreter located using the previous find-command.  Note that csh-users should run &amp;lt;code&amp;gt;source setpaths.csh&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;. setpaths.sh&amp;lt;/code&amp;gt;.  Then compile the sources&lt;br /&gt;
 $ make&lt;br /&gt;
 $ make&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; command may need to be run twice in order to complete the build.  Once &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; does not produce any output from the compiler, the build is complete.&lt;br /&gt;
&lt;br /&gt;
To make the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; analysis modules available to PSDM&amp;#039;s &amp;#039;&amp;#039;pyana&amp;#039;&amp;#039;,&lt;br /&gt;
 $ cd &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/test/release&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ sit_setup&lt;br /&gt;
 $ cd &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;my_ana_pkg&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ ln -fns &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/phenix-src-20130328/cctbx_project/xfel/cxi/cspad_ana src&lt;br /&gt;
 $ cd ..&lt;br /&gt;
 $ scons&lt;br /&gt;
where &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/test/release&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;my_ana_pkg&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt; are the path to the test release and the name of the analysis package chosen while [[Set up PSDM software | setting up the PSDM software distribution]].  &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt; denotes the path to the directory containing the unpacked &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; sources.  The last step compiles the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; analysis modules.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Create a dark image ==&lt;br /&gt;
&lt;br /&gt;
To meaningfully process the thermolysin diffraction data, an average of all the images in a &amp;lt;i&amp;gt;dark run&amp;lt;/i&amp;gt;—a run without any X-rays impinging on the detector—must be subtracted from the individual diffraction images.  The configuration file below can be used to produce such an average, as well as an image of the standard deviation of all the pixels over the course of the run. &lt;br /&gt;
 # -*- mode: conf -*-&lt;br /&gt;
 &lt;br /&gt;
 [pyana]&lt;br /&gt;
 modules = my_ana_pkg.mod_average&lt;br /&gt;
 num-cpu = &amp;lt;i&amp;gt;4&amp;lt;/i&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 [my_ana_pkg.mod_average]&lt;br /&gt;
 address         = CxiDs1-0|Cspad-0&lt;br /&gt;
 calib_dir       = &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/phenix-src-20130328/cctbx_project/xfel/metrology/CSPad/run4/CxiDs1.0_Cspad.0&lt;br /&gt;
 avg_basename    = &amp;lt;i&amp;gt;Ds1-avg&amp;lt;/i&amp;gt;&lt;br /&gt;
 avg_dirname     = &amp;lt;i&amp;gt;r0031&amp;lt;/i&amp;gt;&lt;br /&gt;
 stddev_basename = &amp;lt;i&amp;gt;Ds1-stddev&amp;lt;/i&amp;gt;&lt;br /&gt;
 stddev_dirname  = &amp;lt;i&amp;gt;r0031&amp;lt;/i&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; refers to the directory containing the unpacked &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; sources.  All other options with values set in italics can be modified without adversely affecting averaging.  The above file will use four simultaneous processes, and write the average and standard deviation images to files whose names start with &amp;lt;code&amp;gt;Ds1-avg&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Ds1-stddev&amp;lt;/code&amp;gt;, respectively, both in a directory called  &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;r0031&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The data deposited at the CXIDB contains a dark run, &amp;lt;code&amp;gt;r0031&amp;lt;/code&amp;gt;.  To average the images in that run, save the above configuration file to disk, &amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt; &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;L498-dark.cfg&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;, apply modifications as necessary, and execute&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-dark.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0031-*.xtc&lt;br /&gt;
where &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; is the path to the directory containing the raw XTC files dowloaded from [http://cxidb.org/id-23 CXIDB].  The files written to the &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;r0031&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; directory will have a current datestamp appended, which can safely be removed to simplify subsequent configuration files.&lt;br /&gt;
 $ cd &amp;lt;i&amp;gt;r0031&amp;lt;/i&amp;gt;&lt;br /&gt;
 $ mv Ds1-avg20140308104336073.pickle Ds1-avg.pickle&lt;br /&gt;
 $ mv Ds1-stddev20140308104336371.pickle Ds1-stddev.pickle&lt;br /&gt;
 $ cd ..&lt;br /&gt;
Further details are available on the [[Preparatory steps#Create a dark average|Create a dark image]] page of the [[Tutorials|tutorials]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Index the thermolysin data ==&lt;br /&gt;
&lt;br /&gt;
A configuration file for processing the primary lattices in the thermolysin data is shown below.&lt;br /&gt;
 # -*- mode: conf -*-&lt;br /&gt;
 &lt;br /&gt;
 [pyana]&lt;br /&gt;
 modules = my_ana_pkg.mod_hitfind:threshold \&lt;br /&gt;
           my_ana_pkg.mod_hitfind:index&lt;br /&gt;
 num-cpu = &amp;lt;i&amp;gt;48&amp;lt;/i&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 [my_ana_pkg.mod_hitfind]&lt;br /&gt;
 address     = CxiDs1-0|Cspad-0&lt;br /&gt;
 calib_dir   = &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/phenix-src-20130328/cxi_xdr_xes/cftbx/metrology/CSPad/run4/CxiDs1.0:Cspad.0&lt;br /&gt;
 dark_path   = &amp;lt;i&amp;gt;r0031/Ds1-avg.pickle&amp;lt;/i&amp;gt;&lt;br /&gt;
 dark_stddev = &amp;lt;i&amp;gt;r0031/Ds1-stddev.pickle&amp;lt;/i&amp;gt;&lt;br /&gt;
 db_logging  = False&lt;br /&gt;
 detz_offset = 575&lt;br /&gt;
 &lt;br /&gt;
 [my_ana_pkg.mod_hitfind:threshold]&lt;br /&gt;
 dispatch        = nop&lt;br /&gt;
 distl_flags     = permissive&lt;br /&gt;
 distl_min_peaks = 16&lt;br /&gt;
 threshold       = 450&lt;br /&gt;
 xtal_target     = hitfind&lt;br /&gt;
 &lt;br /&gt;
 [my_ana_pkg.mod_hitfind:index]&lt;br /&gt;
 dispatch             = index&lt;br /&gt;
 integration_dirname  = &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt;&lt;br /&gt;
 integration_basename = int-&lt;br /&gt;
 xtal_target          = thermolysin27&lt;br /&gt;
The configuration file above instructs &amp;lt;code&amp;gt;mod_hitfind&amp;lt;/code&amp;gt; to use 48 processes.  It disables all image output, which reduces the amout of disk space required to perform the analysis to about 3.4 GiB.  &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; again refers to the directory containing the unpacked &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; sources, and &amp;lt;code&amp;gt;dark_path&amp;lt;/code&amp;gt; as well as &amp;lt;code&amp;gt;dark_stddev&amp;lt;/code&amp;gt; may have to be changed to reflect the location of the previously generated dark images.  Integration results will be written to the directory &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Due to particularities of the thermolysin measurement, processing proceeds in two batches.  To analyse the first batch, runs 16 through 27, save the above configuration file to disk, &amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt; &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;, apply modifications as necessary, and execute&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0016-*.xtc&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0017-*.xtc&lt;br /&gt;
 $ …&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0027-*.xtc&lt;br /&gt;
where &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; is the path to the directory containing the raw XTC files.  The second batch, runs 71 through 73, was recorded using a different distance between the interaction region and the detector.  This necessitates different areas of the detector to be ignored due to different shadowing, and this is accounted for by a different value of the &amp;lt;code&amp;gt;xtal_target&amp;lt;/code&amp;gt; option in the configuration file.  To analyse this set of runs, edit &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;, change &amp;lt;code&amp;gt;thermolysin27&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;thermolysin73&amp;lt;/code&amp;gt;, and&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0071-*.xtc&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0072-*.xtc&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0073-*.xtc&lt;br /&gt;
On successful completion, the number of files in the &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt; directory corresponds to the number of successfully integrated images.  Owing to variations in hardware and compiler internals, it may deviate slightly from 11,583, the number reported in the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; paper. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Index the secondary lattice ===&lt;br /&gt;
&lt;br /&gt;
Indexing the secondary lattice is very similar to indexing the primary lattice, but requires a change to the source code.  Edit &amp;lt;code&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/phenix-src-20130328/labelit_regression/xfel/xfel_targets.py&amp;lt;/code&amp;gt;, and uncomment (&amp;lt;i&amp;gt;i.e.&amp;lt;/i&amp;gt; remove the leading &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; character) &amp;lt;code&amp;gt;&amp;quot;outlier_detection_switch=True&amp;quot;&amp;lt;/code&amp;gt; on line 25.  Then edit the configuration file, &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; above, and change &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt; to &amp;lt;i&amp;gt;integration-second-lattice&amp;lt;/i&amp;gt; in order not to overwrite the results of the previous analysis of the primary lattice.  Before re-analysing the first batch, ensure that &amp;lt;code&amp;gt;xtal_target&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;thermolysin27&amp;lt;/code&amp;gt;.&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0016-*.xtc&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0017-*.xtc&lt;br /&gt;
 $ …&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0027-*.xtc&lt;br /&gt;
Then set &amp;lt;code&amp;gt;xtal_target&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;thermolysin73&amp;lt;/code&amp;gt; in the configuration file, and process the second batch.&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0071-*.xtc&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0072-*.xtc&lt;br /&gt;
 $ cxi.pyana -c &amp;lt;i&amp;gt;L498-indexigrate.cfg&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;/path/to/xtc/files&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;/e157-r0073-*.xtc&lt;br /&gt;
The number of integrated secondary lattices should be close to 2,021, the number reported in the &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; paper.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Merge all integrated images ==&lt;br /&gt;
&lt;br /&gt;
The phil-file below defines values suitable for merging the primary and secondary lattices previously integrated.&lt;br /&gt;
 data                         = &amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt;&lt;br /&gt;
 data                         = &amp;lt;i&amp;gt;integration-second-lattice&amp;lt;/i&amp;gt;&lt;br /&gt;
 d_min                        = 2.10&lt;br /&gt;
 merge_anomalous              = True&lt;br /&gt;
 min_corr                     = -1&lt;br /&gt;
 model                        = &amp;lt;i&amp;gt;2tli.pdb&amp;lt;/i&amp;gt;&lt;br /&gt;
 nproc                        = &amp;lt;i&amp;gt;16&amp;lt;/i&amp;gt;&lt;br /&gt;
 plot_single_index_histograms = False&lt;br /&gt;
 raw_data.sdfac_auto          = True&lt;br /&gt;
 rescale_with_average_cell    = True&lt;br /&gt;
 significance_filter.apply    = True&lt;br /&gt;
 set_average_unit_cell        = True&lt;br /&gt;
 mysql {&lt;br /&gt;
     database = &amp;lt;i&amp;gt;db_name&amp;lt;/i&amp;gt;&lt;br /&gt;
     passwd   = &amp;lt;i&amp;gt;db_passwd&amp;lt;/i&amp;gt;&lt;br /&gt;
     runtag   = &amp;lt;i&amp;gt;L498_thermolysin&amp;lt;/i&amp;gt;&lt;br /&gt;
     user     = &amp;lt;i&amp;gt;db_user&amp;lt;/i&amp;gt;&lt;br /&gt;
 }&lt;br /&gt;
 output {&lt;br /&gt;
     n_bins = &amp;lt;i&amp;gt;10&amp;lt;/i&amp;gt;&lt;br /&gt;
     prefix = &amp;lt;i&amp;gt;L498_thermolysin&amp;lt;/i&amp;gt;&lt;br /&gt;
 }&lt;br /&gt;
 scaling {&lt;br /&gt;
     algorithm  = mark0&lt;br /&gt;
     mtz_file   = &amp;lt;i&amp;gt;2tli.mtz&amp;lt;/i&amp;gt;&lt;br /&gt;
     show_plots = False&lt;br /&gt;
     log_cutoff = 0.0&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;i&amp;gt;integration-first-lattice&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;integration-second-lattice&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; may need to be adjusted to point to the directories where &amp;lt;code&amp;gt;mod_hitfind&amp;lt;/code&amp;gt; left the integration results.  &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;db_name&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;, &amp;lt;i&amp;gt;db_user&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;db_passwd&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; must be substituted with the database name and access credentials to a MySQL database.  Databases on hosts other than the one used to merge the thermolysin data can be accessed by additionally specifing the &amp;lt;code&amp;gt;mysql.host&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mysql.port&amp;lt;/code&amp;gt; options.  The model and structure factors for the scaling reference, &amp;lt;code&amp;gt;model&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;scaling.mtz_file&amp;lt;/code&amp;gt; above, are both available for download from the [http://www.rcsb.org RCSB Protein Data Bank (PDB)].  If the [http://www.phenix-online.org &amp;#039;&amp;#039;PHENIX&amp;#039;&amp;#039;] suite is installed, this is conveniently achieved from the command line using&lt;br /&gt;
 $ phenix.fetch_pdb --mtz 2tli&lt;br /&gt;
&lt;br /&gt;
To merge the thermolysin data, save the suitably modified configuration to &amp;lt;i&amp;gt;e.g.&amp;lt;/i&amp;gt; &amp;lt;code&amp;gt;L498-merge.phil&amp;lt;/code&amp;gt;, and run&lt;br /&gt;
 $ cxi.merge L498-merge.phil&lt;br /&gt;
 $ cxi.xmerge L498-merge.phil&lt;br /&gt;
Merging statistics are printed on standard output.  The merged MTZ-file is written to a file whose name is determined by the value of &amp;lt;code&amp;gt;output.prefix&amp;lt;/code&amp;gt; in the configuration file (&amp;lt;code&amp;gt;L498_thermolysin.mtz&amp;lt;/code&amp;gt; with the values shown above).  Note that the version of merging programs from 28 March, 2013 do &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; not report the &amp;lt;i&amp;gt;R&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;split&amp;lt;/sub&amp;gt; statistic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hattne</name></author>
	</entry>
</feed>