Skip to main content

A tool for chemical space visualization and clustering.

Project description

visChem v0.1.3

Steve Niu1

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

Install using conda

conda install -c stevexniu vischem

Note: Some packages like rdkit might require special installation instructions. Please refer to their official documentation for details.

Usage

  1. See example.py for details.
  2. 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.

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.3.tar.gz (29.5 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.3-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: visChem-0.1.3.tar.gz
  • Upload date:
  • Size: 29.5 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.3.tar.gz
Algorithm Hash digest
SHA256 d50402f886b78a03f34652b9c77d3f3d7716a8e8e8b444f57f2d1330c3efd351
MD5 f288138a055be7fe9727d5322c33d87a
BLAKE2b-256 95689ce75fbe0644c519eda6d94e0764bccc4421146da777a4bedbd51024ca1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: visChem-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 32.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a69fa691a0e5da9695ff06b0eec3fc658dc6d39d51ee451f36c5b78d890840fe
MD5 9997f7114a81d694360fd16fb64659ba
BLAKE2b-256 4172b77f86f89a11dd7f81b8025e3ece22ecc0eed04b272061d29ef904089acd

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