<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 16, 2011, at 6:30 AM, Tiziano Tuccinardi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div bgcolor="#ffffff" text="#000000">Dear all,<br>I am using MatchMaker for aligning about 100 structures, and it works very well!!<br>Is it possible to automatically save the pairwise alignment without opening the MultAlignViewer? Due to the large number of structures, I cannot use the Match-Align tool but it would be enough to save the pairwise alignments</div></span></blockquote><br></div><div>Hi Tiziano,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Sorry about Match-Align not being practical for large numbers of structures. It's written entirely in Python and it would be nice if I could move it to C++, but it's pretty complicated and there are always many other priorities...</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>And then there's MultAlign Viewer, which was written many moons ago before we realized how important it was to have command line access to all parts of Chimera. So you can get the end result you want but you do have to open an MAV for each pairing and then run a script after all the pairings are done that will get each of those MultAlign Viewer instances to save their alignment. I have attached a script file for that. You run the script with the "runscript" command, specifying the folder where you want the alignments saved, and the alignment format. You run it like this:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>runscript <folder-with-script>/save-alignments.py save-folder-path "Clustal ALN"</div><div><br></div><div>The possible alignment formats are listed in the "Sequence Alignments" table here:</div><div><br></div><div><a href="http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/filetypes.html">http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/filetypes.html</a></div><br><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><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><br></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica">P.S. Right now the runscript command doesn't handle "~"-expansion-to-home-dir correctly, but will in the next daily build and in the upcoming 1.5.3 release.</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><br></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><br></font></p></div></span></div></body></html>