Skip to content

Conversation

@olliecheng
Copy link
Member

This PR adds support for gzip-compressed .fastq files. To use it, just index and consensus call a .fastq.gz file as if it were a normal .fastq file — no extra flags needed.

Gzip-compressed file support and new abstractions:

  • Added a new SequentialIndexedReader abstraction to transparently handle both uncompressed and gzip-compressed FASTQ files during indexing
  • Introduced GzippedFileReader with both sequential and random-access reading capabilities for gzipped files, using the indexed_deflate crate for efficient access and requiring a .gzi2 index file
  • Updated tests to compress test files by default, for smaller clones

@olliecheng olliecheng merged commit 64559e3 into develop Aug 22, 2025
3 checks passed
@olliecheng olliecheng deleted the feat-gzip branch December 24, 2025 13:19
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

Successfully merging this pull request may close these issues.

2 participants