Skip to content

h2cone/gzstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gzstream

This project demonstrates how to stream process a Gzip compressed file using Rust. It fetches a Gzip compressed file from a URL, decompresses it, processes each line, and then recompresses the output.

Prerequisites

  • Cargo (Rust package manager)
  • Node.js (for running the preprocessing script)

Usage

  1. Clone the repository:

    git clone https://github.com/h2cone/gzstream.git
    cd gzstream
  2. Run the preprocessing script using Node.js:

    node scripts/fs.mjs
  3. Run the project using Cargo:

    cargo run > assets/transformed.vcf.gz
  4. The program will fetch the Gzip file from the specified URL, decompress it, process each line, and recompress the output to assets/transformed.vcf.gz.

About

Stream process Gzip compressed files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published