mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Big change iin the data model, and a first version of obiuniq
This commit is contained in:
@ -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