MashMap icon indicating copy to clipboard operation
MashMap copied to clipboard

k-mer size

Open TazinRahman1105050 opened this issue 3 years ago • 2 comments

Dear concerned,

What is the largest value of k-mer works for MashMap? According to the help doc, we can use k-mer size up to 16. But I was running mashmap for some other experiments and found that k-mer size 20 also works. Thanks in advance, Tazin

TazinRahman1105050 avatar Jul 26 '22 22:07 TazinRahman1105050

Mashmap uses 32 bit integer to save hashed k-mers. K-mers longer than 16 length will still get mapped to 32 bit space, leading to some degeneracy.

cjain7 avatar Jul 27 '22 06:07 cjain7

Thanks for the clarification

TazinRahman1105050 avatar Jul 27 '22 18:07 TazinRahman1105050

@TazinRahman1105050

A year late here, but I wanted to let you know that k-mers are now mapped to the 64-bit space, so you can have larger k-mer sizes without needing to worry about degeneracy.

bkille avatar Jul 10 '23 18:07 bkille