https://github.com/nanoporetech/vbz_js
JS bindings for VBZ compression
https://github.com/nanoporetech/vbz_js
compression nanopore wasm
Last synced: 3 months ago
JSON representation
JS bindings for VBZ compression
- Host: GitHub
- URL: https://github.com/nanoporetech/vbz_js
- Owner: nanoporetech
- Created: 2021-11-09T20:04:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T17:00:14.000Z (over 2 years ago)
- Last Synced: 2024-05-09T15:34:28.701Z (about 1 year ago)
- Topics: compression, nanopore, wasm
- Language: WebAssembly
- Homepage: https://nanoporetech.com/
- Size: 3.27 MB
- Stars: 0
- Watchers: 18
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VBZ JS
JS bindings for [VBZ Compression](https://github.com/nanoporetech/vbz_compression).
# Dependencies
EMCC - https://emscripten.org/docs/getting_started/downloads.html
Tip: If installed but EMCC not found in VSCode, download the repo, cd into it and activate the env vars:
```
source ./emsdk_env.sh
```# Build
```bash
cd streamvbyte
./build.sh
cd ..
npm run build:node
```Currently the no SIMD version has been dropped. To build:
```
# Remove the line `#include ` from streamvbyte_wasm.c
./build-no-simd.sh
```# Testing
Run tests via jest
To do: Move all tests from test_script.js to vbz.test.js```
npm run build:test
npm run test
```