-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for topology and trajectory #21
Comments
Not sure I understand. Data from multiple sources is supported by invoking the |
Thanks for the explanation. I think that what I was referring to is a different scenario. It's true that each frame could be extracted to its own distinct PDB file, each having a complete specification for its rendering, but this would be very inefficient (i.e. parsing + memory + representations) especially for long trajectories. |
I see. I'm not familiar with netCDF but this seems comparable to NMR trajectories. Right now, it would be possible to download some NMR structure and select different frames/models before creating representations. These would appear as separate/duplicate items in the MolViewSpec JSON representation but Mol* will cache e.g. the download of resources to avoid downloading the same content multiple times. It seems more elegant to trust the viewer with optimizing (potentially in some viewer-specific fashion) than moving this responsibility to the MolViewSpec specification itself. But we are open to revisit if performance becomes an issue. |
@papillot, For me easiest way to combine such file was using PyMol with something like this:
What I haven't found was option to autoplay trajectory right from load, but I think it's not absolutely necessary and can be done with custom Mol* installation |
Thanks @Glucksistemi for sharing! |
@papillot yes, I considered this approach earlier. If you need to build scenes manually, it should work fine. My problem is that I need to prepare MD results showcase automatically and session file is harder to prepare without handiwork in Mol* itself |
I would like to know it the specification allows to export a scene that contains topology and trajectory from two different resources?
The text was updated successfully, but these errors were encountered: