waveygang / wfmash

base-accurate DNA sequence alignments using WFA and mashmap3
MIT License
174 stars 18 forks source link

Average kmer complexities over chain in mergeMappingsInRange #214

Closed bkille closed 10 months ago

bkille commented 10 months ago

Kmer complexities were only averaged for the mergeMappings function, not the mergeMappingsInRange function. This bug doesn't impact any of the alignments, as the kmer-complexity filter is applied to segments before they are chained, but the reported kc tag is incorrect for chains.