BGEN is a BGEN parser for golang. It can read files in the .bgen format, but it cannot write them.
This package supports the most common use-cases for BGEN specifications 1.1, 1.2, and 1.3. It does not yet support phased data.
go get github.com/carbocation/bgen
For BGEN specifications 1.1, 1.2, and 1.3 this package is immediately usable after go get
. Only unphased samples are correctly supported currently.
The API is under active development and the public API may change for now.
For the current API, please see the BGEN Godoc