A tool for chemical space visualization and clustering.
Project description
visChem v0.1
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
- Clone the repository:
git clone visChem | cd visChem
- Install the required packages:
pip install -r requirements.txt
Note: Some packages like rdkit might require special installation instructions. Please refer to their official documentation for details.
Usage
- Prepare your data file, e.g., 'NCI/first_200.props.sdf'.
- Run the
example.pyscript:
python example.py
This script will execute the main function which:
- Reads the SMILES from the data file.
- 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.tar.gz.
File metadata
- Download URL: visChem-0.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3206e99aed4d94b3cb8e611334dc793a4215e46d82ca78591ef73dbcc0f7d582
|
|
| MD5 |
a9f940e9bd5c652d6bbe8b62621e65cb
|
|
| BLAKE2b-256 |
2b73d63c5ee431992c6629913f2e1d674c3f171f00c5a44cdddc9d04d767df5d
|
File details
Details for the file visChem-0.1-py3-none-any.whl.
File metadata
- Download URL: visChem-0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82bc3c0c8c15e162682ff6dcc96c0babcb6ad53856c671a88e73d3206e9893be
|
|
| MD5 |
45296f229fc7091292674491605e73b3
|
|
| BLAKE2b-256 |
0c09e91f3274ff691ef90c0d894a049ab96be7d6734c2e81f1f435278186068c
|