iqbal-lab-org / gramtools

Genome inference from a population reference graph
MIT License
92 stars 15 forks source link

Kmer indexing code refactoring #138

Closed bricoletc closed 5 years ago

bricoletc commented 5 years ago

The build.cpp file which computes search states for kmers (indexing) had code redundancy and hard to follow variable names. The changes are variable renamings and a collapsing of two functions (initial_kmer_index_cache and update_kmer_index_cache) into a single one: build_kmer_cache

All unit tests pass.