# GWAS Harmonizer benchmark — 8 October 2026

Fresh scientific runs and duplicate-safe historical rescoring. See [protocol and interpretation](reviewer-protocol.md) and [reproduction bundle](reproduction.zip). A [19 November 2026 update](update-20261119.md) adds a row-by-row comparison with GWASLab and current timings.

## Source-known four-tool comparison

| Tool | Equivalent fields | Forward reference strand | Valid rows set aside | Wrong retained fields |
|---|---:|---:|---:|---:|
| GWAS Harmonizer | 1,432 | 1,432 | 152 | 0 |
| GWASLab | 1,584 | 1,584 | 0 | 0 |
| tidyGWAS | 1,574 | 875 | 10 | 0 |
| MungeSumstats | 478 | 478 | 1,106 | 0 |

Denominator: 1,584 variants, comprising 1,408 SNPs and 176 indels. Both sources and all 22 autosomes are sampled before running any tool.

Harmonizer recovered all 1,408 SNPs but set aside 152 of 176 valid indels with generic allele labels. A separate control using unchanged indels and a correct reference-allele declaration recovered all 176.

## Other checks

Odds ratios and confidence intervals: 704 of 704 source-derived rows recovered correctly.

Palindromes with a declared EUR frequency panel: 311 of 704 source-known rows retained with matching fields; 393 set aside at the default tolerance. No wrong retained values in this sample.

Real-SNP liftover: Harmonizer matched the dbSNP assembly annotation in 483 of 484 rows. One chain/dbSNP mapping disagreed; the same discrepancy occurred in GWASLab and MungeSumstats. It remains in the reported results.

Variant IDs: all six partial-reference controls passed after fixing loss of supplied IDs absent from the lookup. Every ID change appears with its original and final value in the audit.

Tiny p-values: eight full-download checks cover ordinary p-values and values below floating-point range, entered directly or as minus-log10 values. Exact-value results are in the methods report.

Small edge cases: all 26 current download/component assertions passed. These targeted checks complement the real-variant tests.

Earlier planted-error tests recovered 180,000 scenario rows and flagged all 5,000 inconsistent p-values without false alarms in 95,000 other rows. Those SNPs reused a 100,000-variant source set; they are not 180,000 independent variants.

### Real-SNP liftover

| Tool | Forward strand + fields | Equivalent fields | Wrong retained coordinates/fields | Set aside |
|---|---:|---:|---:|---:|
| GWAS Harmonizer | 483 | 483 | 1 | 0 |
| GWASLab | 483 | 483 | 1 | 0 |
| tidyGWAS | 483 | 484 | 0 | 0 |
| MungeSumstats | 482 | 483 | 1 | 0 |

Denominator 484. tidyGWAS uses the same dbSNP mapping resource as the oracle; its coordinate agreement is not independently established mapping accuracy.

### Tiny p-values

- p_value: 4/4 rows retained; exact values preserved: [True, True, True, True]; output scale p_value: ['1e-2', '1e-310', '1e-400', '1e-1000']; exact p-values represented: ['1e-2', '1e-310', '1e-400', '1e-1000'].

- minus_log10_pvalue: 4/4 rows retained; exact values preserved: [True, True, True, True]; output scale minus_log10_p: ['2', '310', '400', '1000']; exact p-values represented: ['0.01', '1E-310', '1E-400', '1E-1000'].

## Full-file processing

| File | Input | Harmonizer | GWASLab | tidyGWAS | MungeSumstats |
|---|---:|---:|---:|---:|---:|
| FinnGen R13 · Type 2 diabetes | 21,326,899 | 18,292,199 (8 Oct 2026) | 21,326,899 (8 Oct 2026) | 21,051,244 (8 Oct 2026) | Stopped at 12 GB R heap limit |
| EstBB · Bell’s palsy (G510) | 26,701,605 | 20,800,456 (8 Oct 2026) | 26,701,605 (8 Oct 2026) | 26,488,549 (8 Oct 2026) | Stopped at 12 GB R heap limit |
| fastGWA · Standing height | 8,531,093 | 7,861,307 (Sep 2026) | 8,525,669 (Sep 2026) | 8,529,723 (Sep 2026) | 4,200,776 (8 Oct 2026) |
| PLINK2 · Standing height, fold 1 | 1,074,448 | 1,073,885 (7 Oct 2026) | 1,073,886 (7 Oct 2026) | 1,074,356 (7 Oct 2026) | 532,887 (7 Oct 2026) |
| Pan-UKBB · Standing height | 28,987,534 | 28,968,010 (7 Oct 2026) | 28,410,168 (Sep 2026) | 28,416,180 (Sep 2026) | Stopped at 12 GB R heap limit |

Five Harmonizer inputs total 86,621,579 records across files, not unique variants. Retention is not correctness.

MungeSumstats reached the configured 12 GB R vector-heap limit on FinnGen, G510 and Pan-UKBB. The host has 16 GiB RAM. Required references were installed; these are memory-limited failures in this setup, not missing-reference or accuracy results.

### Exclusions

FinnGen: 3,034,700 palindromic rows set aside with rescue disabled in this configured run. Its known REF/ALT declaration was used for indels; it did not enable palindrome rescue.

EstBB G510: 3,834,275 palindromes and 2,066,874 ambiguous indels set aside. 77,447 p-value/effect discrepancies flagged in retained rows; the source association model needs confirmation.

fastGWA: 669,786 rows were set aside in the saved native run, including 662,372 ambiguous indels. Of 352 sampled ambiguous indels, 88 became resolvable with additional dbSNP reference metadata. The others remain unadjudicated; they were not shown to be invalid.

Pan-UKBB: 19,524 rows were left out, mainly failed/unsupported liftover and duplicate conflicts. One exact duplicate was collapsed. The report gives every reason and reconciles the counts.

PLINK2: 424 unmapped, 138 non-primary mappings and one reference mismatch set aside. MungeSumstats removes 541,284 rows through its default biallelic filter; lower retention does not by itself mean lower accuracy.

| Exclusion stratum | Archived rows | Sampled | Resolvable with extra reference | Not adjudicated |
|---|---:|---:|---:|---:|
| ambiguous_indel_quarantined | 662,372 | 352 | 88 | 264 |
| conflicting_canonical_duplicate | 92 | 92 | 44 | 48 |
| final_ref_grch38_mismatch | 1 | 1 | 0 | 1 |
| negative_strand_indel_unsupported | 543 | 130 | 0 | 130 |
| non_primary | 1,062 | 102 | 0 | 102 |
| palindromic_evidence_conflict | 84 | 84 | 0 | 84 |
| positive_strand_indel_interval_noncontiguous | 551 | 234 | 131 | 103 |
| positive_strand_indel_interval_unverified | 739 | 267 | 119 | 148 |
| reference_unresolved | 5 | 5 | 0 | 5 |
| unmapped | 4,337 | 338 | 0 | 338 |

These stratified samples are not an unweighted estimate of invalid-row prevalence. Resolving a duplicate allele representation does not resolve conflicting statistics.

## Matched resources

| Tool | Successful / attempted runs | Median seconds (range) | Median peak process GB (range) |
|---|---:|---:|---:|
| GWAS Harmonizer | 3 / 3 | 163.29 (157.96–165.06) | 1.74 (1.73–1.83) |
| GWASLab | 3 / 3 | 50.27 (49.39–50.61) | 5.85 (5.76–5.91) |
| tidyGWAS | 3 / 3 | 67.19 (66.82–68.01) | 4.09 (4.05–4.11) |
| MungeSumstats | 3 / 3 | 179.15 (177.53–186.91) | 9.12 (8.09–9.23) |

Complete PLINK2 adapter file: 1,074,448 rows. Tasks, filters and records differ; reference setup and browser interaction are excluded. Raw commands, platform, exit codes and measurements appear in [results.json](results.json).

## Historical evidence

Duplicate-safe rescoring found 46,596,423 agreeing rows among 46,596,423 comparable non-palindromic records. Duplicate keys and ambiguous palindromes were excluded; literal zero p-values do not count as agreement. This is agreement between archived outputs, not independent truth or current-version accuracy; their original provenance remains incomplete.

## Scope and reproduction

The public ZIP reproduces the sample and synthetic checks after references/tool environments are installed. Full raw inputs/outputs are required separately for full-file timing and historical rescoring. EstBB variant records and genome/dbSNP resources are not redistributed. Source association models and author/archive release approvals remain outside these tests.
