How to Visualize a Molecule in Jupyter Notebook§
Learn how to use OpenAD to visualize a molecule in 2D and 3D from a SMILES, InChI, InChIKey, name or PubChem ID.
Install OpenAD§
If you haven't already, install OpenAD and activate the OpenAD magic commands.
Note
While this tutorial is about Jupyter Notebook, it can just as well be applied to the command line, simply omit the %openad
magic command prefix.
Visualizing a Single Molecule§
You can also visualize a batch of molecules from a list or DataFrame, or from an SDF or CSV file.
That was easy. And you can use any type of molecular identifier:
- SMILES
- InChI
.. and if the molecule exists on PubChem:
- InChIKey
- name
- PubChem CID
Continue Learning§
Want to learn more about how to work with small molecules in OpenAD?
Check out the other small molecule tutorials.