Skip to content

mondalsou/drug-discovery-triage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Š Drug Discovery Triage

Live Demo License: MIT Python React FastAPI

Production-ready web application for preliminary drug candidate screening with comprehensive ADMET predictions

Live Demo β€’ Documentation β€’ Tech Stack β€’ Features


🎯 Overview

Drug Discovery Triage is a modern web application that helps medicinal chemists and researchers rapidly assess drug-likeness and ADMET properties of small molecules. Built with transparency and scientific rigor in mind, it uses validated rule-based methods to predict:

  • Drug-likeness scores (QED, Lipinski, Lead-likeness)
  • ADMET properties (Solubility, BBB penetration, GI absorption, CNS MPO)
  • Toxicity alerts (10 PAINS patterns, CYP450 metabolism)
  • Stereochemistry analysis with educational context

🌟 Why This Project Stands Out

  • βœ… Production-ready: Full-stack deployment with CI/CD
  • βœ… Scientifically validated: All methods peer-reviewed (ESOL, Lipinski, CNS MPO, Murcko scaffolds)
  • βœ… Transparent: Rule-based predictions (no black-box ML)
  • βœ… Modern UI/UX: Dark-themed Material-UI with responsive design
  • βœ… Fast: <100ms prediction time, instant results
  • βœ… Educational: Explains WHY stereoisomers differ in biology

πŸš€ Live Demo

Try it now: https://drug-discovery-triage-hx7j.vercel.app

Example Molecules to Test:

Molecule SMILES Expected Results
(S)-Ibuprofen CC(C)Cc1ccc([C@H](C)C(=O)O)cc1 QED: 0.72, BBB+, High CNS
Aspirin CC(=O)OC1=CC=CC=C1C(=O)O QED: 0.58, Lead-like
Caffeine CN1C=NC2=C1C(=O)N(C(=O)N2C)C BBB+, CNS active

✨ Key Features

πŸ§ͺ Comprehensive ADMET Predictions

Absorption & Distribution

  • Aqueous solubility (ESOL equation)
  • GI absorption (Lipinski + Veber)
  • BBB penetration (multi-parameter)
  • CNS MPO score (Pfizer method)

Metabolism & Toxicity

  • CYP450 substrate predictions
  • 10 PAINS/structural alerts
  • Clinical toxicity risk
  • FDA approval likelihood

πŸ“Š Drug-likeness Metrics

  • QED Score: Quantitative Estimate of Drug-likeness (0-1 scale)
  • Lipinski Rule-of-Five: Oral bioavailability assessment
  • Lead-likeness: Rule of 3 for fragment screening
  • Scaffold Analysis: Murcko scaffold extraction

πŸ”¬ Stereochemistry Analysis

  • Identifies chiral centers (R/S configuration)
  • Educational context explaining enantiomer differences
  • Visual structure comparison
  • Historical examples (Thalidomide, Ibuprofen)

🎨 Modern User Interface

  • Dark-themed Material-UI design
  • Real-time predictions (<100ms)
  • Interactive property cards with tooltips
  • Responsive layout (mobile-friendly)
  • Copy SMILES functionality

πŸ› οΈ Tech Stack

Backend

  • FastAPI - High-performance Python API framework
  • RDKit - Cheminformatics toolkit for molecular descriptors
  • Pydantic - Data validation and settings management
  • Uvicorn - ASGI server

Frontend

  • React 19 - Modern UI library
  • TypeScript - Type-safe JavaScript
  • Material-UI 7 - Component library
  • Vite - Fast build tool

Deployment

  • Vercel - Frontend hosting with edge functions
  • Railway/Render - Backend API hosting
  • Docker - Containerization for reproducibility
  • GitHub Actions - CI/CD pipeline

πŸ“š Documentation

Quick Start

# Clone the repository
git clone https://github.com/mondalsou/drug-discovery-triage.git
cd drug-discovery-triage

# Run with Docker Compose (easiest)
docker-compose up --build

# Access the application
# Frontend: http://localhost:3000
# Backend API: http://localhost:8000
# API Docs: http://localhost:8000/docs

Local Development

Backend:

cd backend
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload

Frontend:

cd frontend
npm install
npm run dev

πŸ”¬ Scientific Validation

All prediction methods are based on peer-reviewed literature:

Method Reference Year
ESOL Solubility Delaney, J. Chem. Inf. Comput. Sci. 2004
Lipinski RO5 Lipinski et al., Adv. Drug Deliv. Rev. 2001
CNS MPO Wager et al., ACS Chem. Neurosci. 2010
Lead-likeness Congreve et al., Drug Discovery Today 2003
Murcko Scaffolds Bemis & Murcko, J. Med. Chem. 1996
PAINS Baell & Holloway, J. Med. Chem. 2010

πŸ“Š Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     User Browser                        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚
                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Frontend (React + Vite)                    β”‚
β”‚              Hosted on Vercel                           β”‚
β”‚  β€’ Material-UI components                               β”‚
β”‚  β€’ TypeScript for type safety                           β”‚
β”‚  β€’ Responsive design                                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚ REST API
                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚            Backend (FastAPI + RDKit)                    β”‚
β”‚            Hosted on Railway/Render                     β”‚
β”‚  β€’ Molecular descriptor calculation                     β”‚
β”‚  β€’ ADMET predictions                                    β”‚
β”‚  β€’ Structure rendering                                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🎯 Use Cases

For Medicinal Chemists

  • Rapid compound prioritization
  • SAR analysis with scaffold extraction
  • ADMET liability identification
  • Stereochemistry education

For Researchers

  • Virtual screening preparation
  • Compound library profiling
  • Lead optimization guidance
  • Drug-likeness assessment

For Educators

  • Teaching medicinal chemistry concepts
  • Demonstrating ADMET principles
  • Stereochemistry visualization
  • Property-based design

🚒 Deployment

Docker Compose (Self-Hosted)

docker-compose up --build

Vercel (Frontend)

cd frontend
vercel --prod

Railway (Backend)

cd backend
railway up

See DEPLOYMENT_GUIDE.md for detailed instructions.


🀝 Contributing

Contributions are welcome! This project is designed to be:

  • Educational: Clear, well-documented code
  • Extensible: Easy to add new prediction methods
  • Scientific: All methods must be peer-reviewed

Areas for Enhancement

  • Batch processing (CSV upload)
  • Export results (PDF/CSV)
  • Additional ADMET endpoints
  • 3D conformation generation
  • Substructure search

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ‘¨β€πŸ’» Author

Sourav Mondal


πŸ™ Acknowledgments

  • RDKit community for the excellent cheminformatics toolkit
  • FastAPI for the modern Python web framework
  • Material-UI for the beautiful component library
  • Scientific literature authors for validated ADMET methods

πŸ“ˆ Project Stats

  • Lines of Code: ~3,500 (Python + TypeScript)
  • Prediction Time: <100ms per molecule
  • Docker Image Size: ~500MB (optimized)
  • Test Coverage: Core chemistry functions validated
  • Deployment: Automated CI/CD with GitHub Actions

⭐ Star this repo if you find it useful!

Built with ❀️ for the drug discovery community

Live Demo β€’ Report Bug β€’ Request Feature

About

πŸ”¬ Full-stack drug discovery triage app | React + FastAPI + RDKit | ADMET predictions, QED scoring, PAINS alerts | Live demo

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages