Open brainstorm opened 6 years ago
Smaller BGZF files can be found on the biopython test suite and a good (python) reference implementation is in the same codebase.
make an io plugin in python or find an implementation in C
This C implementation is the oldest and most well supported in bioinfo:
For context, please read what BGZF is about first.
Also, for a good BGZF sample file to reproduce and fix this issue, you can download this one, the hg38 revision of the human genome.
Work environment
Expected behavior
$ r2 gzip://test.txt.gz
should open the bgzip-compressed file containing more than one block as any other gzip file. So creating a short/small text and compressing it withbgzip
should span over more than one block to see the problem presented here.Actual behavior