You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

hg-horizon: GWAS correlations

Genome-spanning GWAS profile-similarity overviews and the association observations needed for alternative analyses. Beta is one channel among several. Fine-mapped and all-significant data remain in separate top-level folders throughout.

Contents, resolutions, and pooling

Path Resolution / representation Pooling
fine-mapped/associations.parquet Individual variant×study associations from significant Open Targets credible sets Unpooled input observations; includes PIP
all-significant/associations.parquet Individual significant variant×study observations from the historical GWAS Catalog ingest Unpooled input observations; PIP is unavailable
{subset}/binned-observations/genome_5000000.parquet 5 Mb study×bin effect profiles, chr1–22 Contains both mean and max-representative values for each channel
{subset}/correlations/{mean,max}/{channel}/{metric}/genome_5000000.parquet 5 Mb bin×bin correlations, cis and trans Mean/max aggregation is applied to observations before correlation
metadata/ Study labels, sample counts and EFO ancestor closure Supporting metadata

Only 5 Mb correlation overviews are precomputed in this release. Unpooled association inputs do not constitute a complete single-position pairwise correlation catalogue. No finer-scale pairwise correlations are implied. Smaller bins mean finer spatial resolution.

mean averages the retained channel values in each study/bin. max keeps the channel value from the association with the largest absolute raw beta; deterministic ties use position, study id, ref and alt. Thus max-PIP here means the PIP of that representative association, not the maximum PIP in the bin. This follows the browser's representative-selection rule. It is not the same operation as mean/max pooling of already-computed LD or MIp pair scores.

Available channels

Channel Value Fine-mapped All-significant
beta Signed source effect beta Yes Yes
beta_std (beta/SE)/sqrt(N_eff) Where SE and sample size are available Where SE and sample size are available
z beta/SE Where SE>0 Where SE>0
abs_beta abs(beta) Yes Yes
abs_z abs(beta/SE) Where SE>0 Where SE>0
pip Fine-mapping posterior inclusion probability Yes Unavailable
signed_pip sign(beta)×PIP Yes Unavailable

N_eff=4/(1/n_cases+1/n_controls) for known binary-trait counts, otherwise n_samples. Missing or invalid sample sizes/SE exclude an observation from affected channels. Beta units differ across studies, so raw beta and standardized beta answer different questions.

Correlation calculations and missingness

Metric folder Calculation
pearson Pearson correlation over studies observed in both bins
cosine Uncentered similarity; absent observations treated as zero, with norms over each full observed bin profile
pearson_global_ranks Pairwise-complete Pearson after average-ranking each bin's observed study values once
cosine_global_ranks Cosine of those centered average-rank profiles

The global-rank calculation matches the browser's rank-transform convention; it is not exact pair-specific Spearman ranking when observation sets differ. Every emitted pair has at least three shared studies. Constant/undefined and numerically near-constant correlations are omitted (variance must exceed 10^-12 times the shared sum of squared values). Reference exports use study rows, no EFO reweighting, no decomposition, and no Kish effective-support filter; custom browser settings may give different values. The n field counts shared studies, not variants.

Contents and measured sizes

Product Data files Compressed download size
all-significant/associations 1 0.791 GB (0.737 GiB)
all-significant/binned-observations 1 0.042 GB (0.039 GiB)
all-significant/correlations 40 0.069 GB (0.064 GiB)
fine-mapped/associations 1 0.027 GB (0.025 GiB)
fine-mapped/binned-observations 1 0.034 GB (0.032 GiB)
fine-mapped/correlations 56 0.096 GB (0.090 GiB)
metadata/efo-closure 1 0.000 GB (0.000 GiB)
metadata/studies 1 0.001 GB (0.001 GiB)
metadata/study-traits 1 0.002 GB (0.001 GiB)
All data files 103 1.062 GB (0.989 GiB)

Access and a metadata-only first download

This dataset is public with automatic access approval. Open the dataset page, sign in, and agree to share your Hugging Face username and profile email with Standard Model Bio.

python -m pip install huggingface_hub pyarrow numpy scipy
hf auth login

After approving access in your browser and logging in locally:

import json
from huggingface_hub import HfApi, hf_hub_download

repo = "standardmodelbio/hg-horizon-gwas-correlations"
revision = HfApi().dataset_info(repo, token=True).sha
print("Pin this revision for reproducibility:", revision)
manifest_path = hf_hub_download(repo, "manifest.json", repo_type="dataset", revision=revision, token=True)
manifest = json.load(open(manifest_path))
print("Data files:", len(manifest["files"]), "bytes:", manifest["data_bytes"])

The examples below use the same repo and revision. They need a token belonging to an approved user; no private application code is required. Avoid downloading the entire repository by default.

Read a precomputed correlation overview

import pyarrow.parquet as pq

subset = "fine-mapped"       # or "all-significant"
pooling = "mean"             # or "max"
channel = "beta_std"         # beta, z, abs_beta, abs_z; PIP channels need fine-mapped
metric = "pearson"           # cosine, pearson_global_ranks, cosine_global_ranks
filename = f"{subset}/correlations/{pooling}/{channel}/{metric}/genome_5000000.parquet"
path = hf_hub_download(repo, filename, repo_type="dataset", revision=revision, token=True)
correlations = pq.read_table(path, filters=[("n", ">=", 10)])
print(correlations.slice(0, 5).to_pylist())

