<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Radosław,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tony's reply offers valuable specifics about adding a trajectory format.<br class=""><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>There is no step-by-step guide like the one in Chimera. Since trajectories in ChimeraX are opened via the generic 'open' command, you should familiarize yourself with how to add a new format to the open command. This involves writing a 'bundle' that is installed into ChimeraX. How to create a bundle is described extensively in the <a href="https://www.cgl.ucsf.edu/chimerax/docs/devel/tutorials/introduction.html#seven-steps" class="">ChimeraX Developer Tutorial</a>. You should read the whole thing, but the "Bundle Example: Read a New File Format" section is particularly relevant to what you want to do.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>To make your bundle, I would take the <a href="https://github.com/RBVI/ChimeraX/tree/develop/src/bundles/md_crds" class="">existing code for the md_crds bundle</a> and modify it to support your format. If your format loads coordinates into an existing structure, it would use the code paths that .xtc and analogous formats use. If it creates the structure itself, it would use the paths that the .psf format uses. Feel free to ask questions if you run into problems.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>If this trajectory format is private, or is used only in your institution, you can just directly give your bundle's wheel to whoever needs it and they can install it into their ChimeraX with the "toolshed install" command. If its use is more widespread than that, your could submit the bundle to the <a href="https://cxtoolshed.rbvi.ucsf.edu/" class="">ChimeraX Toolshed</a>, where any ChimeraX user can download/install it. If the format is widely used, you could submit a pull request the the ChimeraX GitHub repository to add support for the format directly to the md_crds bundle.</div><div class=""><br class=""></div><div class=""><div class="">--Eric</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>UCSF Computer Graphics Lab</div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 30, 2021, at 5:24 AM, Radosław Giziński via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">Is there a way I can add custom, multi-frame trajectory format to ChimeraX so I can view multi frame trajectories?<br class="">Is there some manual that could guide me through the process like this?:<br class=""><a href="https://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html" class="">https://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html</a><br class=""><br class="">(scroll to the bottom)<br class=""><br class="">Best regards,<br class=""><br class="">Radosław Giziński<br class=""><br class=""><br class="">_______________________________________________<br class="">ChimeraX-users mailing list<br class="">ChimeraX-users@cgl.ucsf.edu<br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""><br class=""></div></div></blockquote></div><br class=""></div></div></body></html>