Documentation
¶
Overview ¶
Package nthash is a port of ntHash (https://github.com/bcgsc/ntHash) recursive hash function for DNA kmers.
It was inspired by the Rust port by Luiz Irber (https://github.com/luizirber/nthash)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NTHi ¶
type NTHi struct {
// contains filtered or unexported fields
}
NTHi is the ntHash iterator
func NewHasher ¶
NewHasher is the constructor function for the ntHash iterator seq is a pointer to the sequence being hashed k is the k-mer size to use
func (*NTHi) Hash ¶
Hash returns a channel to range over the canonical ntHash values of a sequence canonical is set true to return the canonical k-mers, otherwise the forward hashes are returned
Click to show internal directories.
Click to hide internal directories.