mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Big change iin the data model, and a first version of obiuniq
This commit is contained in:
1 parent
9737f97084
commit
2e7c1834b0
43 files changed
+664
-440
No files matched your search
@@ -33,7 +33,7 @@ func IsSubCladeOf(taxonomy Taxonomy, taxid int) obiseq.SequencePredicate {
|
||||
log.Fatalf("Cannot find taxon : %d (%v)", taxid, err)
|
||||
}
|
||||
|
||||
f := func(sequence obiseq.BioSequence) bool {
|
||||
f := func(sequence *obiseq.BioSequence) bool {
|
||||
taxon, err := taxonomy.Taxon(sequence.Taxid())
|
||||
return err == nil && taxon.IsSubCladeOf(parent)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user