BGEN: a binary file format for imputed genotype and haplotype data
Preprint
Abstract
The impact of modern technology on genetic epidemiology has been significant, with studies comprising millions of individuals assessed at tens of millions of genetic variants now becoming common. Studies on this scale provide logistical and analytic challenges starting with the issue of efficiently storing, transmitting, and accessing underlying data. Here we present a binary file format (the BGEN format) that can store both directly-typed and statistically imputed genotype data, and achieves substantial space savings by data compression and the use of an efficient representation for probabilities. We investigate the properties of this format using imputed data from the UK BiLEVE study, demonstrating both storage efficiency, and fast data loading performance on the order of hundreds of millions of imputed genotypes per second. To make using BGEN as easy as possible, we provide a detailed specification and a freely available reference implementation, and we leverage this by developing additional tools including an indexing tool (bgenix) and an R package (rbgen) that permits loading of BGEN-encoded data into the R statistical programming environment. The UK Biobank is one of a number of projects that have used BGEN for release of imputed data, and we expect the format to continue to be widely implemented and used.Keywords
This publication has 20 references indexed in Scilit:
- Fine-mapping of an expanded set of type 2 diabetes loci to single-variant resolution using high-density imputation and islet-specific epigenome mapsbioRxiv, 2018
- Genome-wide genetic data on ~500,000 UK Biobank participantsbioRxiv, 2017
- A reference panel of 64,976 haplotypes for genotype imputationNature Genetics, 2016
- A global reference for human genetic variationNature, 2015
- Second-generation PLINK: rising to the challenge of larger and richer datasetsGigaScience, 2015
- Efficient Bayesian mixed-model analysis increases association power in large cohortsNature Genetics, 2015
- Efficient haplotype matching and storage using the positional Burrows–Wheeler transform (PBWT)Bioinformatics, 2014
- RegScan: a GWAS tool for quick estimation of allele effects on continuous traits and their combinationsBriefings in Bioinformatics, 2013
- PLINK: A Tool Set for Whole-Genome Association and Population-Based Linkage AnalysesThe American Journal of Human Genetics, 2007
- Genome-wide association study of 14,000 cases of seven common diseases and 3,000 shared controlsNature, 2007