dash-molstar is a Dash component library that integrate Molstar Viewer into Dash framework. Molstar is a modern, web-based software framework for molecular visualization and analysis. With Dash, one can use pure python code to control some basic operations of molstar and easily embed this plugin into their web page.
For a quick look on how to install and use this library, you can check the link of the github repository:
For the visualization of biomacromolecules, we don’t have many choices on Dash framework. The NGLViewer was officially supported by Dash, but the users need a lot sophisticated controls to have NGL display the exact content they want.
Both NGLViewer and Molstar were funded by the RCSB PDB, while Molstar was developed in recent years. The art styles and color schemes of Molstar look much better. And Molstar is also more user-friendly than any other libraries for molecular visualization. It can also do many analyses for the user automatically, and they just need to simply click on buttons on the viewer. So if the embedding and data loading problem were solved, the user can deal with this plugin without writting extra callbacks.
This is EXACTL& what I’ve been looking for in my next project. The NGLViewer had some shortcomings for visualization and I was jumping through hoops trying to get integrate other javascript packages in the dash framework.