Skip to content

multi-chunk gzip files are truncated at end of first block #61

@pmarks

Description

@pmarks

'block' gzip files (see page 10 here: http://samtools.github.io/hts-specs/SAMv1.pdf), are commonly used in bioinformatics. They are valid gzip files, but use the somewhat rare scheme of storing the data in many consecutive gzip blocks. System gunzip or zcat will yield all the data in all blocks, however flate2:GzDecoder will only yield data from the first block. I believe that correct behavior is to continue reading the steam to find another block until EOF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions