BGen’s documentation


Oct 22, 2019



A BGEN file format reader.

BGEN is a file format for storing large genetic datasets. It supports both unphased genotypes and phased haplotype data with variable ploidy and number of alleles. It was designed to provides a compact data representation without sacrificing variant access performance.

This is a low-memory footprint library that provides an easy-to-use C interface to efficiently read BGEN files. It fully supports all the BGEN format specifications: 1.2 and 1.3; as well as their optional compressed formats.

Comments and bugs

You can get the source and open issues on Github.