<div dir="ltr"><div>Awesome! Works like a charm.</div><div><br></div><div>Many thanks.</div><div><br></div><div>David.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 6:26 PM Eric Pettersen <<a href="mailto:pett@cgl.ucsf.edu">pett@cgl.ucsf.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi David,<div><span class="gmail-m_-6757673571942248512Apple-tab-span" style="white-space:pre-wrap"> </span>You’ll have to resort to Python for this. I’ve attached a (short) Python script that does the job. Simply opening it with the “open” command or File→Open will result in the other coordinate sets being pruned away. Let me know if you have any problems.</div><div><br></div><div>—Eric</div><div><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span class="gmail-m_-6757673571942248512Apple-tab-span" style="white-space:pre-wrap"><br class="gmail-m_-6757673571942248512Apple-interchange-newline"> </span>Eric Pettersen</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span class="gmail-m_-6757673571942248512Apple-tab-span" style="white-space:pre-wrap"> </span>UCSF Computer Graphics Lab</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div></div></div></div><div style="overflow-wrap: break-word;"><div><div>
</div>
<div><br><blockquote type="cite"><div>On Apr 29, 2019, at 7:53 AM, David Sáez <<a href="mailto:davidsaez@udec.cl" target="_blank">davidsaez@udec.cl</a>> wrote:</div><br class="gmail-m_-6757673571942248512Apple-interchange-newline"><div><div dir="auto">Dear Chimera experts:<div dir="auto"><br></div><div dir="auto">I have saved multiple sessions of molecular dynamics trajectories. Each session is about 5MB. </div><div dir="auto"><br></div><div dir="auto">Nevertheless, one of those files is huge, about 120MB. Checking the differences, I noticed that one of the files contained in the session, which normally is a one-frame .pdb, in the large case corresponds to a .nc file, a whole trajectory containing a large number of frames. I did not notice this before because when I opened the .py file, the MD movie box is not shown. </div><div dir="auto"><br></div><div dir="auto">As I am only interested in the currently displayed frame of this .nc file, is there a way to delete the additional frames? Some command line trick that would allow me to get rid of the uninteresting frames, and decrease the file size, without having to re-make the whole session again?</div><div dir="auto"><br></div><div dir="auto">My most immediate concern is that the file size is too large to be uploaded to a journal online platform.</div><div dir="auto"><br></div><div dir="auto">Any help is appreciated,</div><div dir="auto"><br></div><div dir="auto">Regards.</div><div dir="auto"><br></div><div dir="auto"><br></div></div>
_______________________________________________<br>Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank">Chimera-users@cgl.ucsf.edu</a><br>Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br></div></blockquote></div><br></div></div></blockquote></div>