• Stars
    star
    6
  • Rank 2,460,823 (Top 50 %)
  • Language
    Julia
  • License
    Other
  • Created about 11 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

zlib bindings for Julia

Zlib

Zlib bindings for Julia.

Note: This library is currently maintained, but should be considered deprecated in favor of Libz.jl, which is in every way better.

This library provides a compress and decompress function that work as follows.

Basic API

# Compress data, ouputting a Vector{UInt8} where data is either a Vector{UInt8}
# or an AbstractString.
compress(data)

# Compress at a particular level in [1, 9]
compress("Hello world", 5)

# Decompress to a Vector{UInt8} where data is either a Vector{UInt8} or an
# AbstractString.
decompress(data)

Stream API

Incremental compression or decompression can be performed with the Reader and Writer types which both derive IO, and can be used with most functions that operate on streams.

Reader(io::IO, raw::Bool=false, bufsize::Int=4096)
  • io source from which compressed data should be read
  • raw true if the data is in the raw deflate format.
  • bufsize how much input data to operate on at a time
Writer(io::IO, level::Integer, gzip::Bool=false, raw::Bool=false)
  • io source to which compressed data should be written
  • level compression level in [1,9]
  • gzip true if output should be in the gzip format
  • raw true if output is in the raw deflate format.

crc32

crc32(data::Vector{UInt8}, crc::Integer=0) crc32(data::AbstractString, crc::Integer=0)

Compute and return the 32-bit cycle redundancy check on data, updating a running value crc.

# E.g.
crc32("hello")
0x3610a686

More Repositories

1

hat-trie

An efficient trie implementation.
C
251
star
2

mk

make remade
Go
170
star
3

fastq-tools

Small utilities for working with fastq sequence files.
C
113
star
4

coitrees

A very fast interval tree data structure
Rust
81
star
5

quip

Compressing next-generation sequencing data with extreme prejudice.
C
76
star
6

Judo.jl

A Julia document generator
Julia
57
star
7

isolator

Rapid and robust analysis of RNA-Seq experiments.
C
32
star
8

colormake

colorize GNU make output
Python
30
star
9

polee

Analyzing RNA-Seq with approximate likelihood
Julia
26
star
10

subsample

Randomly sample lines from massive text files efficiently
C
17
star
11

RecursiveSparseBlocks.jl

julia interface to the librsb sparse matrix library
Julia
16
star
12

proseg

Probabilistic cell segmentation for in situ spatial transcriptomics
Rust
16
star
13

Skia.jl

Experimental skia bindings
Julia
11
star
14

seqbias

An R package to correct for sequence bias in RNA-Seq experiments.
C++
10
star
15

Switch.jl

A C-style switch statement for Julia
Julia
9
star
16

fastlog

A faster, reduced-precision logarithm function.
C
8
star
17

vanity

scRNA-Seq normalization for the vain
Python
7
star
18

cbgb

computational biology grab-bag: messy one-off scripts for a variety of tasks
C
6
star
19

maxspin

Quantifying spatial information in spatial transcriptomics
Jupyter Notebook
5
star
20

PoleeClassifier.jl

Julia
5
star
21

color.jl

Pretty colors for Julia
Julia
5
star
22

sls

Stochastic L-Systems in Python
Python
5
star
23

Showoff.jl

Nicely format an array of n things for tables and plots
Julia
5
star
24

LazySequences.jl

Lazy sequences.
Julia
4
star
25

ragel-julia

A Julia backend for Ragel
C++
4
star
26

gtf-parse-off

Experiments with parsing gene transfer format
Ragel in Ruby Host
3
star
27

ulam-death-spiral

Exposing the depravity of the natural numbers.
CoffeeScript
3
star
28

isolator-paper

The Isolator Paper
Jupyter Notebook
3
star
29

seqsim

A simplistic RNA-Seq simulator.
C++
2
star
30

vim-mk

Vim syntax for mk
Vim Script
2
star
31

AnnDatas.jl

Julia compatibility for the anndata python module
Julia
2
star
32

quip-paper

A paper describing and evaluating the quip compression algorithm.
C
2
star
33

HATTries.jl

julia hat-trie bindings
Julia
1
star
34

GatedLinearNetworks.jl

A gaussian gated linear networks implementation
Julia
1
star
35

gadfly-static-html

Static HTML documentation for Gadfly
JavaScript
1
star
36

dotfiles

Vim Script
1
star
37

peakolator

World's fastest genomic segmentation algorithm.
C
1
star
38

quip-website

A very simple website for quip.
JavaScript
1
star
39

julia-minimalist-vim

Alternate vim syntax definitions for Julia
Vim Script
1
star
40

peakolator-legacy

Some old code.
C++
1
star