A tool for chemical space visualization and clustering.
Project description
visChem v0.1.2
Steve Niu[^1]
visChem is a Python module designed for visualizing chemical space using UMAP and clustering techniques. This tool facilitates the transformation of chemical structures into a 2D space and visualizes clusters of similar compounds.
Installation
Install using pypi
pip install visChem==0.1.2
Install using conda
conda install -c stevexniu vischem=0.1.2
Note: Some packages like rdkit might require special installation instructions. Please refer to their official documentation for details.
Usage
- See
example.pyfor details. - Run
python example.py.
The example.py script will execute the main function which:
- Load example 1000 SMILES from RDKit NCI/first_5K.smi.
- Converts SMILES to molecular representations.
- Generates molecular fingerprints.
- Computes Tanimoto similarity.
- Reduces dimensionality using UMAP.
- Performs clustering.
- Visualizes the chemical structures in the clustered chemical space below.
Refer to example.py for details and any potential modifications you might want to make for your specific use case.
[^1]: Safety Assessment, niu.steve@gene.com
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 visChem-0.1.2.tar.gz.
File metadata
- Download URL: visChem-0.1.2.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d88ec77591f42c848ab8eafd8de5c4f1b47d78adf1c3fb17694b3d9b712f9e8c
|
|
| MD5 |
28b233eae311f3878bc9c851b70e8504
|
|
| BLAKE2b-256 |
b2cc37ae13b2fbdf18d5781616ec114a76779487fcf144de574508db3301a314
|
File details
Details for the file visChem-0.1.2-py3-none-any.whl.
File metadata
- Download URL: visChem-0.1.2-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce1d931a32b15f5f1c5201ee3d90a9417789b975ae87f6972948415522f1f3ba
|
|
| MD5 |
9faa7f28ae8163cbe479bd67abdbe672
|
|
| BLAKE2b-256 |
e9e16e80e656048cb9eed13b28b693124541706232429234374ef5127f126d7f
|