Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkanche/bloomfilter
https://github.com/jkanche/bloomfilter
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jkanche/bloomfilter
- Owner: jkanche
- Created: 2019-11-26T03:44:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-26T03:48:12.000Z (about 5 years ago)
- Last Synced: 2023-03-11T11:46:52.053Z (almost 2 years ago)
- Language: Go
- Size: 1.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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 buildcd 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
```