GithubHelp home page GithubHelp logo

seqbench's Introduction

SeqBench: A Benchmark Suite for Lossless and Lossy Compression of Sequence Data

SeqBench, an open-source comprehensive plug-and-play benchmark suite for evaluating both lossless and lossy compression algorithms for DNA sequence data on HPC clusters. SeqBench supports a wide range of compressors, including reference-based and non-reference-based methods, and integrates error analysis using different metrics. SeqBench also incorporates downstream workflow analysis, such as genetic variant calling, to ensure compressed data remains suitable for critical applications.

System Requirements

  • Operating System: Linux (with support for PBS/Torque or Slurm Workload Manager)

  • Compiler: GCC (>= 4.8.5)

  • Python: Python 3.12 (or compatible version)

  • Conda: Miniconda or Anaconda installed

Setting Up the Environment

SeqBench comes with a pre-configured environment.yaml file that specifies all necessary dependencies. To set up the environment, follow these steps:

  1. Install Conda: If you don’t have Conda installed, you can install Miniconda by following the instructions here.

  2. Create the SeqBench Environment:

Navigate to the SeqBench directory where environment.yaml is located and run the following command:

conda env create -f environment.yaml

Compile

Please use the following command to compile necessary C++ and Cpython module .

git clone https://github.com/babyplutokurt/SeqBench

cd Compression_Scripts && mkdir build && cd build
cmake ..
make

cd ../.. && cd Error_Analysis_Scripts && mkdir build && cd build
cmake ..
make

Please use the following command to compile compressors

chmod +x ./compressors_setup.sh
./compressors_setup.sh

Please noticed that in BFQZIP, "./BFQzip/BFQzip/src_int_mem/bfq_int.cpp", replace line 681, I believe this is a bug.

uint64_t CLUST_SIZES[MAX_CLUST_LEN+1]{0};

with

std::vector<uint64_t> CLUST_SIZES(MAX_CLUST_LEN+1, 0);

Configuration

Run SeqBench

conda activate compression
python3 main.py




seqbench's People

Contributors

babyplutokurt avatar

Stargazers

 avatar

Watchers

 avatar

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.