Big change iin the data model, and a first version of obiuniq

This commit is contained in:
coissac committed 2022-02-21 19:00:23 +01:00
1 parent 9737f97084
commit 2e7c1834b0
43 files changed
+664 -440

No files matched your search

+1 -1
View File
@@ -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)
}