OMGUI is a Python library to visualize small molecules, macromolecules and various types of data on the fly.
Project description
OMGUI
Open-source Molecular Graphical User Interface
OMGUI is a web interface that makes it dead-simple to visualize and triage your molecule results in Python.
It supports small molecules as well as macromolecules like proteins.
Run it from a Jupyter Notebook or any Python (3.11+) script.
import omgui
omgui.show_mol('dopamine')
Included are also the chartviz and molviz sub-libraries for generating charts an molecular images in 2D & 3D.
Installation
More details under Installation.
pip install omgui
Quick Start
Inspect a Set of Molecules
import omgui
omgui.show_mols(["C(C(=O)O)N", "C1=CC=CC=C1", "CC(CC(=O)O)O"])
Inspect a Single Molecule
import omgui
omgui.show_mol('dopamine')
Documentation
- Installation
- Configuration
- GUI - Graphical user interface for molecules and data
- molviz - Sub-module for molecule visualization
- chartviz - Sub-module for chart visualisation
- about
Troubleshooting
Shutting down a blocked port
If the OMGUI server didn't shut down properly and is occupying a port, you can shut it down by visiting:
http://localhost:8024/shutdownIf this didn't work, you can always run:
kill -9 $(lsof -ti:8024)
Inspecting config
To get an overview of your current configuration including the source of each value, you can run:
from omgui import config config.report()For more, visit config documentation
Inspecting context
To debug your current context (which sets your workspace), you can run:
import omgui omgui.get_context()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omgui-1.0.1.tar.gz.
File metadata
- Download URL: omgui-1.0.1.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee544aa6215a008a3879f2750b043f803b8b52d74ee487223ba4ca3960c84785
|
|
| MD5 |
d148a8db7a02885eb0ee7ce99ab49fba
|
|
| BLAKE2b-256 |
c7f50769778e75eddf4b0ff90c5a6cc83211a51689075c00171429ee72368c05
|
File details
Details for the file omgui-1.0.1-py3-none-any.whl.
File metadata
- Download URL: omgui-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2100a424b346e319ba051dc840e603d3a03bfb9619cb737bc41c8ce9095dd423
|
|
| MD5 |
9f34353cbb1c8e7ba01d6707c55aba1e
|
|
| BLAKE2b-256 |
d666c543b3b6abeecc99eb05836cd31fdc73030aa05d13e922440b6507825c25
|