Skip to main content

Bgen file format reader

Project description

bgen-reader

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.9.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

bgen_reader-4.0.9-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file bgen_reader-4.0.9.tar.gz.

File metadata

  • Download URL: bgen_reader-4.0.9.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.9 Darwin/24.1.0

File hashes

Hashes for bgen_reader-4.0.9.tar.gz
Algorithm Hash digest
SHA256 20a9b48e3a41d3abd217570aa397b4bcdb3e5834c37aa1789507686d59fdf485
MD5 5ee2605fef2c73f82d512181905738c6
BLAKE2b-256 c8f6d4a9f461b5b06d8d25b5b2d6511456b700e5cb68d53cac1c01f94f6c8722

See more details on using hashes here.

File details

Details for the file bgen_reader-4.0.9-py3-none-any.whl.

File metadata

  • Download URL: bgen_reader-4.0.9-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.9 Darwin/24.1.0

File hashes

Hashes for bgen_reader-4.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f32fc05dc83374eec1d150e51132768afa0d0556723dd35d88de23fabf2fb519
MD5 010b657d9553b8c06169710f19efb61d
BLAKE2b-256 528e63fb2501ea08c80345ea4ab5bdef6128754bad029625704074716585051a

See more details on using hashes here.

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