mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-03-25 13:30:52 +00:00
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.
21 lines
491 B
Go
21 lines
491 B
Go
package obioptions
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// TODO: The version number is extracted from git. This induces that the version
|
|
// corresponds to the last commit, and not the one when the file will be
|
|
// commited
|
|
|
|
var _Commit = "28162ac"
|
|
var _Version = "Release 4.4.0"
|
|
|
|
// Version returns the version of the obitools package.
|
|
//
|
|
// No parameters.
|
|
// Returns a string representing the version of the obitools package.
|
|
func VersionString() string {
|
|
return fmt.Sprintf("%s (%s)", _Version, _Commit)
|
|
}
|