<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Sona,<DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>Before getting to your question, just wanted to mention that the post you quoted isn't accurate anymore: Chimera can incorporate structureless sequences into alignments as of the last production release (October). Once you have a structure-based alignment (or any alignment really) showing in Multalign Viewer you can add sequences to it using MAV's Edit menu.</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>I don't know of any non-madness-inducing way in Chimera of superimposing 50+ ligands without writing a script. There are two kinds of scripts you could write. One is a text file containing the exact same commands you would type at Chimera's command line. You would give the file a suffix of .com or .cmd and open it using File...Open or the "open" command. The other type is a Python script, also a text file, which requires a little bit of learning but offers the ability to use loops -- quite helpful in this scenario. A Python script file would have a .py suffix and can be opened the same way as a Chimera-command script.</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>For purposes of the example scripts below, I'm going to assume the ligands have the same residue name (FMN in the example), that there is only one occurrence of the residue per file, and the ligand atoms have the same name. PDBs you want to use that don't match these criteria you could do by hand -- hopefully there would just be a few. On the assumption that you have a mix of NMR and crystallographic structures, the script will delete hydrogens, yielding a heavy-atom only RMSD (probably a good idea anyway if there are any methyl groups). Lastly, I'll assume you have a reference structure to match onto already open in model #0 before you run the script.</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>The Chimera-command script would be something like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>open 1jhf; del H; match #1:FMN #0:FMN; close 1</DIV><DIV>open 1kef; del H; match #1:FMN #0:FMN; close 1</DIV><DIV>open 1rd9; del H; match #1:FMN #0:FMN; close 1</DIV><DIV>etc.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>For the Python version I'll make one further assumption: that you have the PDB IDs listed in a file named "pdbs". The Python version would be:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>from chimera import runCommand # use runCommand to execute Chimera commands</DIV><DIV>f = open("pdbs", "r") # open file containing PDB IDs</DIV><DIV>for line in f: # read through file</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>pdbID = line.strip() # remove trailing newline from text</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>runCommand("open " + pdbID + "; del H; match #1:FMN #0:FMN; close 1")</DIV><DIV>f.close() # close file</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The indentation for the lines that follow the "for" statement indicate that they are to be executed as the loop. The lack of indentation for the f.close() indicates that it is not part of the loop -- it is executed once the loop finishes.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--Eric</DIV><DIV><BR><DIV><DIV>On Mar 15, 2007, at 6:54 PM, Sona Vasudevan wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Hello Eric,</DIV> <DIV> </DIV> <DIV>Have a few questions about Chimera. I would like to superimpose just the ligands bound to complexes. In this case I would like to basically get a rms deviation of 50+ ligand co-ordinates (same ligand from different PDBs). I now Chimera's match could do it but is there a way a easier way to superimpose ligands? </DIV> <DIV> </DIV> <DIV>Thanks!</DIV> <DIV> </DIV> <DIV>Sona<BR><BR> </DIV> <DIV><SPAN class="gmail_quote">On 2/6/06, <B class="gmail_sendername">Eric Pettersen</B> <<A href="mailto:pett@cgl.ucsf.edu">pett@cgl.ucsf.edu</A>> wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Sona,<BR> UCSF Chimera (<A href="http://www.cgl.ucsf.edu/chimera">www.cgl.ucsf.edu/chimera</A>) can certainly construct a <BR>structure-based sequence alignment, but can't incorporate structureless<BR>sequences into the alignment so maybe it's not what you're looking for.<BR>But just in case, here are the URLs for Chimera's Match->Align tool <BR>(which creates the alignment) and MatchMaker tool (which superimposes<BR>structures):<BR><BR><A href="http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/matchalign/">http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/matchalign/ </A><BR>matchalign.html<BR><A href="http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/matchmaker/">http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/matchmaker/</A><BR>matchmaker.html<BR><BR>--Eric<BR><BR> Eric Pettersen <BR> UCSF Computer Graphics Lab<BR><BR></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>