<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Sabuj,<DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>The save dialog does not allow for what you want. Do you think it's something that people in general would want to do, or is it fairly specific to something you're doing?</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>You can do what you want using the command line with a mixture of the 'write' and 'system' commands:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>write relative 0 1 /usr/tmp/x ; system egrep -v ^HELIX\|^SHEET\|^CONECT /usr/tmp/x > out.pdb</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>which will write model 1 relative to model 0 into out.pdb.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>Now, I'm guessing you are going to do this repeatedly or you wouldn't have bothered asking on the list about it. You can reduce the above into a much shorter command using 'alias' and save that alias into a file that the command line reads at startup so it is always available. Here's the alias that redefines the above as the command 'minsave':</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>alias ^minsave write relative $1 $2 /usr/tmp/x ; system egrep -v ^HELIX\|^SHEET\|^CONECT /usr/tmp/x > $3</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>With the above alias, "minsave 0 2 xyz.pdb" will write model 2 relative to model 0 into the file xyz.pdb. If you put this alias into ~/.chimera/midasrc or into ~/.chmidasrc (changeable using the Midas preference category) then the alias will always be available.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--Eric</DIV><DIV><BR><DIV> <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>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>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="mailto:pett@cgl.ucsf.edu">pett@cgl.ucsf.edu</A></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><BR><DIV><DIV>On Dec 19, 2005, at 10:59 AM, Sabuj Pattanayek wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I was wondering how it might be possible to not include the CONECT,<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">RIBBON, HELIX, or SHEET keywords in a pdb when saving from the save pdb<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">file dialog?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It can be done using "pdbrun nouser cat | grep -v HELIX | grep -v SHEET"<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...etc but I can't save the pdb model relative to another model on the<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">screen using that command.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Sabuj Pattanayek</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Chimera-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users">http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>