{"id":19434685,"url":"https://github.com/edawson/mkmh","last_synced_at":"2025-07-10T08:41:50.121Z","repository":{"id":55115956,"uuid":"61300986","full_name":"edawson/mkmh","owner":"edawson","description":"Generate kmers/minimizers/hashes/MinHash signatures, including with multiple kmer sizes.","archived":false,"fork":false,"pushed_at":"2021-01-09T01:42:34.000Z","size":209,"stargazers_count":24,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T10:38:06.666Z","etag":null,"topics":["kmer","locality-sensitive-hashing","minhash"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edawson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-16T14:32:52.000Z","updated_at":"2024-05-18T05:07:04.000Z","dependencies_parsed_at":"2022-08-14T12:30:45.364Z","dependency_job_id":null,"html_url":"https://github.com/edawson/mkmh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edawson%2Fmkmh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edawson%2Fmkmh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edawson%2Fmkmh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edawson%2Fmkmh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edawson","download_url":"https://codeload.github.com/edawson/mkmh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250704873,"owners_count":21473780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kmer","locality-sensitive-hashing","minhash"],"created_at":"2024-11-10T14:47:13.724Z","updated_at":"2025-04-24T20:32:15.662Z","avatar_url":"https://github.com/edawson.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkmh\nMake kmers, minimizers, hashes, and MinHash sketches (with multiple k), and compare them. \n\n![C/C++ CI for mkmh](https://github.com/edawson/mkmh/workflows/C/C++%20CI/badge.svg)\n\n## Usage\nTo use mkmh functions in your code:  \n1. Include the header file in your code  \n    ```#include \"mkmh.hpp\"```      \n2. Compile the library:  \n    `` cd mkmh \u0026\u0026 make lib``  \n3. Make sure the lib and header are on the LD include/lib paths (e.g. in your makefile):  \n    `` gcc -o my_code my_code.cpp -L/path/to/mkmh -I/path/to/mkmh -lmkmh  \n4. That's it!\n\n## Available functionality\nConvenience functions:  \n    - Reverse complement a string  \n    - Reverse a string  \n    - Capitalize the characters of a string\n    - Check if a string contains only canonical DNA letters (\"A\", \"a\", \"C\", \"c\", \"T\", \"t\", \"G\", \"g\")\n\n\nSubstrings and transforms:  \n    - Get the forward shingles of a string  \n    - Get the kmers size *k* of a string  \n    - For multiple *k*, Get the kmers of a string for all *k*  \n    - Get the (*w*, *k*) minimizers of a string  \n    - Calculate the 64-bit hashes of the kmers of a string (with either single or multiple *k* values)  \n    - Get the MinHash sketch of a string (from either single or multiple *k* values), using either the top *s* hashes or the bottom *s* hashes.  \n\n\nCompare sets of shingles / kmers / minimizers / hashes:  \n    - Take the union of two sets of kmers or hashes.  \n    - Take the intersection of two sets of kmers or hashes.\n\n\nFun extras:  \n    - Given a string and a set of query strings, sort the queries in order\n    of percent similarity.\n\n## Getting help\nPlease reach out through [github](https://github.com/edawson/mkmh) by posting an issue (even if it's just feedback). Email is acceptable as a secondary medium.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedawson%2Fmkmh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedawson%2Fmkmh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedawson%2Fmkmh/lists"}