TravisWheelerLab / AvxWindowFmIndex

A fast, AVX2 and ARM Neon accelerated FM index library
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Fix remaining issues with queries longer than 255 #44

Closed Sawwave closed 2 months ago

Sawwave commented 2 months ago

This PR is a companion to the previous one. There were still a few places in the codebase where kmer length or position were being considered either uint8_t's or uint16_t's. This change makes all kmer length and position variables type size_t. Kmers of all lengths should now be supported.

Additionally, the argument for number of threads has now been updated to uint32_t, allowing for more than 255 threads.

Sawwave commented 2 months ago

This merge fixes issue #43 (and by association further addresses #41 )