Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2018 Apr 1;34(7):1241-1242.
doi: 10.1093/bioinformatics/btx789.

NGLview-interactive molecular graphics for Jupyter notebooks

Affiliations

NGLview-interactive molecular graphics for Jupyter notebooks

Hai Nguyen et al. Bioinformatics. .

Abstract

Summary: NGLview is a Jupyter/IPython widget to interactively view molecular structures as well as trajectories from molecular dynamics simulations. Fast and scalable molecular graphics are provided through the NGL Viewer. The widget supports showing data from the file-system, online data bases and from objects of many popular analysis libraries including mdanalysis, mdtraj, pytraj, rdkit and more.

Availability and implementation: The source code is freely available under the MIT license at https://github.com/arose/nglview. Python packages are available from PyPI and bioconda. NGLview uses Python on the server-side and JavaScript on the client. The integration with Jupyter is done through the ipywidgets package. The NGL Viewer is embedded client-side to provide WebGL accelerated molecular graphics.

Contact: asr.moin@gmail.com.

PubMed Disclaimer

Figures

Fig. 1.
Fig. 1.
Example Jupyter notebook session. A topology and a trajectory are loaded with pytraj and then rendered with NGLview, showing a cartoon representation for the protein and a ball and stick representation for everything else

References

    1. Chaudhury S. et al. (2010) PyRosetta: a script-based interface for implementing molecular modeling algorithms using Rosetta. Bioinformatics, 26, 689–691. - PMC - PubMed
    1. Cock P.J.A. et al. (2009) Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics, 25, 1422–1423. - PMC - PubMed
    1. Doerr S. et al. (2016) HTMD: high-throughput molecular dynamics for molecular discovery. J. Chem. Theory Comput., 12, 1845–1852. - PubMed
    1. Grosse-Kunstleve R.W. et al. (2002) The computational crystallography toolbox: crystallographic algorithms in a reusable software framework. J. Appl. Cryst., 35, 126–136.
    1. Grüning B.A. et al. (2017) Jupyter and Galaxy: easing entry barriers into complex data analyses for biomedical researchers. PLoS Comput. Biol., 13, e1005425. - PMC - PubMed

Publication types

MeSH terms