Features Pipeline Stack Install Security Open Live Demo

Molecular research,
unified in one workspace

CASCADE brings together molecular sketching, 3D conformation, ADMET profiling, graph neural network inference, and protein-ligand docking into a single browser-based environment.

2.89M compound database
23 ring/scaffold templates
GNN trained MPNN model
prawin.app/works/cascade
CASCADE application — Sketch tab showing the molecular drawing canvas with atom palette, bond tools, and ring templates

Capabilities

Everything the pipeline needs,
nothing it doesn't

Each module is independently useful and collectively forms a coherent drug-discovery research environment.

2D Molecular Sketcher

A fully custom HTML5 canvas-based sketcher with draw, erase, move, zoom, pan, undo/redo, configurable bond orders, and 23 ring and scaffold templates — no third-party sketcher dependency.

  • Canvas graph serialized to RDKit-validated SMILES
  • Direct SMILES string entry and paste
  • Drug-name autocomplete via local SQLite FTS5
  • PubChem API fallback for unresolved names

3D Conformer Generation

ETKDGv3 with MMFF94/MMFF94s/UFF force-field minimization, interactive 3Dmol.js viewer, and SDF, XYZ, MOL2 export.

Graph Neural Network

PyTorch MPNN producing per-atom and molecule-level property estimates from atom types and pairwise 3D distances. SHA-256 weight validation at load time.

Drug-Likeness Rules

Lipinski Ro5 and Veber filters, live molecular descriptors, ADMET-AI integration, and a heuristic design score with RDKit fallback.

2.89M Compound Database

Local SQLite/FTS5 drug search with Morgan-fingerprint Tanimoto similarity comparison — instant lookup without external API calls.

Protein-Ligand Docking

PDB fetch or upload, ligand selection, geometry-based interaction profiling, and optional GNINA CNN-based docking with Ollama NLP commands for the 3D viewer.

Production Security Architecture

Per-user and per-job directory isolation with UUID path canonicalization, SHA-256 GNN weight validation with fail-closed loading, session security with rate-limited login, and isolated Docker service ports. Health probes at /health/live and /health/ready.

  • Celery/Redis async task submission with task ownership enforcement
  • Secure PDB upload with strict file-type validation
  • Explicit GPU opt-in — CPU is the safe default

Workflow

A deterministic SMILES pipeline

Every downstream analysis is anchored to a single canonical SMILES string, ensuring reproducible results across all modules.

  1. Molecule Input

    Draw on the canvas, paste a SMILES, or type a drug name. Resolved to an RDKit molecule and canonical SMILES string — locally or via PubChem fallback.

  2. 2D Cleanup

    RDKit validates the structure and generates clean 2D coordinates with proper layout and bond representation.

  3. 3D Conformer & Force-Field Minimization

    Explicit hydrogens are added, ETKDGv3 generates a starting 3D conformer, and MMFF94/MMFF94s/UFF relaxes the geometry.

  4. Descriptor Calculation & Drug-Likeness

    Molecular descriptors, Lipinski Ro5, Veber filters, ADMET-AI predictions, and a heuristic design score are computed in sequence.

  5. GNN Inference

    The MPNN processes atom types and pairwise 3D distances, producing per-atom and molecule-level property estimates.

  6. Database Matching & Interaction Profiling

    Tanimoto similarity search over 2.89M compounds; optional PDB fetch and geometry-based protein-ligand contact profiling.

CASCADE is a research tool. GNN predictions, docking poses, ADMET profiles, and heuristic scores are computational approximations and do not substitute for in vitro or clinical validation.

Technology

Built on proven scientific foundations

Core

Python Flask RDKit PyTorch BioPython

Frontend

HTML5 Canvas Vanilla JS 3Dmol.js

Data & Tasks

SQLite FTS5 Celery Redis Docker

Optional

ADMET-AI Ollama GNINA

Get Started

Available on your platform

Desktop installers bundle Python, RDKit, PyTorch, and Flask. Docker is supported on all platforms and is recommended for custom AI configuration.

Windows

Native installer with Program Files setup, Start Menu shortcuts, automatic WebView2 configuration, in-place upgrades, and an uninstaller.

x64 · Windows 10 / 11
Download .exe

macOS

Apple Silicon DMG with standard drag-to-Applications layout. Intel Mac users should use the Docker installation path.

Apple Silicon (M1 / M2 / M3)
Download .dmg

Docker

One command installs and starts everything. Works on Linux, macOS (Intel and Apple Silicon), and Windows. Recommended for Ollama and custom AI configuration.

bash
git clone https://github.com/prawinin/CASCADE.git
cd CASCADE
python compose_up.py

Requirements

  • Docker Desktop (Windows / macOS / Linux) for the Docker path
  • Python 3.11+ for compose_up.py
  • Approximately 900 MB free disk space for data and model files
  • On first launch, CASCADE auto-downloads the 2.89M compound database, fingerprint index, and trained GNN weights (~850 MB). Downloads resume on interruption and every file is SHA-256 verified.

Audit & Performance

Built with production security from the ground up

A comprehensive engineering and security audit covers the full implementation stack. Key findings are documented inline below.

Fail-closed GNN loading

The model loader validates a SHA-256 checksum against the packaged manifest before any inference runs. A mismatched or missing checkpoint aborts startup rather than proceeding with untrusted weights.

Per-job directory isolation

Every computation runs inside a UUID-keyed job workspace under jobs/<user-id>/<job-id>/. All paths are canonicalized before use to prevent directory traversal attacks.

Rate-limited authentication

Login endpoints are rate-limited server-side. Sessions carry secure flags and task ownership is enforced at every Celery status and cancel route — users can only read or cancel their own jobs.

SHA-256 data verification

The 2.89M compound database, fingerprint index, and GNN weights are each verified against a SHA-256 manifest in packaging/assets.json before use. Downloads resume on interruption.

Explicit inference device

MODEL_DEVICE=cpu is the safe default. GPU execution requires an explicit opt-in via the environment file. This eliminates accidental CUDA exposure in constrained deployments.

Health probes

/health/live reports liveness; /health/ready verifies Redis connectivity, SQLite availability, writable job storage, and the model checkpoint before accepting traffic.

Provenance

Research context

CASCADE was developed by Prawin under the supervision of Dr. Rajiv K. Kar (Assistant Professor, Jyoti and Bhupat Mehta School of Health Sciences & Technology, IIT Guwahati).