Add error handling for ambiguous bases in k-mer encoding

This commit introduces error handling for ambiguous DNA bases (N, R, Y, W, S, K, M, B, D, H, V) in k-mer encoding. It adds new functions IterNormalizedKmersWithErrors and EncodeNormalizedKmersWithErrors that track and encode the number of ambiguous bases in each k-mer using error markers in the top 2 bits. The commit also updates the version string to reflect the latest changes.
This commit is contained in:
Eric Coissac
2026-02-04 21:44:52 +01:00
parent 28162ac36f
commit 60f27c1dc8
3 changed files with 290 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import (
// corresponds to the last commit, and not the one when the file will be
// commited
var _Commit = "52244cd"
var _Commit = "28162ac"
var _Version = "Release 4.4.0"
// Version returns the version of the obitools package.