Small bug in sequence counting on merge

This commit is contained in:
2022-05-30 16:28:59 +02:00
parent f14860a486
commit cf5b4baa54
5 changed files with 21 additions and 4 deletions

View File

@ -9,6 +9,9 @@ import (
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiseq"
)
// Runs dereplication algorithm on a obiiter.IBioSequenceBatch
// iterator.
func IUniqueSequence(iterator obiiter.IBioSequenceBatch,
options ...WithOption) (obiiter.IBioSequenceBatch, error) {
@ -62,7 +65,9 @@ func IUniqueSequence(iterator obiiter.IBioSequenceBatch,
return neworder
}
var ff func(obiiter.IBioSequenceBatch, *obiseq.BioSequenceClassifier, int)
var ff func(obiiter.IBioSequenceBatch,
*obiseq.BioSequenceClassifier,
int)
cat := opts.Categories()
na := opts.NAValue()