edawson / mkmh

Generate kmers/minimizers/hashes/MinHash signatures, including with multiple kmer sizes.
MIT License
24 stars 2 forks source link
kmer locality-sensitive-hashing minhash

mkmh

Make kmers, minimizers, hashes, and MinHash sketches (with multiple k), and compare them.

C/C++ CI for mkmh

Usage

To use mkmh functions in your code:

  1. Include the header file in your code
    #include "mkmh.hpp"
  2. Compile the library:
    cd mkmh && make lib
  3. Make sure the lib and header are on the LD include/lib paths (e.g. in your makefile):
    `` gcc -o my_code my_code.cpp -L/path/to/mkmh -I/path/to/mkmh -lmkmh
  4. That's it!

Available functionality

Convenience functions:

Substrings and transforms:

Compare sets of shingles / kmers / minimizers / hashes:

Fun extras:

Getting help

Please reach out through github by posting an issue (even if it's just feedback). Email is acceptable as a secondary medium.