Skip to content

BioJulia/BGZFLib.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BGZFLib.jl

Stable docs Dev docs Latest Release

BGZFLib.jl is a package for reading and writing Blocked GNU Zip Format (BGZF) files.

Example

Reading a BGZF file:

$ echo "Hello, world" | bgzip > /tmp/foo.gz
julia> using BGZFLib

julia> BGZFReader(read, open("/tmp/foo.gz")) |> String
"Hello, world\n"

Writing a BGZF file

julia> using BGZFLib

julia> BGZFWriter(io -> write(io, "Hello, world"), open("/tmp/foo.gz", "w"))
12
$ bgzip -dc /tmp/foo.gz
Hello, world

For more examples, see the documentation: https://biojulia.dev/BGZFLib.jl/stable/

Questions?

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.

About

Read and write BGZF files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages