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

Is the output gzip file a concatenation of gzip blocks? #57

Closed
shenwei356 opened this issue Mar 9, 2024 · 1 comment
Closed

Is the output gzip file a concatenation of gzip blocks? #57

shenwei356 opened this issue Mar 9, 2024 · 1 comment

Comments

@shenwei356
Copy link

Hi Klaus,

First, I'd like to thank you for this great package, I've used it in several tools of mine.
As the title said, I'm not sure if the output gzip file is a concatenation of gzip blocks. After reading the source code, I think the answer is no. But I'm not sure.

ref: shenwei356/seqkit#443

Best,
Wei

@klauspost
Copy link
Owner

pgzip uses concatenated deflate blocks. Blocks back-reference previous blocks, which is why there is no practical compression loss. Followed up in your issue.

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