<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On May 29, 2013, at 10:46 AM, Dennis N Bromley <<a href="mailto:dbromley@uw.edu">dbromley@uw.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Eric,<div><br></div><div style="">Thank you very much for your help. My data is happily loading away. :)</div></div></blockquote><div><br></div>Hi Denny, happy to hear it!</div><div><br><blockquote type="cite"><div dir="ltr"><div style="">I have two more questions regarding loading:</div><div style="">1. My trajectory can contain multiple models (i.e. multiple proteins, not just protein + ligand). How do I specify that?</div></div></blockquote><div><br></div>I'm not sure I understand the issue. In Chimera, a "model" can have multiple proteins. A model is just biological data that came from a single data source (<i>e.g.</i> a PDB file, an MRC file) and is always moved/rotated as a whole. Help me out here. :-)</div><div><br><blockquote type="cite"><div dir="ltr">
<div style="">2. My data is actually coming from a streaming source where the other end of the stream could add molecules or change the structure. I know how to catch that message, but how would I tell Chimera that the structure had changed and I need to re-do all the models and residue counts and names and such (all the stuff from the GetDict() call)?</div></div></blockquote><br></div><div>Like VMD, Chimera employs the paradigm that trajectories don't change composition over time. Despite that, you can change the composition of your trajectory "by hand" by calling the correct atom/bond/residue creation/deletion calls yourself (<i>i.e.</i> the Molecule methods newAtom, newBond, newResidue, deleteAtom, deleteBond, deleteResidue). You would need to set the coordinates of any new atoms via their setCoord method. If you do nothing about it, the coordinates of these new atoms in previous frames will be at the origin.</div><div><br></div><div>Let me know what additional help you need.</div><div><br></div><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; "><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><br class="Apple-interchange-newline"></span>
</div>
<br></body></html>