<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Pavel,</p>
<p><br>
</p>
<p>Thanks so much for your reply. Following your suggestion, I could apply &quot;<span style="font-size: 12pt;">reference_coordinate_restraints&quot; section from&nbsp;<a href="http://www.phenix-online.org/documentation/reference/real_space_refine.html" class="OWAAutoLink" id="LPlnk480349" previewremoved="true">http://www.phenix-online.org/documentation/reference/real_space_refine.html</a>&nbsp;and
 it seems to be working perfect for me.&nbsp;</span>&nbsp;</p>
<p><br>
</p>
<p>Regarding why do I like to keep some part fixed: In my cryo-EM density some parts are not resolved due to flexibility and I had to manually build models after low pass filtering the density. Because I still don't have suitable restraints in those parts,
 a real space refinement is making the&nbsp;models go haywire. So, for the time being, I wanted to keep those difficult regions fixed.&nbsp;</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<p style="color:rgb(0,0,0)">Best regards,</p>
<p style="color:rgb(0,0,0)">Tofayel</p>
<p class="MsoNormal" style="color:rgb(0,0,0)"></p>
&nbsp;&nbsp;&nbsp;<br>
<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>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Pavel Afonine &lt;pafonine@lbl.gov&gt;<br>
<b>Sent:</b> Tuesday, November 29, 2016 10:46:11 PM<br>
<b>To:</b> #AHMED TOFAYEL#; PHENIX user mailing list<br>
<b>Cc:</b> Pavel Afonine<br>
<b>Subject:</b> Re: [phenixbb] Refine only selective chains in a complex using phenix.real_space_refine</font>
<div>&nbsp;</div>
</div>
<div>Hi Tofayel,<br>
<br>
<blockquote cite="mid:PS1PR01MB076418386ED86551DAAD304DE38D0@PS1PR01MB0764.apcprd01.prod.exchangelabs.com" type="cite">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
Is it possible using phenix.real_space_refine&nbsp;to locally refine a protein or RNA chain&nbsp;(against a&nbsp;cryo-EM map)&nbsp;which is part of a big complex.
</div>
</blockquote>
<br>
no, sorry. Options:<br>
<br>
1) Create PDB file that contains only parts of the model that you want to refine and supply that to phenix.real_space_refine. This may work just fine but dangers are that refined part of the model may clash with the one that is not refined<br>
<br>
2) Refine entire model restraining positions of selected atoms to their initial coordinates.
<br>
<br>
<blockquote cite="mid:PS1PR01MB076418386ED86551DAAD304DE38D0@PS1PR01MB0764.apcprd01.prod.exchangelabs.com" type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
During the run,&nbsp;I would like to keep most of my&nbsp;complex constant in space except&nbsp;neighboring one or two protein/RNA molecules which I would like to see getting adjusted&nbsp;to remove clashes.&nbsp;I am using the program through command-line.
<br>
</div>
</blockquote>
<br>
I can see how this may be useful and I will add this functionality to phenix.real_space_refine.<br>
<br>
Just out of curiosity: why you want to keep some parts of the model fixed?<br>
<br>
Pavel<br>
<br>
</div>
</body>
</html>