Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

🧬 Variant Analysis with Evo2

AI-Powered DNA Mutation Pathogenicity Prediction

Predict whether a DNA mutation is disease-causing or harmless using a state-of-the-art AI model, real clinical databases, and GPU-accelerated inference β€” all wrapped in a modern full-stack web app.


πŸš€ Why This Project?

DNA mutations play a critical role in diseases like cancer β€” but understanding their impact is slow, complex, and expensive.

This project demonstrates how modern AI + cloud GPUs can:

  • Analyze DNA mutations in seconds
  • Predict disease risk
  • Compare results with real clinical databases
  • Present everything in a clean, beginner-friendly UI

πŸ”₯ No biology background required β€” the app handles the complexity for you.


✨ What You Can Do

  • 🧬 Predict if a DNA mutation is pathogenic or benign
  • βš–οΈ Compare AI predictions with ClinVar medical classifications
  • πŸ” Search genes like BRCA1 or browse entire chromosomes
  • 🌍 Choose genome assemblies (hg38, etc.)
  • πŸ“Š Get prediction confidence scores
  • ⚑ Run AI inference on NVIDIA H100 GPUs
  • πŸ§ͺ Explore real genomic and clinical data interactively

🧠 How It Works (Simple)

  • DNA is made of A, T, G, C
  • A single letter change = mutation
  • Some mutations cause disease, some don’t

This app:

  1. Takes a mutation
  2. Runs it through an AI model (Evo2)
  3. Compares results with real medical data
  4. Shows a clear, understandable result

πŸ—οΈ Architecture (High Level)

Frontend (Next.js)
 ↓
FastAPI Backend
 ↓
Evo2 AI Model (GPU)
 ↓
ClinVar + UCSC APIs
  • Serverless GPU inference
  • FastAPI REST endpoints
  • Modern React UI

🧩 Key Features

  • 🧬 Evo2 large language model for genomic analysis
  • 🩺 Pathogenic vs benign prediction
  • βš–οΈ AI vs ClinVar comparison view
  • πŸ’― Prediction confidence scoring
  • πŸ—ΊοΈ Chromosome & gene browser
  • πŸ“œ Reference genome visualization (UCSC)
  • πŸ”¬ Real clinical variant data (NCBI ClinVar)
  • ⚑ NVIDIA H100 GPU acceleration
  • πŸš€ Serverless deployment with Modal
  • πŸ“± Fully responsive UI

πŸ› οΈ Tech Stack

Backend

  • Python 3.12
  • FastAPI
  • Modal (Serverless GPUs)
  • Evo2 LLM
  • NCBI ClinVar API
  • UCSC Genome API

Frontend

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Shadcn UI
  • T3 Stack

πŸ“¦ Getting Started

Clone the Repo

git clone https://github.com/GeneralSubhra/variant-analysis-evo2
cd variant-analysis-evo2

βš™οΈ Backend Setup

cd backend

Prerequisites

Install & Run

uv venv --python 3.12
source .venv/bin/activate # Mac/Linux
# or .venv\Scripts\activate # Windows
uv pip install -r requirements.txt
modal setup
modal run main.py

Deploy (Production)

modal deploy main.py

🎨 Frontend Setup

cd frontend
npm install
npm run dev

App runs at:

http://localhost:3000

πŸ“š Evo2 Model


πŸ‘‰ Please star ⭐ the repo β€” it really helps!

About

a web app that can classify how likely specific mutations in DNA are to cause diseases (variant effect prediction). We will deploy and use the state-of-the-art Evo2 large language model, and use it to predict the pathogenicity of single nucleotide variants (SNVs)

Topics

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /