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.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.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file visChem-0.1.1.tar.gz.

File metadata

  • Download URL: visChem-0.1.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.12

File hashes

Hashes for visChem-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aa933b639a9ce79b89dd8b71e49f39039177aa47508d4060b1a990bb9c45076a
MD5 69143499e16209d73ec4b9e9cf4cefe9
BLAKE2b-256 106deda23b7145196b7069874f23a272409492b538b5a17c3c9b51e392c2f9b4

See more details on using hashes here.

File details

Details for the file visChem-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: visChem-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for visChem-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e874ce451673f2b16d062e06c38556ed475e2bdc01f75769d86d62fc9d80ddc
MD5 a3be1a2d4e085b5386c2fb0ef40c985d
BLAKE2b-256 98c8b235dd07333cd3b4ece460f87601480d206604cd9305806031b7b212a6b9

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