Skip to content
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 DTR files #369

Open
jmintser opened this issue Sep 13, 2020 · 1 comment
Open

Support for DTR files #369

jmintser opened this issue Sep 13, 2020 · 1 comment

Comments

@jmintser
Copy link
Contributor

It would be great to support Desmond trajectories. Perhaps this could just be done via VMD's molfiles plugins?
Here are some examples trajectories:

MDtraj uses a tiny one in its tests:
https://zenodo.org/record/883901/preview/mdtraj/mdtraj-1.9.0.zip#tree_item361

https://zenodo.org/record/3663046#.X141BfL_p24

https://zenodo.org/record/3248885#.X14z9_L_p24

@Luthaf
Copy link
Member

Luthaf commented Sep 13, 2020

Copy-pasting my comment from gitter:

After digging a bit more in the VMD dtrplugin code, it seems that it support more than what is exported through the VMD API, and it would make sense to extract https://github.com/chemfiles/molfiles/blob/chemfiles/src/dtrplugin.hxx and https://github.com/chemfiles/molfiles/blob/chemfiles/src/dtrplugin.cxx and use them directly. In particular, they support reading only part of the trajectory, which helps reducing the amount of memory required.

This would workaround the issues we have with VMD plugins, cf #370.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants