Palimpsest's dumping ground

OncoPath

repo

OncoPath is an AI-driven clinical decision-support platform that predicts organ-specific metastatic risk by fusing longitudinal clinical data, 101-gene mutation profiles, and tumor pathology imaging. Trained on the MSK-MET cohort across all 21 metastatic destinations, the platform lets clinicians and researchers run real-time "What-If" simulations to see how specific mutations (e.g., TP53, KRAS, HER2) shift cancer progression across the body.

Problem

Cancer prognosis hinges on a complex interplay between a patient's clinical profile, tumor genomics, and histology — but clinicians typically reason about these signals in isolation. Existing tools either ignore the genomic layer, lack visual feedback, or fail to surface the organotropism patterns (KRAS→colorectal liver spread, HER2→breast-to-liver) that drive treatment planning.

Solution

Tech Stack

Frontend — Next.js 15 (App Router) + TypeScript + React 19; Three.js, React Three Fiber, React Three Drei for the 3D viewer; Tailwind CSS v4, Radix UI, lucide-react, Framer Motion; Zustand for client state; Clerk for auth; Anthropic SDK for streaming chat.

Backend & AI — FastAPI + Uvicorn inference service; XGBoost + Scikit-learn for 21 organ-specific classifiers; PyTorch + HuggingFace Transformers + Phikon (pathology foundation model) for image embeddings; SHAP for model interpretability; Anthropic Claude (Haiku & Sonnet) for the RAG clinical assistant; Joblib for model serialization.

Data & Infrastructure — Supabase (PostgreSQL, auth, storage); Pandas / NumPy / SciPy for data processing; MSK-MET multi-omic dataset as the training corpus; Python 3.9+ / Node.js 18+ runtime.

Results