How optimized-brain/mutaion works
MutAIon is a web app for exploring genome assemblies, genes and sequences, then predicting SNV effects with Evo2 and comparing predictions with ClinVar classifications. The documented user journey runs from assembly selection and gene browsing to sequence inspection, variant analysis and comparison. The sampled frontend shows gene-viewer orchestration and API-helper calls; README statements support the broader frontend/backend and Evo2/ClinVar capabilities. Backend internals and genome-data provider wiring were not sampled, so those connections are documented or left unverified rather than inferred.
Main entry points: gene-viewer.tsx Gene viewer · known-variants.tsx Known variants · variant-analysis.tsx Variant analysis · variant-comparison-modal.tsx Result comparison
Components 18
Genome exploration
- Next.js app
frontend/src/app - Assembly and gene browsing
frontend/src/app/page.tsx - Gene viewer
frontend/src/components/gene-viewer.tsx - Sequence browser
frontend/src/components/gene-sequence.tsx - Gene information
frontend/src/components/gene-information.tsx - Genome API helpers
frontend/src/utils/genome-api.ts
Variant analysis
- Known variants
frontend/src/components/known-variants.tsx - Variant analysis
frontend/src/components/variant-analysis.tsx - Result comparison
frontend/src/components/variant-comparison-modal.tsx - Result formatting
frontend/src/utils/coloring-utils.ts - ClinVar data
Prediction service
- Prediction API
backend/main.py - Evo2 model
backend/evo2
UI building blocks
Other components
- Researcher
Connections 28
- Researcher → Next.js app: uses
README.md - Next.js app → Assembly and gene browsing: presents
- Assembly and gene browsing → Gene viewer: opens gene
- Gene viewer → Genome API helpers: fetches gene data
frontend/src/components/gene-viewer.tsx - Gene viewer → Sequence browser: renders
frontend/src/components/gene-viewer.tsx - Gene viewer → Gene information: renders
frontend/src/components/gene-viewer.tsx - Gene viewer → Known variants: renders
frontend/src/components/gene-viewer.tsx - Gene viewer → Variant analysis: renders
frontend/src/components/gene-viewer.tsx - Gene viewer → Result comparison: renders
frontend/src/components/gene-viewer.tsx - Known variants → Genome API helpers: requests predictions
frontend/src/components/known-variants.tsx - Variant analysis → Genome API helpers: requests prediction
frontend/src/components/variant-analysis.tsx - Known variants → ClinVar data: shows classifications
README.md - Result comparison → ClinVar data: compares classifications
README.md - Genome API helpers → Prediction API: calls endpoint
README.md - Prediction API → Evo2 model: predicts with
README.md - Prediction API → ClinVar data: fetches classifications
README.md - Sequence browser → Card: uses
frontend/src/components/gene-sequence.tsx - Gene viewer → Button: uses
frontend/src/components/gene-viewer.tsx - Gene information → Card: uses
frontend/src/components/gene-information.tsx - Known variants → Table: uses
frontend/src/components/known-variants.tsx - Known variants → Card: uses
frontend/src/components/known-variants.tsx - Variant analysis → Card: uses
frontend/src/components/variant-analysis.tsx - Variant analysis → Button: uses
frontend/src/components/variant-analysis.tsx - Variant analysis → Input: uses
frontend/src/components/variant-analysis.tsx - Result comparison → Button: uses
frontend/src/components/variant-comparison-modal.tsx - Known variants → Result formatting: formats results
frontend/src/components/known-variants.tsx - Variant analysis → Result formatting: formats results
frontend/src/components/variant-analysis.tsx - Result comparison → Result formatting: formats results
frontend/src/components/variant-comparison-modal.tsx