Skip to content
DraconiticResearch
Search Sources API
203,203 studies31 sourcesUpdated 17 min ago
PreprintCC BYbioRxiv

European LD proxies lose tagging for 43% of GWAS leads in the African panel: a chromosome 22 analysis with SwiftLD, an 826-fold faster, byte-identical vcftools LD

  1. 1Translational Neuropsychiatry Unit (TNU), Department of Clinical Medicine, Aarhus University

Abstract

SwiftLD is a drop-in replacement for the pairwise linkage disequilibrium (LD) modes of vcftools 0.1.17, --hap-r2 and --geno-r2, which population-genetic pipelines use to compute r2, D and D' between nearby variants. On three regions of 1000 Genomes chromosome 22 with 503 to 2,504 samples it wrote the same output as vcftools, byte for byte, and was 826-fold faster (geometric mean at two threads on an AVX-512 CPU). It was also 7.6-fold faster than PLINK 2, the fastest alternative, from VCF input to LD output on all five regions tested; PLINK 2 writes a different file, although its r2 values agree with vcftools' within 10^-6. One megabase with 503 samples took vcftools 29 s and SwiftLD 0.049 s, and on an ordinary AVX2 laptop SwiftLD was 102-fold faster than vcftools at 12 threads. vcftools was slow because it repeatedly re-reads genotypes from a temporary file, counts haplotypes individually and flushes every output row. I built SwiftLD with correctness-gated coding agents (Claude Opus 5.5): every change had to keep the output byte-identical to vcftools. No output byte differed in 167,749 differential tests on three machines. On chromosome 22, the best European LD proxy of a GWAS lead kept r2 >= 0.8 for 57.4% of leads in the African panel and 85.6% to 92.7% in other panels (98.1% in a European split-half control). Code and a two-command reproduction: https://github.com/joe-b-christensen/swiftld.

Related

  1. Chromosome-scale genome assembly of the European common cuttlefish Sepia officinalis
    Simone Daniela Rencken, Georgi Tushev, David Hain +3
    eLifePeer-reviewedCC BY6 citedEcologyOpenAlex
  2. Pre-season bare-soil spectral proxies complement pod-filling canopy indices for field-scale soybean-yield prediction from UAV imagery
    Yan Zhao, Zhiyuan Tian, Rui Ma +1
    iSciencePeer-reviewedCC BY-NC-ND 4.0EcologyCell PressCrossref
  3. Delayed Tagging of ED-A Fibronectin-Mimetic Peptide in an RGD-Decorated Synthetic Matrix Induces Fibroblast-to-Myofibroblast Transition
    A. Natu, Y. Fang, J. Fox +1
    bioRxivPreprintAll rights reservedFull textSystems & synthetic biologybioRxiv
  4. Comparative physicochemical and mineral profiling of multifloral honeys from Apis mellifera in Himachal Pradesh, India: implications for export and GI tagging
    Rohini Sharma, Meena Thakur, Sunita Devi
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textZoology & animal behaviourCrossref
  5. Patient-specific integration of RNA expression, methylation-derived replication-timing proxies, and histomorphology for pancreatic cancer subtyping
    Alejandro Leyva, M. Khalid Khan Niazi
    PLOS OnePeer-reviewedCC BY 4.0Full textMolecular biology & gene regulationGenetics & genomicsPLOS
BibTeX
@misc{christensen2026european,
  title = {{European LD proxies lose tagging for 43% of GWAS leads in the African panel: a chromosome 22 analysis with SwiftLD, an 826-fold faster, byte-identical vcftools LD}},
  author = {J. Christensen},
  howpublished = {bioRxiv},
  year = {2026},
  month = nov,
  doi = {10.64898/2026.11.04.760946},
  url = {https://www.biorxiv.org/content/10.64898/2026.11.04.760946v1},
  note = {CC BY},
}
RIS
TY  - UNPB
TI  - European LD proxies lose tagging for 43% of GWAS leads in the African panel: a chromosome 22 analysis with SwiftLD, an 826-fold faster, byte-identical vcftools LD
AU  - J. Christensen
PY  - 2026
DA  - 2026/11/04
PB  - bioRxiv
DO  - 10.64898/2026.11.04.760946
UR  - https://www.biorxiv.org/content/10.64898/2026.11.04.760946v1
AB  - SwiftLD is a drop-in replacement for the pairwise linkage disequilibrium (LD) modes of vcftools 0.1.17, --hap-r2 and --geno-r2, which population-genetic pipelines use to compute r2, D and D' between nearby variants. On three regions of 1000 Genomes chromosome 22 with 503 to 2,504 samples it wrote the same output as vcftools, byte for byte, and was 826-fold faster (geometric mean at two threads on an AVX-512 CPU). It was also 7.6-fold faster than PLINK 2, the fastest alternative, from VCF input to LD output on all five regions tested; PLINK 2 writes a different file, although its r2 values agree with vcftools' within 10^-6. One megabase with 503 samples took vcftools 29 s and SwiftLD 0.049 s, and on an ordinary AVX2 laptop SwiftLD was 102-fold faster than vcftools at 12 threads. vcftools was slow because it repeatedly re-reads genotypes from a temporary file, counts haplotypes individually and flushes every output row. I built SwiftLD with correctness-gated coding agents (Claude Opus 5.5): every change had to keep the output byte-identical to vcftools. No output byte differed in 167,749 differential tests on three machines. On chromosome 22, the best European LD proxy of a GWAS lead kept r2 >= 0.8 for 57.4% of leads in the African panel and 85.6% to 92.7% in other panels (98.1% in a European split-half control). Code and a two-command reproduction: https://github.com/joe-b-christensen/swiftld.
ER  -