<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span style="color: rgb(0, 111, 201);">Hi Pavel,</span></p>
<p><br>
</p>
<p><span style="color: rgb(0, 111, 201);">Thanks so much for your reply ! Disabling the&nbsp;b-factor refinement solved my problem.&nbsp;</span></p>
<div></div>
<p></p>
<p><br>
</p>
<div id="Signature"><span style="color: rgb(0, 111, 201);"></span>
<div id="divtagdefaultwrapper" style="font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span style="color: rgb(0, 111, 201);"></span>
<p style="color:rgb(0,0,0)"><span style="color: rgb(0, 111, 201);">Best regards,</span></p>
<span style="color: rgb(0, 111, 201);"></span>
<p style="color:rgb(0,0,0)"><span style="color: rgb(0, 111, 201);">Tofayel</span></p>
<p style="color:rgb(0,0,0)"><span style="font-size: 12pt;">&nbsp;&nbsp;</span><br>
</p>
<p style="color:rgb(0,0,0)"></p>
<p style="color:rgb(0,0,0)"></p>
<p style="color:rgb(0,0,0)"><span style="font-size:12pt"></span></p>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Pavel Afonine &lt;pafonine@lbl.gov&gt;<br>
<b>Sent:</b> Thursday, December 1, 2016 11:22 PM<br>
<b>To:</b> #AHMED TOFAYEL#; PHENIX user mailing list<br>
<b>Subject:</b> Re: [phenixbb] phenix.real_space_refine crashes for very large pdb files</font>
<div>&nbsp;</div>
</div>
<div>Hi Tofayel,<br>
<br>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
My phenix.real_space_refine run crashes with the error mentioned below when I have used following command to run it on a&nbsp;complete ribosome (containing coordinates for small subunit and large subunit in a single pdb&nbsp;file):
<p><span>phenix.real_space_refine model.pdb map.mrc resolution=4.5 reference_coordinate_restraints.enabled=true reference_coordinate_restraints.selection=&quot;chain A and resseq 2:700&quot; reference_coordinate_restraints.sigma=0.05 secondary_structure.enabled=True
 res.eff &gt; out.out</span><br>
</p>
<p><span><br>
</span></p>
<p><span>From the out.out file I can see that, it ran for 5 macro_cycles&nbsp;and started group b-factor refinement which reads&nbsp;(last few lines):</span></p>
<p><span><br>
</span></p>
<p><span></span></p>
<div>|-----------------------------------------------------------------------------|</div>
<div>|-group b-factor refinement (macro cycle = 0; iterations = 0)-----------------|</div>
<div>| r_work = 0.3809 r_free = 0.3809 target = 0.153923 restraints weight = None &nbsp;|</div>
<div>|-----------------------------------------------------------------------------|</div>
<div>|-group b-factor refinement (macro cycle = 1; iterations = 32)----------------|</div>
<div>| r_work = 0.3687 r_free = 0.3687 target = 0.144348 restraints weight = 1067.479|</div>
<div>|-----------------------------------------------------------------------------|</div>
<div>|-group b-factor refinement (macro cycle = 2; iterations = 37)----------------|</div>
<div>| r_work = 0.3724 r_free = 0.3724 target = 0.147257 restraints weight = 482.176|</div>
<div>|-----------------------------------------------------------------------------|</div>
<div>|-group b-factor refinement (macro cycle = 3; iterations = 32)----------------|</div>
<div>| r_work = 0.3747 r_free = 0.3747 target = 0.149066 restraints weight = 262.900|</div>
<div>|-----------------------------------------------------------------------------|</div>
<br>
<p><span>The run crashes at this point....</span></p>
</div>
</blockquote>
<br>
It crashes trying to refine B-factors in reciprocal space (which is not the best idea anyway, I mean using reciprocal space for this, but that's at we have at present!).<br>
So, please disable B factor refinement by adding this to your command line: &quot;run=minimization_global&quot; (by default it is &quot;run=minimization_global&#43;adp&quot;).<br>
<br>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span></span>However, phenix.real_space_refine runs fine when I am refining&nbsp;a&nbsp;protein chain or a complex&nbsp;(for eg: just the large or the&nbsp;small subunit of a&nbsp;ribosome). Does it have to do with my pdb file being so big after merging of both subunits where I
 have also crossed 99999 atoms and atom serial numbers&nbsp;start from A0000?</p>
</div>
</blockquote>
<br>
No, it has nothing to do with this.<br>
<br>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>A related question: What is the&nbsp;latest consensus of using chain IDs and atom serial numbers to use in&nbsp;phenix.real_space_refine for handling large files like ribosome pdbs&nbsp;? I have found some information on:&nbsp;<a href="http://cci.lbl.gov/hybrid_36/" class="OWAAutoLink" id="LPlnk576142" previewremoved="true">http://cci.lbl.gov/hybrid_36/</a></p>
</div>
</blockquote>
<br>
Using hybrid36 and two-letter chain IDs allows to fit into PDB virtually any size model. Such files work fine across Phenix and some good graphics programs. But PDB would not like these files. Since PDB files will go away anyway with mmCIF being replacement,
 I'd say best is to use mmCIF that can fit any size models too and are supported in/out across Phenix.<br>
<br>
Tools to convert PDB &lt;&gt; mmCIF:<br>
<br>
phenix.cif_as_pdb<br>
phenix.pdb_as_cif<br>
<br>
Please let us know should you have more questions or need any help!<br>
<br>
Pavel<br>
<br>
</div>
</div>
</div>
</body>
</html>