GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - the-ahuja-lab/ChemicalDice: ChemicalDice is a deep learning featurizer trained with unsupervised learning on the CHEMBL database. It encodes six molecular representations: quantum descriptors, bioactivity profiles, language model embeddings, graph-based features, physicochemical properties, and 2D image-based features.

BranchesTags
Open more actions menu

Latest commit

 

History

152 Commits
152 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Images
Images
 
 
License
License
 
 
R-package
R-package
 
 
branding
branding
 
 
datasets
datasets
 
 
demo
demo
 
 
docs
docs
 
 
python-package
python-package
 
 
site
site
 
 
training
training
 
 
.zenodo.json
.zenodo.json
 
 
CITATION.cff
CITATION.cff
 
 
README.md
README.md
 
 
quickstart.md
quickstart.md
 
 
training.md
training.md
 
 
zensical.toml
zensical.toml
 
 

Repository files navigation

ChemicalDice · CDI — Multimodal Molecular Representation Learning

One molecule, many views — one unified latent space. ChemicalDice / CDI is a deep learning framework that integrates complementary molecular representations into a single, information-rich chemical embedding.


Why this problem matters

A molecule is not one thing. It has physicochemical properties, a graph structure, a language (SMILES), a bioactivity history, a 2D shape, and a quantum-chemical character. Models built on any single view see only part of the molecule — and generalize only as far as that view allows. Molecular machine learning needs representations that capture chemical, structural and biological semantics simultaneously.

Scientific question

How should a molecule be represented when no single molecular description captures all of its biology and chemistry?

Concept

ChemicalDice Integrator Overview

What the system does

CDI performs unsupervised integration of five complementary molecular embeddings:

  • Bioactivity signatures
  • Language model embeddings
  • Graph-derived representations
  • Physicochemical profiles
  • 2D molecular image features

Each compound's five feature types are combined into a single latent embedding that captures chemical, structural, and biological semantics. These embeddings can be used directly for QSAR modeling, virtual screening, drug–target interaction prediction, and bioactivity clustering — and are distilled into a deployable molecular representation accessible from SMILES.

Main methodological contributions

  • Unsupervised integration of five heterogeneous molecular views into one latent space
  • SMILES-based distillation → deployable representation for arbitrary query molecules
  • Production interfaces in Python and R
  • CDI Bot — a containerised, LLM-powered conversational interface to the embedding platform

Benchmark & validation

  • Out-of-distribution analysis
  • Ablation analysis
  • Architecture documentation

Installation

Python prerequisites: Python ≥ 3.8, RDKit ≥ 2022.3.1, pandas ≥ 1.4.3, numpy ≥ 1.20.3, tqdm ≥ 4.65, requests ≥ 2.32.4

pip install rdkit pandas numpy tqdm requests
pip install ChemicalDice

R interface (from GitHub):

install.packages(c("httr", "data.table", "progress", "jsonlite", "reticulate", "curl", "remotes"))
remotes::install_github("the-ahuja-lab/ChemicalDice", subdir = "R-package")

Quick start

from ChemicalDice import smiles_to_embeddings

# Generate embeddings from a CSV with a 'SMILES' column
CDI_embeddings = smiles_to_embeddings.collect_features_from_csv(
    filepath="smiles.csv",
    convert_to_canonical=False
)
CDI_embeddings.to_csv("CDI_embeddings.csv", index=False)

Each row is validated (invalid SMILES flagged and skipped), optionally canonicalised, and converted into the unified feature vector. The standardized output plugs directly into QSAR, clustering, virtual screening, or ML pipelines.

Examples

Interface Demo
Python Open in Colab
R Open in Colab

Reproducibility

  • Complete documentation (architecture, API reference, deployment, OOD & ablation analyses)
  • Training data & notebooks and training scripts
  • CDI Bot demo: watch

Note: the CSV input is modified in place during processing — always work on a copy of your original data.

Citation

If you use Chemical Dice Integrator, please cite the software:

Ahuja Lab. (2025). Chemical Dice Integrator (CDI) — a deep learning framework for
integrating heterogeneous molecular representations into a unified chemical embedding
space. https://github.com/the-ahuja-lab/ChemicalDice

Machine-readable metadata: CITATION.cff.

Team

The Ahuja Lab — computational biology and molecular AI.

License

MIT — see LICENSE.txt.

About

ChemicalDice is a deep learning featurizer trained with unsupervised learning on the CHEMBL database. It encodes six molecular representations: quantum descriptors, bioactivity profiles, language model embeddings, graph-based features, physicochemical properties, and 2D image-based features.

Topics

deep-learningdistillation-modelembeddingsembeddings-modelfeature-extraction

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.