Giter Site home page Giter Site logo

pombredanne / 7bgzf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cielavenir/7bgzf

0.0 1.0 0.0 2.44 MB

some compressors based on 7-zip/zopfli

License: BSD 2-Clause "Simplified" License

C 80.24% Shell 0.42% Assembly 17.17% C++ 0.31% Makefile 0.62% Objective-C 1.12% M4 0.09% Roff 0.03%

7bgzf's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.