Skip to content

Four Million Variants, One Answer: AI and the Rare Disease Diagnostic Odyssey

Four Million Variants, One Answer: AI and the Rare Disease Diagnostic Odyssey

Four Million Variants, One Answer: AI and the Rare Disease Diagnostic Odyssey

Rare disease has a name for what patients go through: the diagnostic odyssey. Years of appointments, referrals, and inconclusive tests before anyone identifies what is wrong. Five to seven years is a common figure. Some patients never get an answer.

The frustrating part is that for a large share of these patients, the answer is already in data somebody has collected. Their genome has been sequenced. The causal variant is in the file. Nobody has found it.

That is an interpretation problem, and it is where AI is making real progress.

The bottleneck moved

Sequencing used to be the expensive, slow, gating step. It is not any more. Cost fell by orders of magnitude and turnaround compressed from months to days, and the consequence was that the constraint shifted downstream.

Clinical interpretation of genetic variants in the context of the patient's phenotype is now the largest component of cost and time in genome-based diagnosis of rare genetic disease.

The scale of that interpretation task is the thing to understand. The core challenge is identifying one putative disease-causing variant amid roughly four million benign variants in each genome.

Four million. Every human genome differs from the reference at millions of positions, and almost all of that variation is harmless: population polymorphism, silent substitutions, changes in regions with no known function. Somewhere in there may be one change that explains a child's condition.

This is a needle-in-haystack problem with an unusually hostile structure:

  • The haystack is enormous and mostly consists of things that look superficially similar to the needle.
  • The needle is defined by context. A variant is pathogenic for a particular phenotype. The same variant in a different patient may be irrelevant.
  • The reference knowledge is incomplete. For genuinely rare conditions, there may be no prior published case, so you are reasoning from mechanism rather than matching a database.
  • Expertise is scarce. Interpretation requires clinical genetics and bioinformatics skill that most centres do not have, and this is the real rate limiter.

Why this suits AI unusually well

Rare disease diagnosis has a shape that plays to exactly what large models are good at and away from what they are bad at.

The task requires breadth over depth. There are thousands of rare diseases. No clinician has seen more than a fraction, and the reason diagnosis takes years is frequently that the patient never encountered someone who happened to recognise the pattern. Breadth across the entire literature is not a superhuman feat of reasoning. It is a memory and retrieval problem, which is the thing models are genuinely strongest at.

It also requires integrating heterogeneous evidence: unstructured clinical notes, structured phenotype terms, imaging findings, biochemical results, family history, and variant annotations. Combining differently-shaped evidence into a ranked hypothesis list is a natural fit.

And crucially, the human stays in charge. A model producing a shortlist of candidate diagnoses for a clinical geneticist to evaluate is a decision-support tool, not a decision-maker. The failure mode is a wasted review, not a wrong treatment, which is why this application is deployable while more ambitious clinical AI is not.

How variant prioritisation actually works

Worth walking through, because "AI finds the variant" compresses a pipeline with several distinct filtering stages, each of which discards most of what reaches it.

Frequency filtering removes the bulk. A variant present in one percent of the general population is not causing a condition affecting one in fifty thousand people. Population databases let you discard the overwhelming majority of the four million on this basis alone, and this step is arithmetic rather than AI.

Predicted consequence narrows further. Does the variant change a protein? Truncate it? Affect a splice site? Sit in a regulatory region? Most variants land in sequence with no known function, and the ones that plausibly break something are a small fraction.

Pathogenicity prediction is where models earn their place. Given a variant that does change a protein, is that change likely to be damaging? This depends on evolutionary conservation at the position, the structural role of the affected residue, and whether similar changes are known to cause disease. Deep learning models substantially outperform the older heuristics here.

Gene-phenotype matching is the step that requires the patient. A damaging variant in a gene unrelated to the patient's presentation is probably incidental. A damaging variant in a gene whose known function plausibly explains the symptoms is a candidate. This is where phenotype extraction from the clinical notes becomes load-bearing, and where breadth across the literature matters most.

Inheritance-pattern filtering uses family data where available. If both parents are unaffected, a dominant variant present in a parent is unlikely to be causal. Trio sequencing, patient plus both parents, is powerful for exactly this reason.

Each stage is imperfect and each discards real candidates alongside noise. The failure that matters most is a causal variant filtered out early, because nothing downstream can recover it. That is one argument for keeping the pipeline auditable rather than end-to-end: a geneticist who suspects the answer was discarded needs to be able to go back and look.

Variant prioritisation funnel from about four million variants through frequency, consequence, pathogenicity, gene-phenotype and inheritance filters to a shortlist

Diagram: Big Matrix Solutions, based on the variant prioritisation stages described in this article; stage widths are illustrative.

The agentic turn

The more interesting recent development is architectural. The systems that work best are not a single model answering a question; they are pipelines of specialised components.

DeepRare is representative of the approach. It uses key symptoms to find similar cases and relevant medical papers, analyses genetic variants, and produces a shortlist of candidate rare diseases. Underneath, it is a language model wrapped in an agentic system: a set of specialised agents that each do one job well:

  • Phenotype extraction: pulling structured findings out of free-text clinical notes, which is where most of the useful detail is trapped.
  • Phenotype-to-disease matching: mapping that finding set against known disease presentations.
  • Literature retrieval: finding published cases and mechanistic papers relevant to the candidate set.
  • Variant annotation and ranking: scoring the genomic variants against the candidate diseases.

The decomposition is doing real work here, and for the structural reasons rather than because the agents differ in ability. Variant annotation is a bioinformatics pipeline with defined inputs and outputs. Phenotype extraction is a language task on messy text. Literature retrieval is search. Forcing one model to do all of it in one context produces worse results than routing each to something appropriate, and keeps each component's intermediate mess out of the others.

It also makes the output auditable, which matters enormously in this domain. A geneticist can see why a candidate was ranked highly: these symptoms matched, this paper described a similar case, this variant is predicted damaging in this gene. That traceability is the difference between a tool a clinician will use and one they will not.

Agentic pipeline: clinical notes, phenotype terms and genetic results feed four specialised agents that produce a traceable ranked shortlist for a geneticist

Diagram: Big Matrix Solutions, based on Zhao et al., An agentic system for rare disease diagnosis with traceable reasoning, Nature 2026.

The access problem this addresses

There is an equity dimension here that is easy to miss and probably the most consequential part.

Success with approaches like newborn whole-genome sequencing has expanded what is possible. But not everyone has access to bioinformatics expertise, and the volume of data these approaches generate can overwhelm healthcare providers who have not been trained to interpret it.

That produces a two-tier situation. Patients at a major academic centre with a genetics department get their genome interpreted by people who do it daily. Patients elsewhere get a sequencing report their clinician cannot fully act on.

If interpretation can be substantially automated, the constraint stops being local expertise. That is a larger change than the accuracy improvement, because the accuracy problem affects everyone equally while the expertise problem does not.

The evidence, and what is missing

Worth being clear about the strength of the evidence base, which is better than most clinical AI and still thin.

The encouraging signal is that this field is producing the right kind of study. A randomised AI physician assistance trial using a specialised reasoning model for accelerating rare disease diagnosis is exactly the design the field needs and rarely gets, comparing clinicians with assistance against clinicians without, rather than scoring a model in isolation.

Most published results, however, remain retrospective: apply the system to already-solved cases and check whether it recovers the known answer. This is a reasonable starting point and it systematically overstates real-world performance, for a specific reason. Solved cases were solved because they were solvable. The causal variant was findable and someone found it. The unsolved cases, which are the ones that matter, are unsolved because something about them is harder, and they are absent from the evaluation by construction.

Three things would strengthen the picture:

Prospective performance on undiagnosed patients. How many previously-unsolved cases does the system solve? This is the number that matters and it is hard to get, because it requires running on a real undiagnosed cohort and following up.

Time-to-diagnosis as an endpoint. The odyssey is measured in years. Shortening it is the clinical benefit. Diagnostic accuracy on a fixed set is a proxy.

Honest false-positive accounting. A shortlist containing the right answer plus nine wrong ones still requires expert work to resolve, and confidently wrong candidates can send a workup down an expensive dead end. The cost of a bad suggestion is not zero.

What this looks like if it works

The realistic near-term picture is not automated diagnosis. It is a substantial compression of the interpretation step.

A patient is sequenced. Instead of the file sitting in a queue waiting for scarce expert attention, an automated pipeline extracts phenotype from the notes, ranks candidate diseases, annotates and prioritises variants, and produces a traceable shortlist. A geneticist reviews the shortlist rather than the four million variants.

That is a workflow change rather than a capability revolution, and it counts for a great deal anyway. It moves expert attention from search to judgment, which is what expert attention should be spent on, and it makes interpretation available in places that cannot staff a genetics department.

For a family several years into an odyssey, the difference between a genome that has been sequenced and a genome that has been read is the entire point.

Media credits:

  • Hero image: Big Matrix Solutions (illustrative)
  • Diagram: variant prioritisation funnel — Big Matrix Solutions
  • Diagram: agentic pipeline — Big Matrix Solutions, based on Zhao et al., Nature 2026
Tagged
  • Medical AI
  • Genomics
  • Rare Disease
  • Agentic AI

Next step

Build without boundaries

Tell us what you are building. We come back with an architecture, a delivery plan and a realistic timeline.