Add the --taxonomic-path option to obiannotate

Former-commit-id: 385309a1c4bc5ed33aeaafc63eedb9fc552f78a6
This commit is contained in:
2024-02-27 20:10:26 +01:00
parent 4127ddb26f
commit 4a0b20484f
5 changed files with 72 additions and 0 deletions

View File

@ -51,3 +51,14 @@ func (taxonomy *Taxonomy) MakeSetFamilyWorker() obiseq.SeqWorker {
return w
}
func (taxonomy *Taxonomy) MakeSetPathWorker() obiseq.SeqWorker {
w := func(s *obiseq.BioSequence) *obiseq.BioSequence {
taxonomy.SetPath(s)
return s
}
return w
}