Skip to main content

Bgen file format reader

Project description

bgen-reader

Travis Documentation

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 python package is a wrapper around the bgen library, a low-memory footprint reader that efficiently reads bgen files. It fully supports the bgen format specifications: 1.2 and 1.3; as well as their optional compressed formats.

Install

It can be installed via conda

conda install -c conda-forge bgen-reader

Or via pip

pip install bgen-reader

Documentation

Please, refer to https://bgen-reader.readthedocs.io.

Troubleshooting

fatal error: bgen.h: No such file or directory

This means that bgen C library is not installed (or could not be found). Please, follow the instructions in https://github.com/limix/bgen to install it, and try installing bgen-reader again.

Problems

If you encounter any issue, please, submit it.

Authors

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bgen-reader-4.0.5.tar.gz (40.4 kB view hashes)

Uploaded Source

Built Distributions

bgen_reader-4.0.5-cp38-cp38-win_amd64.whl (546.9 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

bgen_reader-4.0.5-cp38-cp38-manylinux2010_x86_64.whl (556.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

bgen_reader-4.0.5-cp38-cp38-manylinux1_x86_64.whl (556.5 kB view hashes)

Uploaded CPython 3.8

bgen_reader-4.0.5-cp38-cp38-macosx_10_9_x86_64.whl (480.3 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

bgen_reader-4.0.5-cp37-cp37m-win_amd64.whl (546.9 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

bgen_reader-4.0.5-cp37-cp37m-manylinux2010_x86_64.whl (555.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

bgen_reader-4.0.5-cp37-cp37m-manylinux1_x86_64.whl (555.9 kB view hashes)

Uploaded CPython 3.7m

bgen_reader-4.0.5-cp37-cp37m-macosx_10_9_x86_64.whl (480.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page