Skip to content

Commit

Permalink
Add support for multiple files to bgzip
Browse files Browse the repository at this point in the history
Reimplemented to reduce complexities.
Update to avoid test failure in windows
Updated to work with shared stdin/out hfile
  • Loading branch information
vasudeva8 authored and jkbonfield committed Sep 14, 2023
1 parent 9683431 commit 1f0375c
Show file tree
Hide file tree
Showing 3 changed files with 382 additions and 284 deletions.
7 changes: 4 additions & 3 deletions bgzip.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
bgzip \- Block compression/decompression utility
.\"
.\" Copyright (C) 2009-2011 Broad Institute.
.\" Copyright (C) 2018, 2021-2022 Genome Research Limited.
.\" Copyright (C) 2018, 2021-2023 Genome Research Limited.
.\"
.\" Author: Heng Li <lh3@sanger.ac.uk>
.\"
Expand Down Expand Up @@ -54,7 +54,7 @@ bgzip \- Block compression/decompression utility
.IR size ]
.RB [ -@
.IR threads ]
.RI [ file ]
.RI [ file " ...]"
.PP
.SH DESCRIPTION
.PP
Expand All @@ -70,7 +70,8 @@ If the -c option is used, the result will be written to standard output,
otherwise when compressing bgzip will write to a new file with a .gz
suffix and remove the original. When decompressing the input file must
have a .gz suffix, which will be removed to make the output name. Again
after decompression completes the input file will be removed.
after decompression completes the input file will be removed. When multiple
files are given as input, the operation is performed on all of them.

.SH OPTIONS
.TP 10
Expand Down
Loading

0 comments on commit 1f0375c

Please sign in to comment.