<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Mike, <div class=""><br class=""></div><div class="">No problem. </div><div class=""><br class=""></div><div class="">You can also save each chain and heteroatom in CHIMERA by doing “select:.a” -> GUI-> Save PDB and “select:.b”->GUI-> Save PDB</div><div class=""><br class=""></div><div class="">OR</div><div class=""><br class=""></div><div class="">run a simple script below: </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">f = </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">open</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures" class="">'chainA.pdb'</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">,</span><span style="font-variant-ligatures: no-common-ligatures" class="">'w'</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">f2= </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">open</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures" class="">'chainB.pdb'</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">,</span><span style="font-variant-ligatures: no-common-ligatures" class="">'w'</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">pdb = </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">open</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures" class="">"1c1d.pdb"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">,</span><span style="font-variant-ligatures: no-common-ligatures" class="">"r"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">for</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">in</span><span style="font-variant-ligatures: no-common-ligatures" class=""> pdb:</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">if</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">4</span><span style="font-variant-ligatures: no-common-ligatures" class="">] == </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">'ATOM'</span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">and</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">21</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">] == </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">"A"</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> f.write(line)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">if</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">6</span><span style="font-variant-ligatures: no-common-ligatures" class="">] == </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">'HETATM'</span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">and</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">21</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">] == </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">"A"</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> f.write(line)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">if</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">4</span><span style="font-variant-ligatures: no-common-ligatures" class="">] ==</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">'ATOM'</span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">and</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">21</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">] ==</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">"B"</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> f2.write(line)</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">if</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">6</span><span style="font-variant-ligatures: no-common-ligatures" class="">] == </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">'HETATM'</span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #ce7924" class="">and</span><span style="font-variant-ligatures: no-common-ligatures" class=""> line[</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">21</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">] == </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">"B"</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> f2.write(line)</span></div></div><div class="">Hope this helps, </div><div class="">Dave</div><div class=""><br class=""></div><div class=""></div></body></html>