Folklore

Analysis Workflow

Literature Evidence

ServiceLocal PubMed Mirror|Six-component scoring|ACMG-aligned

The Literature Evidence service maintains a local, genetics-filtered PubMed mirror with pre-extracted variants, genes, and phenotypes. A six-component model ranks publications for the case and maps results to ACMG evidence categories.

Typical searches return in under a second with ranked publications, per-component score breakdowns, and ACMG-aligned strength labels inside the variant interpretation workflow.

Why Local PubMed Mining

Using public PubMed directly introduces three constraints for case-level variant review.

Three Problems

  • Latency. Structured queries across several genes, variants, and phenotype terms require repeated public PubMed requests. A local index supports those queries within the case-review interface.

  • Inconsistency. Search results include component scores and source links for later review.

  • Data residency. Sending case context, including HPO terms and gene panels, to public PubMed transmits potentially sensitive context outside the platform. A local mirror keeps clinical search inside the EU-resident Folklore infrastructure.

Ingestion Pipeline

Six pipeline stages convert raw PubMed XML into a clinically searchable local database. Each file completes all stages before the next begins, so processing can restart after failure without repeating completed files.

1

Download

PubMed baseline and daily update files are pulled from the NCBI FTP source with parallel transfers and integrity verification. The full PubMed baseline is approximately 1,300 compressed XML files representing tens of millions of articles.

2

Parsing

Compressed PubMed XML is parsed with a streaming XML reader, producing structured publication records. Memory-efficient parsing handles the largest files without loading them fully into memory.

3

Filtering

Publications are evaluated against curated MeSH descriptors that signal genetics relevance, against accepted publication types, and against a publication date floor. The filtering ratio reduces the input to a manageable genetics-focused subset of approximately seven to eight percent of the input volume.

4

Extraction

For each retained publication, the service extracts variant notations, gene symbols, and phenotype mentions. Extracted entities are validated against authoritative reference data before persistence.

5

Loading

Extracted records are inserted into the local literature database in batches with conflict-aware upsert semantics. Re-processing a file is idempotent: existing records are updated rather than duplicated.

6

Cleanup

Downloaded compressed XML files are removed after successful processing to reclaim disk space. Cleanup policy is configurable and can preserve files for audit or troubleshooting.

Genetics Relevance Filtering

The filtering layer selects a genetics-focused subset using three independent dimensions.

Genetics MeSH Descriptors

A curated set of Medical Subject Headings descriptors signals that a publication concerns genetics or genomics. MeSH classifications are the most reliable filtering signal because they are professionally indexed at the source.

Publication Type

Case reports, clinical trials, original research, and review articles are accepted. Editorial pieces, news items, and similar non-research formats are excluded from the indexed dataset.

Publication Date Floor

Publications older than the configured date floor are excluded. The default floor reflects the period over which contemporary genetic nomenclature and reporting standards stabilised.

Variant, Gene, and Phenotype Extraction

During ingestion, the extraction layer records variants, genes, and phenotypes from publication text and metadata. Search then queries those precomputed entities.

Variant Mentions

HGVS cDNA and protein notations alongside legacy notations are extracted from publication text. Notation is normalised so a single variant referenced in different formats across different publications is recognised consistently in search.

Gene Mentions

Candidate gene symbols are validated against the human protein-coding gene reference. This eliminates false positives from common abbreviations that overlap with non-gene acronyms. Mention counts per publication are preserved as evidence of gene centrality to the paper.

Phenotype Mentions

Phenotype names are mapped to HPO, OMIM, and MeSH identifiers when available. Stemmed morphological matching ensures that variations such as plural and adjectival forms link to the same underlying phenotype.

Relevance Scoring

Six weighted components produce a relevance score per publication. The result includes each component alongside the total.

1

Phenotype Match

How well the publication phenotype mentions overlap the patient HPO terms. Stemmed morphological matching ensures that small lexical variations do not break the match. The dominant signal in the score because phenotype alignment is the strongest single indicator that a publication is relevant to the case at hand.

2

Publication Type

Case reports and clinical trial reports are weighted highest. Original research follows. General journal articles and review articles are weighted lower. The hierarchy reflects the relative value of each publication type as evidence in ACMG variant classification.

3

Gene Centrality

How frequently the query gene is mentioned in the publication. A paper that mentions the gene of interest dozens of times in the abstract and main text is more centrally about that gene than one that mentions it once in passing. Centrality is bounded so a small number of publications mentioning a gene many times does not dominate the ranking.

4

Functional Data

Whether the publication describes functional studies relevant to ACMG functional evidence criteria. Indicators include MeSH terms for animal models, knockout studies, cell line experiments, and molecular biology techniques. Functional data is a key prerequisite for ACMG functional evidence.

5

Variant Match

Exact variant notation match between the query and the extracted variant mentions in the publication scores highest. Same-gene different-variant scores lower. This component captures the difference between a paper about the patient exact variant and a paper about a different variant in the same gene.

6

Recency

Publications decay linearly over a recent window. A current-year publication scores at the top of this component; older publications score progressively lower. Recency is a relatively small contribution because older landmark papers can remain authoritative.

ACMG-Aligned Evidence Strength

Each ranked publication receives an evidence-strength label mapped to ACMG/AMP categories, producing a structured pool for criteria review.

StrengthDescription and ACMG Alignment
StrongPublication describes the exact variant and includes functional studies. Candidate evidence for ACMG PS3 (well-established functional studies showing damaging effect) or PP3 functional component context.
ModeratePublication describes the exact variant OR functional data, but not both. Candidate context for moderate-weight ACMG criteria.
SupportingPublication describes the gene with phenotype overlap to the case. Candidate context for ACMG PP4 (phenotype highly specific for a single genetic etiology) or related supporting evidence.
WeakGene is mentioned but no exact variant or phenotype-specific context is present. Background reference material for completeness rather than direct ACMG evidence.

Inputs and Outputs

Query genes, variants, and HPO terms produce a ranked publication set with component scores and source links.

Inputs from the Pipeline

Patient query genes from the upstream variant analysis or phenotype matching results

Patient HPO terms from the case clinical context

Optional exact variant notations from the case variant analysis output

Inputs from the Geneticist

Search initiation as part of the standard variant interpretation workflow

Optional gene panel scoping when only specific genes are of interest

Optional result limit configuration

Outputs for the Geneticist

Ranked publication list with overall relevance score for the case

Per-publication score breakdown across all six relevance components

Per-publication evidence strength label aligned to ACMG categories

Direct links to PubMed identifier, DOI, and PMC where available

Highlighted variant matches, gene mention counts, and phenotype matches per publication

Persisted session results consumable from the same data store as variant classifications

Stream-ready compressed JSON for instant frontend rendering

Standards and Boundaries

The references below define the evidence categories, vocabularies, and review boundary.

ACMG/AMP

Relevance scoring components and evidence-strength labels map to ACMG/AMP categories. The four levels are Strong, Moderate, Supporting, and Weak; a geneticist reviews the source before assigning a criterion.

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

PubMed

The PubMed baseline and daily update streams are the source of the literature data. PubMed is maintained by the U.S. National Library of Medicine at NCBI. The local mirror applies those updates on its configured schedule.

Reference: PubMed, U.S. National Library of Medicine, NCBI

MeSH

Medical Subject Headings are the controlled vocabulary maintained by NLM for indexing biomedical literature. MeSH descriptors support genetics filtering and the functional-data score, and NLM curators assign the source indexing.

Reference: Medical Subject Headings (MeSH), U.S. National Library of Medicine

HPO

The Human Phenotype Ontology provides the structured phenotype vocabulary used for matching publication phenotype mentions against patient HPO terms. Stemmed morphological matching extends HPO matching to lexical variants without requiring exact term lookup.

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

HGNC

Gene symbols extracted from publications are validated against the HGNC approved-symbols set. This eliminates false positives from non-gene acronyms and ensures that gene mentions normalise consistently across publications using older gene symbol versions.

Reference: HUGO Gene Nomenclature Committee, hgnc.symbolreport

Reporting Boundary

Literature Evidence ranks publications and exposes component scores and evidence-strength labels. It does not assign pathogenicity; the geneticist reads the sources and decides whether they support a case criterion.

Data Residency

The service runs within the Folklore platform on EU-based infrastructure compliant with GDPR Article 9 and 1+MG technical requirements. The local PubMed mirror is hosted within the same EU infrastructure, so clinical search does not transmit case data outside the platform.

What Sets It Apart

Local indexing, entity extraction, relevance scoring, evidence labels, and session integration define the service.

Local mirror, sub-second search

The PubMed baseline is mirrored locally and indexed for retrieval. Typical clinical queries return ranked results in well under a second inside the variant interpretation workflow.

Genetics-focused dataset

A curated MeSH-based filter reduces millions of articles to a focused genetics-relevant subset, removing noise that would otherwise dilute search results. The filtering ratio is conservative and biased toward inclusion when relevance is plausible.

Pre-extracted variants, genes, and phenotypes

Variant notations, validated gene symbols, and HPO-mapped phenotype mentions are extracted at ingestion time, not at search time. The geneticist sees publications already enriched with the entities that drive ACMG decisions.

Validated gene symbols

Every candidate gene symbol is validated against the HGNC approved-symbols set before storage. Common abbreviation collisions, the dominant source of false positives in gene mention extraction, are eliminated upstream.

Six-component relevance scoring

A weighted model combines phenotype match, publication type, gene centrality, functional-data signal, variant match, and recency. The result includes each component alongside the total score.

ACMG-aligned strength labels

Each ranked publication carries a strength label mapped to ACMG evidence categories, creating a categorized pool for geneticist review.

Session-integrated storage

Search results persist in the same per-session data store as variant classifications. The frontend loads both data types from a single source, simplifying architecture and ensuring consistency across the case lifetime.

EU data residency

The local PubMed mirror runs within Folklore's EU infrastructure, so a clinical search does not transmit case data outside the platform.

See Literature Evidence in Practice

Enter query genes and HPO terms, then inspect the ranked publications, component scores, and ACMG-aligned strength labels.

Contact Us