A BGEN file format reader.
It fully supports the BGEN format specifications 1.2 and 1.3.
You can install it via conda
:
conda install -c conda-forge bgen
A second installation option would be to download the latest source and to build it by yourself. It can be as simple as:
curl -fsSL https://git.io/JerYI | GITHUB_USER=limix GITHUB_PROJECT=bgen bash
Under Windows, please, use Git Bash terminal to enter the above command.
Refer to documentation for usage and API description.
The original specification can be found at http://www.well.ox.ac.uk/~gav/bgen_format/. We have also created an alternative, more user-friendly BGEN specification.
Make sure you have the dependencies installed. From terminal, clone the repository and checkout the develop branch:
git clone https://github.com/limix/bgen.git
cd bgen
Create a build folder and compile from there:
mkdir build
cd build
# Configure and generate scripts that will build it
cmake -DCMAKE_BUILD_TYPE=Release ..
# Compile it
cmake --build . --config Release
# Test it
ctest --output-on-failure -C Release
This project is licensed under the MIT License.