<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Francesco,<div><span class="Apple-tab-span" style="white-space:pre"> </span>From the traceback you provided it seems that when you start the MD Movie tool and specify your input files, you are selecting something other than "Amber" from the "Trajectory format" menu. Perhaps you aren't changing that menu at all and are leaving it on some choice other than "Amber". To use a prmtop/mdcrd you need to change that menu to "Amber"!</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>The traceback is from an error in the DCD-reading code, which is only used for formats other than Amber.</div><div><br></div><div>--Eric</div><div><br><div><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "> Eric Pettersen</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "> UCSF Computer Graphics Lab</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" style="font: normal normal normal 16px/normal Helvetica; "> <a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></div><br class="Apple-interchange-newline"></div></span></div><div><div>On Jan 3, 2011, at 9:01 AM, Francesco Pietra wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>hello:<br>While I have solved how to show chloride ligands in case of allh<br>protein, the movie still fails in my hands.<br><br>I have installed the daily built<br><br>chimera-alpha-linux_x86_64.bin<br>Size: 86507786 bytes<br>MD5: 8f899c8b0ad19b3e8ae5a406d597cc41<br><br>getting the same error on prmtop/inpcrd:<br><br>You are now running Chimera version 1.6 (build 32219).<br>Your previous version was 1.5 (build 30702).<br>Check the release notes for new features and other info.<br>(To access the release notes, use the Help menu to bring up the User's Guide.<br>Then click the 'Documentation index' link and you will then see a link<br>for the release notes.)<br>MDTools 1.2 Exp (2005-08-20) by James Phillips.<br>Trajectory.DCD.MDToolsMarch97.md.help() for more info.<br>- HomoCoord 1.3 Exp (2005-08-20)<br>- Constants 1.1 Exp (2004-05-17)<br>- AtomGroup 1.4 Exp (2007-02-07)<br>- local 1.1 Exp (2004-05-17)<br>Unknown OSTYPE ??? set. Viewing and plotting are disabled.<br>- Trans 1.2 Exp (2005-08-20)<br>- DCD 1.10 Exp (2007-02-07)<br>- Data 1.2 Exp (2005-08-20)<br><type 'exceptions.IndexError'> Exception in Tk callback<br> Function: <function command at 0x3fe0ed8> (type: <type 'function'>)<br> Args: ()<br>Traceback (innermost last):<br> File "/usr/local/chimera/lib/python2.7/site-packages/Pmw/Pmw_1_3/lib/PmwBase.py",<br>line 1747, in __call__<br> return apply(self.func, args)<br><br>for files that are correctly handled by VMD (I have also tried<br>prmtop/inpcrd files that were correctly handled by chimera a couple of<br>years ago, getting now the same 'out of index error'. As the other<br>files for a would-be-publication have already been prepared with<br>chimera, I would like to solve the issue for the remaining figures.<br><br>Thanks<br><br>francesco<br><br><br>---------- Forwarded message ----------<br>From: Francesco Pietra <<a href="mailto:chiendarret@gmail.com">chiendarret@gmail.com</a>><br>Date: Sun, Jan 2, 2011 at 4:12 PM<br>Subject: index out of range<br>To: chimera <<a href="mailto:chimera-users@cgl.ucsf.edu">chimera-users@cgl.ucsf.edu</a>><br><br><br>Hello:<br>Two not new questions.<br><br>(1) I am trying to read prmtop/mdcrd files from Amber MD with chimera<br>alpha version 1.5 (build 30702) 2010-06-10 23:51:24 GMT, getting<br>"index out of range" (the files are correct, they open with VMD)<br><br><br>MDTools 1.2 Exp (2005-08-20) by James Phillips.<br>Trajectory.DCD.MDToolsMarch97.md.help() for more info.<br>- HomoCoord 1.3 Exp (2005-08-20)<br>- Constants 1.1 Exp (2004-05-17)<br>- AtomGroup 1.4 Exp (2007-02-07)<br>- local 1.1 Exp (2004-05-17)<br>Unknown OSTYPE ??? set. Viewing and plotting are disabled.<br>- Trans 1.2 Exp (2005-08-20)<br>- DCD 1.10 Exp (2007-02-07)<br>- Data 1.2 Exp (2005-08-20)<br>Traceback (most recent call last):<br> File "/usr/local/chimera/lib/python2.6/site-packages/Pmw/Pmw_1_3/lib/PmwBase.py",<br>line 1747, in __call__<br> return apply(self.func, args)<br> File "/usr/local/chimera/share/chimera/baseDialog.py", line 342, in command<br> getattr(s, buttonFuncName(txt))()<br> File "/usr/local/chimera/share/chimera/baseDialog.py", line 560, in OK<br> self.Apply()<br> File "/usr/local/chimera/share/Trajectory/EnsembleLoader.py", line 92, in Apply<br> self.callback)<br> File "/usr/local/chimera/share/Trajectory/DCD/__init__.py", line 72,<br>in loadEnsemble<br> addTrajKw=self.addTrajKw)<br> File "/usr/local/chimera/share/Trajectory/DCD/__init__.py", line 85,<br>in loadEnsemble<br> ensemble = DCD(psf, dcd, startFrame, endFrame)<br> File "/usr/local/chimera/share/Trajectory/DCD/DCD.py", line 24, in __init__<br> mdtMol = md.Molecule(psf=psfPath)<br> File "/usr/local/chimera/share/Trajectory/DCD/MDToolsMarch97/md_AtomGroup.py",<br>line 356, in __init__<br> nrecs = int(psfrec[0])<br>IndexError: list index out of range<br>IndexError: list index out of range<br><br> File "/usr/local/chimera/share/Trajectory/DCD/MDToolsMarch97/md_AtomGroup.py",<br>line 356, in __init__<br> nrecs = int(psfrec[0])<br>See reply log for Python traceback.<br>************************************************<br><br>(2) Although I suppose I used in the past ATOM ATTRIBUTES to display<br>chloride anion at its standard radius in preparing figures for<br>publication, I just get it now as a tiny dot as set by MODELLER. That<br>with proteins without or with non-polar hydrogens.<br><br>For example<br><br>TER 6750 LYS A 426<br>ATOM 6751 Cl- Cl- A 427 -31.021 4.748 41.205 1.00 6.32 Cl<br>TER 6752 Cl- A 427<br>ATOM 6753 N LEU B 1 -13.959 20.979 -35.226 1.00 63.95 N<br><br>I can't remember how to specify the chloride radius in command<br><br>sel :427@Cl-<br><br>************************************************<br><br>Thanks for pointing me to the correct procedure<br><br>francesco pietra<br><br>_______________________________________________<br>Chimera-users mailing list<br><a href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a><br>http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br><br></div></blockquote></div><br></div><br></body></html>