Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BGZF support #162

Open
gtamazian opened this issue Apr 14, 2024 · 0 comments
Open

BGZF support #162

gtamazian opened this issue Apr 14, 2024 · 0 comments
Assignees

Comments

@gtamazian
Copy link

BGZF is a GZIP-based block compression format widely used in bioinformatics. BGZF uses extra fields as specified in RFC 1952 and is designed to be compatible with GZIP decompressors.

The Gz.Inf module decompressor fails to read data from a BGZF file. The MWE with its input file:

$ decompress --format gzip mwe.txt.gz
decompress: Unexpected end of input.

I wonder why the current GZIP decompressor implementation fails to read BGZF and whether it can be easily fixed.

The input file mwe.txt.gz was created in the following way using the bgzip tool:

$ seq 1 10 > mwe.txt               
$ bgzip mwe.txt  
@dinosaure dinosaure self-assigned this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants