nglviewer / mdsrv

MD trajectory server
http://arose.github.io/mdsrv/
Other
36 stars 10 forks source link

h5 file format #58

Open pguillem opened 1 year ago

pguillem commented 1 year ago

Hello,

I want to load a trajectory in H5 format into NGL, but using "file://" as source doesn't work because NGL doesn't understand H5.

The docs speak of a way to plug trajectory data from the server directly into NGL. I also see the code in trajectory.py provides a method to read H5 trajectories using MDTraj.

Could you provide a quick example JS to load a H5 trajectory from MDSrv?

Thanks in advance