NexVar

Foundation-model variant effect prediction at clinical scale
20 nodes

nexvar-frontend-production.up.railway.app/

NexVar

06

Full-stack variant analysis platform integrating the NexVar DNA language model — trained on 8.8 trillion tokens across all domains of life, StripedHyena 2 architecture, 7B/40B params, up to 1M bp context — with a Next.js research workspace and Modal H100 GPU inference. SNV pathogenicity via delta likelihood scoring, ClinVar benchmarking, and interactive hg38/hg19 genome browsing. Live at nexvar-frontend-production.up.railway.app.

Project context05

Problem

Clinical and genomic variant interpretation requires long-context sequence reasoning, benchmark awareness, and careful UI translation. Most generic LLM interfaces cannot connect model scores, genome coordinates, known variant references, and researcher workflows in one place.

Solution

NexVar combines a Next.js research workspace with Python/Modal GPU inference for a DNA language model, delta-likelihood scoring, ClinVar benchmarking, known variant comparison, and hg38/hg19 browsing.

Challenges

The platform has to bridge frontend interactivity with expensive GPU inference, handle genome coordinate context, keep variant explanations honest, and present pathogenicity signals without overstating clinical certainty.

Innovation

The key move is treating foundation-model genomic inference as a full-stack product surface: model endpoint, benchmark harness, variant UI, gene search, and evidence comparison are designed together.

Domain expertise

This highlights Stefan's capability in bio-AI product engineering, genomic model integration, variant-effect UX, Modal/H100 inference deployment, benchmark framing, and clinically cautious communication.

Case study evidence11

Outcomes

  • Turns DNA-language-model inference into a researcher-facing workflow that compares model scores with known clinical assertions.
  • Keeps genomic coordinates, reference builds, model confidence, and ClinVar context visible in the same product surface.
  • Creates a credible bridge between frontier genomic models and practical variant triage.

Architecture decisions

  • Next.js handles search, browsing, comparison, and explanation while Modal isolates GPU inference.
  • Variant scoring compares reference and alternate sequence windows rather than treating variants as free-text facts.
  • Benchmark and threshold workflows sit beside the UI so model claims can be calibrated against known data.

Domain expertise signals

Variant effect predictionClinVar benchmarkingGenome coordinatesModal GPU inferenceClinical caution
Technical deep dive09

NexVar is a full-stack genomic model product. The depth is in translating DNA-language-model scores into a cautious research workflow that respects coordinates, reference builds, ClinVar context, GPU cost, and clinical uncertainty.

Sequence-window inference

Variant analysis depends on local sequence context. The system scores reference and alternate windows rather than treating a variant as plain text, which keeps model inference connected to biological sequence structure.

Calibration path

ClinVar comparison and benchmark jobs give the platform a way to reason about thresholds, ROC behavior, confidence, and disagreement between model predictions and known clinical assertions.

Research workspace

Gene search, variant input, known-variant browsing, and AI-versus-clinical comparison sit in one product flow so researchers can inspect results without jumping between notebooks, APIs, and database pages.

Clinical restraint

The product has to communicate pathogenicity signals without making diagnostic claims. That requires confidence language, benchmark framing, and clear distinction between research support and clinical interpretation.

What this proves

  • Modal/H100 inference isolated from the interactive Next.js workspace
  • Reference-versus-alternate scoring grounded in genomic sequence
  • ClinVar benchmarking for model calibration
  • hg38/hg19 context and gene lookup in the user flow
7Bproduction model
1Mbp max context
8kscoring window
H100Modal GPU
500BRCA1 SNVs
2genome builds
Technology stack03
Next.js

Next.js 15

Research workspace for gene search, ClinVar browse, variant input, and AI vs clinical comparison UI.

TypeScript

TypeScript

Typed genome-api client layer for UCSC, NCBI, ClinVar, and Modal inference endpoints.

Python

Python / Modal

Serverless H100 GPU inference wrapping NexVar StripedHyena 2 scoring on Modal.

Tools implemented06

Gene search & viewer

Interactive hg38/hg19 gene exploration with UCSC-backed reference sequences.

VariantAnalysis

Manual SNV POST → delta likelihood score + pathogenicity tier + confidence.

KnownVariants + comparison modal

Batch ClinVar scoring with side-by-side AI vs clinical assertion view.

Modal FastAPI endpoint

analyze_single_variant fetches 8192 bp window, scores ref vs alt on H100.

NexVar scoring package

StripedHyena 2 DNA LM trained on 8.8T tokens — score_sequences(ref) vs score_sequences(alt).

BRCA1 benchmark

Offline Modal job: 500 SNVs → ROC/AUROC threshold calibration vs ClinVar classes.

Stefan Creadore · @Eldergenixproduction agent systems mapped end to end