You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Charles Reid
e5cc53cdff
|
6 years ago | |
---|---|---|
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
MashSketches.md | 6 years ago | |
QuickStart.md | 6 years ago | |
Readme.md | 6 years ago | |
mash_json.go | 6 years ago | |
mash_json_test.go | 6 years ago | |
minhash.go | 6 years ago | |
minhash_test.go | 6 years ago |
Readme.md
gopher-smash
gopher-smash is a simple, lightweight re-implementation of core MinHash data structures and algorithms from Mash and sourmash in Go (Golang).
gopher-smash is implemented as an importable Go module with an accompanying command line tool.
Specifically, the long-term aim of gopher-smash is to provide:
- Go objects for loading, manipulating, debugging, and saving MinHash sketches from both Mash and sourmash
- Go objects for sourmash's scaled MinHash data structures (containment MinHashes)
- Go data structures for efficiently storing and querying collections of MinHash sketches (using locally sensitive hash functions)
Quick Start
Installing
You can use go get
to install gopher-smash:
go get git.charlesreid1.com/charlesreid1/gopher-smash
This will make gopher-smash importable from Go program
Using
Use gopher-smash from your Go program like so
(we use gosh
to make the import name shorter):
package main
import (
gosh "git.charlesreid1.com/charlesreid1/gopher-smash"
)
func main() {
...
}