Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jkanche/bloomfilter


https://github.com/jkanche/bloomfilter

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

### Building the package
The code is written in `go` (version go1.10.4 linux/amd64). To build the package

```
cd bf
go build

cd bbf
go build
```

The benchmarks were run on a 64 bit machine running ubuntu using the WSL. To run the benchmarks locally

```
bf runtests
bbf runtests
```

The kmer strings were generated using the python code

```
python kmer-generator.py
```

The kmers were randomly shuffled around using
(was taken from https://stackoverflow.com/a/2153889)
```
cat kmer.txt | awk 'BEGIN{srand();}{print rand()"\t"$0}' | sort -k1 -n | cut -f2- > kmer.shuf
```