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

[bgzip]: Add a keep option to not delete input files #1331

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

pettyalex
Copy link
Contributor

@pettyalex pettyalex commented Sep 15, 2021

This is a small convenience feature that I've wished was present: Add a keep option to preserve input files to bgzip. Flag is -k or --keep, just like other compression tools. Default behavior is entirely unchanged.

I didn't see any tests for the bgzip tool, let me know if I missed them and I'll add tests for this.

@whitwham
Copy link
Contributor

Looks good, thank you. I will take a proper look later.

@whitwham whitwham merged commit dcf09a9 into samtools:develop Sep 28, 2021
@whitwham
Copy link
Contributor

Merged. Thank you.

@pettyalex pettyalex deleted the bgzip-keep-option branch November 29, 2021 20:42
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