OpenGWASDB Dense Benchmark — EBI Full GWAS-SSF Inputs

Three full harmonised GWAS files from besdq/data/ebi_input

Published

June 29, 2026

Summary

This benchmark uses besdq/data/ebi_input, which contains three full harmonised GWAS-SSF files. This is the active local Dense-mode vertical-slice benchmark. The older 38714679 fixture is sparse and is no longer used or compared for Dense-mode evaluation.

The query workload mirrors the besdq dense benchmark: regional, PheWAS, top-hits, full-study bulk extraction, and random variant × analysis lookup.

Dataset

Field Value
Source files 3
Store variants 7,685,603
Analyses 3
Dense cells 23,056,809
Finite observed cells 23,056,809
Observed cell fraction 100.00%
Build time 284.642 seconds

Storage footprint

Format Size Comparison
Raw source TSV.gz 1001.48 MB 1.00×
Raw source TSV.gz + metadata/TBI 1006.00 MB 1.00× raw
OpenGWASDB dense store 810.50 MB 0.81× raw

Store component footprint

Component Size
manifest.json 0.00 MB
index.sqlite 368.35 MB
variants.tsv.gz 108.81 MB
variants.tsv.gz.tbi 1.48 MB
variant_offsets.npy 61.48 MB
data.zarr 270.37 MB
data.zarr/top_hits 0.10 MB

Query selection

Query input Value
Regional query 6:31000000-31999999
PheWAS variant 1:758351:A:G
Bulk analysis GCST90275731
Top-hit threshold 5e-08
Random lookup 100 variants × 3 analyses

Query timings

Timings are from the Python query engine with one store opened once and each query repeated 10 times. bulk_arrays is the dense full-study extraction path that returns Z and SE arrays without materialising millions of Python row objects.

Query Median ms p95 ms Result rows/values
regional 74.581 75.499 26,613
phewas 0.788 0.917 3
tophits 10.665 10.955 177
bulk_arrays 5166.538 5800.412 7,685,603
random_lookup 55.497 57.329 300

Interpretation

  • The full GWAS-SSF inputs are almost perfectly dense across the three analyses, so this is the right local shape for Dense mode.
  • The sparse 38714679 fixture is intentionally excluded from Dense-mode benchmark comparisons because it represents a different storage shape.
  • Component sizes identify whether footprint is dominated by dense arrays, compact metadata, the tabix variant table, row offsets, or top-hit indexes.
  • Full-analysis extraction should use array/streaming output. Returning millions of Python dataclass rows is not the right API shape for that path.

Artifacts

  • JSON results: benchmark-output/opengwasdb_ebi_input_benchmark.json
  • Store path: /Users/gh13047/repo/opengwasdb/docs/benchmark-output/ebi_input_dense.opengwasdb