<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 30, 2010, at 9:50 AM, Francesco Oteri wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear AMBER users,<br>I've one file with the AMBER topology of my system, but I saved some <br>rappresentative structures as pdb.<br>Since my system is made of a set of circular DNA, I'd manipulate pdb to <br>obtain the correct connectivity.<br><br>There is a way to load a correct pdb ( or topology file) and exporting <br>this connectivity on the other pdb?<br><br>For example, should be useful if I load at the beginning the correct pdb <br>and than I'will load the remaining structure whit the same number of <br>atoms of the first but without CONECT and/or TER tag.</div></blockquote><br></div><div>There is no built-in function for this. However, I've attached a Python script that will use the lowest-numbered open model as a "prototype" and re-bond all the higher-numbered models based on the prototype (though it will skip models that don't have the same atom/residue names as the prototype).</div><div><br></div><div>So just open your correct PDB as model 0 and all the ones you want fixed up in other model numbers and run the script. You can run the script by opening it with File...Open or with the "open" command.</div><div><br></div><div>--Eric</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>Eric Pettersen</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>UCSF Computer Graphics Lab</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> </span><a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></p><br class="Apple-interchange-newline"></div></span> </div></body></html>