Changes to be committed:

modified:   Release-notes.md
	modified:   pkg/obialign/pairedendalign.go
	modified:   pkg/obilua/obiseq.go
	modified:   pkg/obioptions/version.go
	modified:   pkg/obiseq/biosequence.go
	modified:   pkg/obitools/obipairing/pairing.go
This commit is contained in:
Eric Coissac
2024-11-27 09:56:22 +01:00
parent 7884a74f9c
commit d29a56dcbf
6 changed files with 78 additions and 29 deletions

View File

@ -12,6 +12,7 @@ package obiseq
import (
"crypto/md5"
"encoding/hex"
"slices"
"sync"
"sync/atomic"
@ -375,6 +376,11 @@ func (s *BioSequence) MD5() [16]byte {
return md5.Sum(s.sequence)
}
func (s *BioSequence) MD5String() string {
md5_hash := s.MD5()
return hex.EncodeToString(md5_hash[:])
}
// SetId sets the id of the BioSequence.
//
// Parameters: