Folklore

Analysis Workflow

Phenotype Matching

StandardHPO|Whole-genome scale|Second-level latency

ACMG classification tells you how pathogenic a variant is. It does not tell you which variant explains your patient. Phenotype Matching answers that second question, turning clinical relevance into a reproducible score and a five-level priority hierarchy aligned with how a geneticist actually reads a case.

Phenotype-first prioritization can rank a VUS with strong phenotypic relevance above a Pathogenic variant for an unrelated condition. The tier rules apply that ordering before manual review.

Clinical Positioning

After ACMG classification of a whole-genome or exome case, the geneticist is left with hundreds to thousands of variants flagged as Pathogenic, Likely Pathogenic, or VUS. Most are irrelevant to the referral indication.

The Real Diagnostic Question

A Pathogenic BRCA1 variant has no diagnostic value for a child referred for refractory epilepsy. Manually correlating each candidate against the patient's clinical presentation traditionally consumes the better part of a working week per case, and that effort scales poorly across cohorts and trio analyses.

Phenotype Matching reads the patient's clinical presentation as HPO terms, compares them with the phenotypic spectrum of each candidate gene, and assigns each variant a match score, priority score, and clinical tier. The results are stored with the variant data for screening, reporting, and AI-assisted summaries.

Built-in clinical principle: a P/LP variant without phenotype match is reported as an Incidental Finding, not as Tier 1. A VUS with strong phenotype relevance can outrank a P/LP variant for an unrelated disease.

Workflow for the Geneticist

The same four-step workflow applies across Folklore access paths.

1

Phenotype Capture

The geneticist captures the patient's clinical findings as HPO terms. Three entry modes are supported: direct HPO ontology search with name and synonym autocomplete; AI-assisted extraction from free-text referral letters or discharge summaries with automatic exclusion of negated phrases; and direct lookup by HP:ID. Free-text clinical notes can be attached to the case.

2

Run Matching

The service reads the patient's HPO terms together with the variant data already produced by upstream classification. Phenotype relevance is computed for every variant in scope, tiering rules are applied, and results are written back to the case alongside the existing variant annotations.

3

Review

Results are presented gene-first. Each gene card shows the best tier achieved by any variant in that gene, the strongest phenotype match score, the count of variants per tier, and which patient HPO terms the gene matched on. Expanding a gene reveals every variant with full annotation context and a per-term breakdown of how each patient HPO term aligned with the gene's phenotypic spectrum.

4

Report

A branded PDF report lists Tier 1, Tier 2, and Incidental Findings in detail and gives summary counts for Tier 3 and Tier 4. It contains phenotype-matching data without AI-generated interpretation and requires clinical geneticist review before clinical use.

The Five-Tier System

Each variant is placed into exactly one tier. Tier ranges do not overlap, so a variant's score alone determines its tier.

TierLabelScore RangeClinical Meaning
Tier 1Actionable80.00 - 99.99Pathogenic or Likely Pathogenic with strong phenotype match. The variant most likely explaining the patient's presentation.
Tier 2Potentially Actionable60.00 - 79.99VUS with strong supporting evidence (high impact, strong phenotype match, rare). Or P/LP variants where inheritance context warrants further investigation before calling them diagnostic.
IFIncidental Finding40.00 - 59.99Pathogenic or Likely Pathogenic, but not relevant to the referral phenotype. Clinically important as a secondary finding, but separated from the primary diagnostic search.
Tier 3Uncertain20.00 - 39.99VUS with moderate evidence. Worth tracking; insufficient for clinical action.
Tier 4Unlikely0.00 - 19.99Benign, Likely Benign, common, or with poor phenotype relevance.

Sorting Within a Tier

Within each tier, finer-grained sorting is driven primarily by phenotype match strength, with ACMG classification and population frequency contributing secondary signal. The geneticist always sees the strongest candidates first within each clinical category.

Conservative Tier 1 and Tier 2

The service is deliberately conservative about the top tiers. A variant cannot reach Tier 1 or Tier 2 on impact alone. Phenotype relevance is required, and benign evidence, ClinVar Benign with curator review, or strong benign ACMG criteria, blocks elevation regardless of phenotype score.

Why Phenotype-First Matters Clinically

Most variant prioritization tools start from the variant and ask: is this pathogenic? They sort the patient's variants by ACMG class and leave clinical relevance to manual filtering. Tier 1 can therefore include pathogenic variants in genes unrelated to the referral.

The Reversed Question

Phenotype Matching reverses the question. It starts from the patient and asks: given this clinical picture, which variants deserve attention first? The service records that prioritization as scores, tiers, and per-term contributions for reviewer inspection.

A relevant VUS is not buried

A VUS in a gene whose phenotypic spectrum closely matches the patient's presentation appears in Tier 2 instead of being buried in a flat pathogenicity-ordered list.

An unrelated pathogenic variant is not noise

A Pathogenic variant for a condition unrelated to the referral indication is preserved as an Incidental Finding, visible, scored, reportable as a secondary finding when clinically appropriate, but not competing for attention with the variant that actually explains the case.

Inheritance is respected

A heterozygous pathogenic variant in a gene that causes disease only in the homozygous or compound heterozygous state is treated differently from one in a dominant gene. Carrier status is not a diagnosis. Dual-inheritance genes are flagged so the geneticist can assess context.

Scale and Performance

A typical WGS case can carry hundreds of thousands of HPO-annotated variants. The matching pipeline returns per-variant phenotype scores, tiers, and match details.

Pre-warmed Parallelism

Worker processes are initialized at service startup with the HPO ontology already loaded and caches primed. Incoming requests do not pay the cold-start cost.

Scale-aware Computation

Variants in the same gene share phenotypic context, so the pipeline computes that context once and reuses it across per-variant results.

Optimized Frontend Rendering

Gene-level summaries are exported as a small compressed payload that streams in near-instantly when the case is opened. The heavier per-gene variant detail is fetched on demand only when the geneticist expands a gene. The interface stays responsive even on cases with hundreds of thousands of variants.

Inputs and Outputs

The service combines classified variants with patient HPO terms and returns phenotype scores, tiers, and match details.

Inputs from the Pipeline

Completed variant analysis session

ACMG/AMP classification per variant

Gene and HPO annotation

Population frequencies (gnomAD)

ClinVar context and review status

Inheritance context (Orphanet AD/AR/XLD/XLR, ClinGen dosage)

Inputs from the Geneticist

List of HPO terms representing the patient's clinical presentation

Optional free-text clinical notes that travel with the case

Outputs for the Geneticist

Phenotype match score (0-100) and clinical tier for every variant with HPO data

Gene-level summary view ranked by clinical priority

Per-variant breakdown of which patient HPO terms matched, against what, and how strongly

Inheritance context notes (e.g., dual-inheritance genes, recessive carrier flags)

Downloadable branded PDF report with Tier 1, Tier 2, and Incidental Findings detail

Outputs for Downstream Services

Phenotype tier and score data consumed by the Screening Service for tier-aware variant scoring

Phenotype context consumed by the AI Service for clinical interpretation reports

Standards and Boundaries

HPO semantics, the scoring model, and the clinical-review boundary are documented below.

HPO

The Human Phenotype Ontology is the international standard for structured clinical phenotype representation in genetics. The service operates entirely in HPO terms with full ontology hierarchy support.

Reference: Kohler et al., Nucleic Acids Research, 2021, PMID: 33264411

ACMG/AMP

Variant classification follows the ACMG/AMP 2015 guidelines with subsequent ClinGen specifications. Classification itself is performed upstream by the Variant Analysis Service. Phenotype Matching consumes that classification, it does not reclassify.

Reference: Richards et al., Genetics in Medicine, 2015, PMID: 25741868

Reporting Boundary

Phenotype Matching supplies scores and tiers for clinical review. It does not make a diagnosis or authorize clinical use; sign-off remains with a qualified clinical geneticist.

Data Residency

The service runs within the Folklore platform on EU-based infrastructure compliant with GDPR Article 9 (special category data) and 1+MG technical requirements. Patient phenotype data and variant data remain inside the platform.

What Sets It Apart

Explicit controls translate phenotype relevance into scores, tiers, and review order.

Phenotype-first by design

The tier system gives referral-phenotype relevance more weight than pathogenicity in an unrelated gene. A relevant VUS can therefore outrank an unrelated Pathogenic variant.

Whole-genome scale, second-level latency

For a typical WGS case, the output includes phenotype scores, tiers, and per-term breakdowns across the annotated variants.

Transparent, decomposable scoring

Scores decompose into phenotype, ACMG, and frequency components, and matches decompose into per-HPO-term contributions for reviewer inspection.

Inheritance-aware throughout

Heterozygous findings in recessive genes, dual-inheritance genes, and compound heterozygous candidates are handled distinctly rather than collapsed into a single pathogenic-or-not flag.

Conservative on Tier 1 and Tier 2

Strong benign evidence, a curator-reviewed ClinVar Benign assertion, BA1, or strong benign ACMG criteria blocks tier elevation regardless of phenotype score.

Clinically reviewable output

Reports separate Tier 1, Tier 2, and Incidental Findings so secondary findings remain distinct from the primary diagnostic search.

See Phenotype Matching in Practice

Start with HPO terms and review the resulting shortlist ranked by relevance to the patient's presentation.

Contact Us