move the worker class to the obiseq package

This commit is contained in:
coissac committed 2023-01-22 22:39:13 +01:00
1 parent f97f92df72
commit 2d375df94f
12 files changed
+153 -43

No files matched your search

+9
View File
@@ -64,3 +64,12 @@ func (sequence *BioSequence) _revcmpMutation() *BioSequence {
return sequence
}
func ReverseComplementWorker(inplace bool) SeqWorker {
f := func(input *BioSequence) *BioSequence {
return input.ReverseComplement(inplace)
}
return f
}