Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Variantagent

Variant Analysis using Evo2

AI-powered Single Nucleotide Variant (SNV) Pathogenicity Predictor

Project screenshot

A full-stack web application that analyzes single-nucleotide variations in DNA and predicts their pathogenicity using the state-of-the-art Evo2 large biological language model. This tool helps researchers and users understand how specific mutations might affect gene function β€” with an intuitive frontend and a GPU-accelerated backend.

🧠 Overview

DNA changes (mutations) can have profound effects on health β€” from benign differences to disease-causing variants. My project:

scores and predicts pathogenicity of SNVs with AI

provides a responsive, user-friendly interface to interact with gene data

compares predictions against known clinical annotations (e.g., ClinVar)

runs heavy inference on GPUs for fast, accurate results

Under the hood:

Backend uses FastAPI + Python on serverless GPUs

Frontend is a modern Next.js + React UI

Evo2 model provides biological sequence intelligence

πŸš€ Features

βœ” Parse and analyze single-nucleotide variants βœ” Predict whether mutations are likely pathogenic or benign βœ” Show confidence alongside predictions βœ” Choose genome assemblies and search genes (e.g., BRCA1) βœ” Compare AI prediction to clinical labels βœ” GPU-accelerated inference on demand βœ” Clean and modern interface using TailwindCSS

🧩 Architecture Frontend (Next.js) β‡… API (FastAPI) β‡… Inference Engine (Evo2 LLM on GPU) β‡… Genomic/ClinVar data sources

Frontend: User inputs variant & views results

Backend: Accepts requests, manages Evo2 scoring

Inference: GPU backend (e.g., Modal serverless H100) scores variants

πŸ›  Setup & Installation

  1. Clone the repository git clone https://github.com//variant-analysis-evo2.git cd variant-analysis-evo2

  2. Backend cd evo2-backend python3 -m venv venv source venv/bin/activate

pip install -r requirements.txt

Setup your serverless environment (e.g., Modal):

modal setup modal run main.py

Once verified:

modal deploy main.py

  1. Frontend cd evo2-frontend npm install npm run dev

Visit http://localhost:3000 to view the app.

πŸ“ˆ How It Works

User enters a mutation (e.g., gene name + nucleotide change)

Frontend sends request to FastAPI endpoint

Backend preprocesses input and requests Evo2 scoring

Evo2 model returns pathogenicity prediction

UI displays result & comparison with known data

πŸ“Œ Example Usage POST /api/v1/predict Content-Type: application/json

{ "gene": "BRCA1", "variant": "c.68_69delAG" }

Response:

{ "prediction": "pathogenic", "confidence": 0.92 }

πŸ§ͺ Testing

Ensure backend tests run successfully:

python -m unittest

🧾 License

This project is licensed under MIT β€” free to use and modify.

πŸ™Œ Acknowledgements

Built with inspiration from Evo2 model work β€” advanced genomic language models for DNA analysis.

Frontend UI inspired by modern full-stack stacks (Next.js, TailwindCSS)

πŸ“¬ Contact

Have questions or ideas on improvements? Reach out via GitHub Issues or email me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages