mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-06-24 09:41:00 +00:00
Patch a bug in obitag when a taxon from the reference library is unknown in the taxonomy
This commit is contained in:
@@ -257,8 +257,8 @@ func CLIAssignTaxonomy(iterator obiiter.IBioSequence,
|
||||
references[j] = seq
|
||||
refcounts[j] = obikmer.Count4Mer(seq, &buffer, nil)
|
||||
taxon := seq.Taxon(taxo)
|
||||
taxa.Set(j, taxon)
|
||||
if taxon != nil {
|
||||
taxa.Set(j, taxon)
|
||||
j++
|
||||
} else {
|
||||
obilog.Warnf("Taxid %s is not described in the taxonomy %s."+
|
||||
|
||||
Reference in New Issue
Block a user