cielavenir / 7bgzf

bgzf/ciso/daxcr/dictzip/gzinga/migz/razf frontends using zlib/zlib-ng/7-zip/zopfli/libdeflate/miniz/libslz/igzip/cryptopp/kzip backends with parallel (de)compression. compilable with gcc/clang/icc/open64.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

7bgzf

  • a suite of DEFLATE (RFC 1951) algorithms
  • contact: please use my github profile or the email on the paper (now published!)

Building Instruction

  • Execute compile.sh.

    • 7bgzf is almost static; the dependency is only libc.
  • p7zip and htslib could be installed by system administration command.

  • 7bgzf.so can be injected into libhts.so using LD_PRELOAD environment variable.

    • However, since LD_PRELOAD utilizes procedure linkage table (PLT), samtools / bcftools need to link to libhts.so (not a).
    • BGZF_METHOD environment variable is used to set the compression method. For example, BGZF_METHOD=libdeflate12 means libdeflate level 12.
    • Example: BGZF_METHOD=libdeflate12 LD_PRELOAD=./7bgzf.so samtools view ...
  • Detailed instruction for my ARM assessment should be available on the paper supplementary data.

Side notes (oh I can write this as the paper is published)

  • on-the-fly conversion of compressed files

I have not mentioned explicitly in the paper, but that conversion means PetaGene. They say they provide virtual filesystem via LD_PRELOAD. But I was not able to get evaluation copy - they say no personal evaluation.

About

bgzf/ciso/daxcr/dictzip/gzinga/migz/razf frontends using zlib/zlib-ng/7-zip/zopfli/libdeflate/miniz/libslz/igzip/cryptopp/kzip backends with parallel (de)compression. compilable with gcc/clang/icc/open64.

License:BSD 2-Clause "Simplified" License


Languages

Language:C 77.3%Language:Assembly 21.2%Language:Makefile 0.8%Language:Shell 0.5%Language:C++ 0.2%Language:M4 0.1%Language:Roff 0.0%Language:Dockerfile 0.0%