bcgsc / btllib

Bioinformatics Technology Lab common code library
Other
21 stars 5 forks source link

Quick switch between ntHash and aaHash #41

Closed parham-k closed 2 years ago

parham-k commented 2 years ago

Fundamentally, ntHash and aaHash are the same algorithm with different alphabets. We can separate the seed tables from the functional code and, say for aaHash, reuse the functions by including the hpp file containing the functions in aaHash.hpp.