📁 C:\Users\nakhi\BBB_System\
📄 START_HERE.bat ← DOUBLE-CLICK THIS FILE!
cd C:\Users\nakhi\BBB_System
streamlit run app.pyThe interface will automatically open at: http://localhost:8501
╔═══════════════════════════════════════════════════════════════╗
║ ║
║ 🧬 BBB Permeability Predictor ║
║ ║
║ Graph Neural Network powered Blood-Brain Barrier ║
║ prediction ║
║ ║
╚═══════════════════════════════════════════════════════════════╝
(Beautiful blue gradient background)
┌─────────────────────────────────────┐
│ ⚙️ Settings │
├─────────────────────────────────────┤
│ Input Mode: │
│ ○ Common Molecules │
│ ○ SMILES String │
│ ○ Molecule Name (Beta) │
├─────────────────────────────────────┤
│ 📊 Model Info │
│ Validation MAE: 0.0967 │
│ Parameters: 649,345 │
│ Architecture: GAT+SAGE │
├─────────────────────────────────────┤
│ 📖 Categories │
│ ✅ BBB+ (≥0.6): High permeability│
│ ⚠️ BBB± (0.4-0.6): Moderate │
│ ❌ BBB- (<0.4): Low permeability │
├─────────────────────────────────────┤
│ ℹ️ About │
│ This tool uses a hybrid Graph │
│ Attention Network... │
└─────────────────────────────────────┘
┌────────────────────────────────────────────────────┐
│ Select a Common Molecule │
├────────────────────────────────────────────────────┤
│ │
│ Category: [CNS Drugs ▼] │
│ │
│ Molecule: [Caffeine ▼] │
│ Options: │
│ - Caffeine │
│ - Cocaine │
│ - Morphine │
│ - Nicotine │
│ - Aspirin │
│ - Ibuprofen │
│ - Acetaminophen │
│ - Propranolol │
│ │
│ SMILES: CN1C=NC2=C1C(=O)N(C(=O)N2C)C │
│ │
└────────────────────────────────────────────────────┘
╔════════════════════════════════════════════════════╗
║ 🔮 Predict BBB Permeability ║
╚════════════════════════════════════════════════════╝
(Large blue gradient button)
╔════════════════════════════════════════════════════╗
║ ║
║ ✅ BBB+ ║
║ ║
║ HIGH BBB permeability ║
║ ║
║ 0.782 ║
║ ║
╚════════════════════════════════════════════════════╝
(Green gradient for BBB+, Red for BBB-, Orange for BBB±)
Left Side: Gauge Chart
BBB Permeability Score
┌─────────────────┐
╱ ╲
╱ 🔴 Red 🟡 🟢 ╲
│ 0.0 0.4 0.6 1.0│
╲ ↑ ╱
╲ 0.782 ╱
└─────────────────┘
(Needle points to green zone)
Right Side: Radar Chart
MW Score
╱╲
╱ ╲
H-Acc ╱ ╲ LogP
╱ ⬡ ╲
╱ ╲
╱──────────╲
TPSA H-Donors
┌──────────────┬──────────────┬──────────────┬──────────────┐
│ Molecular │ LogP │ TPSA │ BBB Rules │
│ Weight │ │ │ │
│ 194.1 Da │ -1.03 │ 61.8 A² │ ❌ No │
└──────────────┴──────────────┴──────────────┴──────────────┘
┌─────────────────────────────────────────────────────────────┐
│ Hydrogen Bonding │ Structure │
│ • H-bond Donors: 0 (≤3) │ • Rotatable Bonds: 0 │
│ • H-bond Acceptors: 6 (≤7) │ • Aromatic Rings: 2 │
│ │ • Total Atoms: 14 │
│ Drug-likeness │ BBB Rules Criteria │
│ • Lipinski Violations: 0/4 │ • MW: 150-450 Da │
│ • BBB Compliance: ❌ No │ • LogP: 1-5 │
│ │ • TPSA: <90 A² │
└─────────────────────────────────────────────────────────────┘
⚠️ Warnings:
- LogP outside optimal range (1-5): -1.03
Molecular Properties
MW ████████░░ 194.2
LogP ██░░░░░░░ -1.03
TPSA ██████░░░ 61.8
H-D ░░░░░░░░░ 0
H-A ██████░░░ 6
Rot ░░░░░░░░░ 0
0 50 100 150 200
┌──────────────────────────┬──────────────────────────┐
│ 📥 Download Results (CSV)│ 📥 Download Results (JSON)│
└──────────────────────────┴──────────────────────────┘
- Select Input Mode: "Common Molecules"
- Choose Category: "CNS Drugs"
- Select Molecule: "Caffeine"
- Click: "🔮 Predict BBB Permeability"
- See Results:
- ✅ BBB+ in green box
- Score: 0.782
- Gauge shows in green zone
- Radar shows drug profile
- Warning: LogP outside range
- Select Category: "Simple Molecules"
- Select Molecule: "Glucose"
- Click Predict
- See Results:
- ❌ BBB- in red box
- Score: 0.109
- Gauge shows in red zone
- Multiple warnings
- Select Input Mode: "SMILES String"
- Paste SMILES:
c1ccccc1(Benzene) - Click Predict
- See Results:
- ✅ BBB+ with score 0.802
- 🟢 Green (BBB+): High permeability, good for CNS drugs
- 🟠 Orange (BBB±): Moderate permeability, uncertain
- 🔴 Red (BBB-): Low permeability, won't cross BBB
- 🔴 Red (0.0-0.4): BBB- zone
- 🟡 Yellow (0.4-0.6): BBB± zone
- 🟢 Green (0.6-1.0): BBB+ zone
- Caffeine - Stimulant
- Cocaine - Stimulant
- Morphine - Opioid
- Nicotine - Stimulant
- Aspirin - Pain reliever
- Ibuprofen - Anti-inflammatory
- Acetaminophen - Pain reliever
- Propranolol - Beta blocker
- Ethanol - Alcohol
- Benzene - Aromatic
- Toluene - Solvent
- Glucose - Sugar
- Glycine - Simplest amino acid
- Alanine - Small amino acid
- Tryptophan - Aromatic amino acid
- Dopamine - Reward neurotransmitter
- Serotonin - Mood neurotransmitter
- GABA - Inhibitory neurotransmitter
- Try Caffeine first (BBB+)
- Then try Glucose (BBB-)
- Compare the differences!
- Get SMILES from PubChem
- Paste directly into input
- Get instant predictions
- Understand why predictions are made
- Learn about molecular properties
- Optimize your drug candidates
- Download as CSV for Excel
- Download as JSON for programming
- Keep records of predictions
- Try multiple molecules
- Look at property patterns
- Understand structure-activity relationships
- Browser: Chrome, Firefox, Edge, Safari
- Internet: Not required (runs locally)
- RAM: 2GB minimum
- Storage: Model file ~7.5 MB
cd C:\Users\nakhi\BBB_System
START_HERE.batcd /path/to/BBB_System
export KMP_DUPLICATE_LIB_OK=TRUE
streamlit run app.pystreamlit run app.py --server.port 8502When you open the app, you'll see:
- Top: Blue gradient header with title
- Left: Sidebar with settings and info
- Center: Molecule selection area
- Bottom: Large predict button
- After prediction: Colorful results with charts
The entire interface is:
- Responsive - Works on any screen size
- Interactive - Hover for tooltips
- Beautiful - Professional gradients
- Fast - Predictions in <1 second
- Double-click START_HERE.bat
- Browser opens automatically
- Select Caffeine from dropdown
- Click predict
- See beautiful results!
Enjoy your BBB Permeability Predictor! 🧬✨
Questions? Check:
- QUICK_START.md - User guide
- WEB_INTERFACE.md - Technical details
- README.md - Full documentation