Skip to content

ld_pairs.csv

Identity

Row model LdPairRow (just_dna_format.ld_pairs)
Becomes ld_pairs.parquet
Authored or derived derived — an enricher pass writes it; an author corrects it via overrides.csv
Draftable no
Written and checked by just-dna-enricher ld-pairs (ld_pairs) from ensembl
Natural key proxy_rsid, variant_key, ld_population
Fact signature yes — its sidecar carries one
In the attestation binding no

Columns

Column Type Required Values Meaning
proxy_rsid str required The variant the study measured, as studies.csv.proxy_rsid spells it.
variant_key str required The study row's lead, keyed as StudyRow.variant_key keys it: the rsID, or chrom:start:ref for a coordinate-authored lead. For an rsID lead that is also weights.parquet.variant_key.
ld_population str | None optional The reference panel r² was computed in, as the reference names it: 1000GENOMES:phase_3:<CODE>, the CODE being the study's one ancestry. Null when the study states several superpopulations or none, which status says.
status str required one of: ancestry_mixed, ancestry_unstated, lead_has_no_rsid, not_reported, resolved, rsid_unknown resolved: the reference gave r² and D′. not_reported: it answered with no row, which is a pair below its reporting floor or not in LD (two chromosomes answer the same), never r² = 0. rsid_unknown: it does not know one of the two rsIDs. ancestry_mixed / ancestry_unstated: the study states several superpopulations, or none, so no panel was asked. lead_has_no_rsid: the lead is coordinate-authored and no rsID is known for it, and the reference takes rsIDs.
r2 float | None optional r² between proxy and lead in ld_population. Set only when status is resolved.
d_prime float | None optional |D′| between proxy and lead in ld_population, as the reference reports it.
answered_rsid str | None optional The proxy as the reference named it in its answer. Differs from proxy_rsid when dbSNP merged the author's id into another (rs1624712 answers as rs646776); the row stays keyed on what the author wrote. A label, outside the fact hash.
dataset str | None optional The reference release that answered, e.g. 'ensembl_116'. Null on a row nobody was asked about.
source str | None optional The licensed source that answered: ensembl (open). Joins sources.csv.source.
fetched_at str | None optional ISO-8601 UTC timestamp when a pass wrote this row; the release is dataset.

Generated from the row model at build time — reference.authoring_reference(), the same answer describe_table gives an authoring tool. Nothing on this page is hand-kept.