XSMILES visualizations in Jupyter Lab
A Custom Jupyter Lab Widget to visualize SMILES-based and atom-based scores.
Please Cite
If you use XSMILES, the use cases, its code, or the generated explanations, please cite our article:
Article in preparation, a preprint should appear mid September!
Heberle, H., Zhao, L., Schmidt, S., Wolf, T., & Heinrich, J. (2022). XSMILES: interactive visualization for molecules, SMILES and XAI scores. Article in preparation.
@article{Heberle2022XSMILES,
author = {Heberle, Henry and Zhao, Linlin and Schmidt, Sebastian and Wolf, Thomas and Heinrich, Julian},
doi = {},
journal = {Article in preparation},
month = {},
number = {},
pages = {},
title = {{XSMILES: interactive visualization for molecules, SMILES and XAI scores}},
volume = {},
year = {2022}
}
Availability and examples
Example Notebook with a how-to
To use XSMILES with Jupyter Lab you need to install the package with pip and have internet connection while using it.
RDKit MinimalLib is downloaded by your browser.
Please check this notebook to see how to use the tool: Notebook
Note that it is only being tested with Jupyter Lab. A reason for you to use Lab is the space available for visualizations, which is much better than in regular Jupyter notebooks. We also had problems with the installation with Jupyter notebooks.
Installation
Quick example - create conda environment and installs xsmiles
conda create --name xsmiles_env python=3.7 -c conda-forge # create conda env with python 3.7
conda activate xsmiles_env # activate the created env
conda install -c conda-forge jupyterlab # install jupyter lab
pip install xsmiles # if xsmiles is not in pip yet, try pip install xsmiles-0.2.2-py2.py3-none-any.whl
# Download the most up to date whl from this repository's releases)
jupyter lab examples/xsmiles_examples.ipynb # run a notebook with jupyter lab
Uninstall
pip uninstall xsmilesrm -r <path-to:>/share/jupyter/labextensions/xsmilesjupyter labextension list
Development
Please check the DEVELOPMENT.md file.
Metadata
Release files for xsmiles 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xsmiles-0.2.2.tar.gz | 2.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xsmiles-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 3.7 MB
Release files / xsmiles-0.2.2.tar.gz
| Download URL | xsmiles-0.2.2.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ae58126b46194c3255f99004a8ffa65f7c8b03e7597d1e01fc1599672ded981
|
|
BLAKE2b-256 checksum How to use checksums |
897926b016faeca7bf98059c76132acb3b79341993ebb48f85496f703af51ed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / xsmiles-0.2.2-py2.py3-none-any.whl
| Download URL | xsmiles-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e9cbd1698fe8839b84f4ab7a6f9bbcecc48e76c8d579d590158d9408b1260d68
|
|
BLAKE2b-256 checksum How to use checksums |
d85e2a03d3552341e52f332cc3962790bc1cdd071319fd967590d4cbd9e6f569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|