nglviewer / nglview

Jupyter widget to interactively view molecular structures and trajectories
http://nglviewer.org/nglview/latest/
Other
788 stars 132 forks source link

Load MD trajectory with controls #1084

Closed pguillem closed 7 months ago

pguillem commented 7 months ago

Hello,

Is there an example html/js template that I could use to load an MD trajectory into a viewport?. Ideally, just providing a path to an XTC traj and pdb topology. Maybe even have some controls available (decimation, representations, etc), like the ones in the examples?

Is MDSrv necesary to move across frames on demand? or the viewport loads the entire trajectory?

Thanks in advance. Pedro

hainm commented 7 months ago

Dear @pguillem nglview is for Jupyter notebook. If you wants to look at html/js, please ask the question in the NGL repo: https://github.com/nglviewer/ngl/issues

cheers

pguillem commented 7 months ago

Thanks. Will do