mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Introduce sequence roles and filtering logic
Implement new data structures for corpus management, multi-match filtering, and barcode resolution.
This commit is contained in:
1 parent
d7d63f315c
commit
d6dd39f878
22 files changed
+1083
-342
No files matched your search
@@ -58,9 +58,10 @@ func (c *Corpus) AssignTaxa(taxonomy *obitax.Taxonomy, rank string) (*Taxa, erro
|
||||
t.nodes = append(t.nodes, taxon)
|
||||
}
|
||||
t.Of[i] = id
|
||||
if c.Roles[i] == Example {
|
||||
switch c.Roles[i] {
|
||||
case Example:
|
||||
exSeen[id] = struct{}{}
|
||||
} else {
|
||||
case CounterExample:
|
||||
coSeen[id] = struct{}{}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user