The same path structure provides both mean and max pooling. pos_i/pos_j are zero-based 5 Mb bin starts on the padded autosomal axis; r is the signed score and n the shared-study count. correlation-coverage.json records how many study/bin observations were available per channel.

Read unpooled associations for a finer region

import pyarrow.dataset as ds
path = hf_hub_download(repo, "fine-mapped/associations.parquet", repo_type="dataset", revision=revision, token=True)
associations = ds.dataset(path).to_table(
    filter=(ds.field("chrom") == "chr22") & (ds.field("pos") >= 20_000_001) & (ds.field("pos") < 22_000_001),
    columns=["chrom", "pos", "study_id", "ref", "alt", "beta", "se", "pip"],
)
print(associations.slice(0, 5).to_pylist())

Association pos is one-based, matching the original source records. Subtract one when joining to zero-based BED/LD/co-evolution coordinates or constructing new bins. These observations allow different genomic resolutions, filters, and statistics; they are not themselves pair scores.

Read the binned observations or study metadata

path = hf_hub_download(repo, "fine-mapped/binned-observations/genome_5000000.parquet",
                       repo_type="dataset", revision=revision, token=True)
profiles = pq.read_table(path, columns=["study_id", "pos", "n_associations", "mean_beta_std", "max_beta_std"])
print(profiles.slice(0, 5).to_pylist())

path = hf_hub_download(repo, "metadata/studies.parquet", repo_type="dataset", revision=revision, token=True)
studies = pq.read_table(path)
print(studies.slice(0, 3).to_pylist())

metadata/studies.parquet has the full sample-size/EFO fields for 48,341 source studies. metadata/study-traits.parquet expands labels to 55,544 studies but does not invent missing sample counts. A study label does not establish that study has observations in either subset.

Genome-coordinate axis

Files under genome/ (or GWAS correlation overviews) use the axis recorded in genome-axis.json: chr1–22 in order, each chromosome padded to a multiple of 5 Mb. The total axis length is 2,935,000,000 bp. This is not an unpadded concatenated genome. A bin's pos_i/pos_j is a zero-based bin start on that axis. Chromosome-local position is genome_position - offset_bp; padding is not biological sequence. Sex chromosomes are absent from these whole-genome overview products even where chromosome-local inputs include chrX/chrY.

axis_path = hf_hub_download(repo, "genome-axis.json", repo_type="dataset", revision=revision, token=True)
axis = json.load(open(axis_path))
def locate(genome_position):
    for c in reversed(axis["chromosomes"]):
        if genome_position >= c["offset_bp"]:
            local = genome_position - c["offset_bp"]
            if local >= c["length_bp"]:
                raise ValueError("Position falls in chromosome padding")
            return c["chrom"], local
    raise ValueError("Position is outside the genome")

Provenance, selection, and limits

Fine-mapped input: Open Targets Platform 25.12, significant GWAS credible sets with positive abs(beta)×PIP weight, canonical chromosomes. There is no additional high-PIP cutoff. The 1,293,167 rows are credible-set variant×study observations, not independent causal discoveries.

All-significant input: 104,278,671 variant×study observations from GWAS Catalog harmonised summary statistics with variant p<5×10⁻⁸. The historical ingest queried windows around known credible-set loci (approximately ±1 Mb), then reconciled missing studies, sometimes using full downloads. “All-significant” is the inherited subset label, not a claim that all significant variants in every public study were ingested. Some standard errors were recovered from beta and two-sided p when source SE was missing; the canonical table lacks per-row imputation flags. Source beta/SE values also reflect historical export precision. Do not assume each stored SE was directly reported or that all fine-scale source precision is recoverable.

PIP and rank-normalized beta are null in the all-significant subset. Missing associations can mean non-significant, outside the ingested regions, or unavailable data. They are not measured null effects. Summary-statistic selection, LD, overlapping cohorts, and related traits can all affect these profile similarities; these are not causal interactions, LD estimates, or calibrated genetic-correlation estimates. No p-values or genome-wide FDR claims are attached to the scores.

Original inputs are linked in sources.tsv and original-harmonised-inputs.tsv. The latter is the original harmonised-file discovery snapshot, including files that were not ingested; it is not a list of studies proven present in this release. Locate a study's original file by its GCST id, and check its GWAS Catalog usage licence. Original Open Targets shards and GWAS summary statistics are not duplicated here. The compact harmonised association tables are included because their filtering/formatting work is useful. The EFO closure's original ontology URL was not release-pinned; its exported bytes are pinned here.

File inventory and machine-readable interpretation

  • manifest.json: exact byte sizes, data-file hashes, table row counts, products, available resolutions, aggregation definitions, and missing-data rules.
  • files.tsv: one row per data file. A blank row count means the file is not a table.
  • schemas.json: column names and types by product family.
  • DATA_DICTIONARY.md: field meanings, units, coordinate conventions, and count definitions.
  • sources.tsv: original input links and provider information.
  • PROVENANCE.md: source versions, preprocessing, known limits, and licensing.
  • AGENTS.md: instructions for automated consumers, including what this release cannot support.

Sizes above cover compressed data objects only; small documentation and index files are additional. Use per-file sizes in the manifest to plan a subset download. Row counts across resolutions are not additive counts of independent measurements. Pooled levels represent the same underlying signals at different scales.

Release date: 2026-11-05. Curated by Standard Model Bio. Part of the hg-horizon public data collection.

Downloads last month
111

Collection including standardmodelbio/hg-horizon-gwas-correlations