BGZFLib.jl is a package for reading and writing Blocked GNU Zip Format (BGZF) files.
$ echo "Hello, world" | bgzip > /tmp/foo.gzjulia> using BGZFLib
julia> BGZFReader(read, open("/tmp/foo.gz")) |> String
"Hello, world\n"julia> using BGZFLib
julia> BGZFWriter(io -> write(io, "Hello, world"), open("/tmp/foo.gz", "w"))
12$ bgzip -dc /tmp/foo.gz
Hello, worldFor more examples, see the documentation: https://biojulia.dev/BGZFLib.jl/stable/
If you have a question about contributing or using BioJulia software, come on over and chat to us on the Julia Slack workspace, or you can try the Bio category of the Julia discourse site.