Skip to main content

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

  1. Clone the repository:
git clone visChem  | cd visChem
  1. 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

  1. Prepare your data file, e.g., 'NCI/first_200.props.sdf'.
  2. Run the example.py script:
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. output

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

visChem-0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

visChem-0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for visChem-0.1.tar.gz
Algorithm Hash digest
SHA256 3206e99aed4d94b3cb8e611334dc793a4215e46d82ca78591ef73dbcc0f7d582
MD5 a9f940e9bd5c652d6bbe8b62621e65cb
BLAKE2b-256 2b73d63c5ee431992c6629913f2e1d674c3f171f00c5a44cdddc9d04d767df5d

See more details on using hashes here.

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

Hashes for visChem-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82bc3c0c8c15e162682ff6dcc96c0babcb6ad53856c671a88e73d3206e9893be
MD5 45296f229fc7091292674491605e73b3
BLAKE2b-256 0c09e91f3274ff691ef90c0d894a049ab96be7d6734c2e81f1f435278186068c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page