Browsed by
Tag: python

Protein Visualization in VSCode

Protein Visualization in VSCode

VSCode Python add-in now supports ipywidgets in Jupyter Notebooks so you can view a protein or molecule visualization directly within the VSCode environment. First, we need to load the nglview library into the Jupyter Notebook environment. To do this, I am going to use anaconda. Quick note, the first time I tried to install the packages, I got several errors; however, after updating to the latest stable versions of anaconda and node, everything ran a lot smoother. I am using…

Read More Read More

Connecting VSCode to a Jupyter Notebook

Connecting VSCode to a Jupyter Notebook

I have been working a lot in Jupyter notebooks; however, as a coding environment, it lacks many of the bells and whistles that you get with an IDE. With the latest version of the VSCode Python plugin, you work directly with the Jupyter Notebook from within the IDE. The extension provides Intellisene support and the ability to run the Python code within the page. For example, here is the previous code I used to demonstrate RDKit running in my Jupyter…

Read More Read More

RDKit in Jupyter Notebooks

RDKit in Jupyter Notebooks

The Jupyter Notebook is an open-source web application that allows the creation and sharing of documents that can contain embedded Python code, and, data visualizations in SVG (Scalable Vector Graphics), and text. When analyzing data that has an associated molecular structure, it would be useful to visualize the structure within the current Jupyter notebook page rather than finding the record in the dataset and copy/pasting the raw structure format into another application. RDKit is an open source cheminformatics software toolkit…

Read More Read More