mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
move the worker class to the obiseq package
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user