mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch a bug in the embl reader and adds some doc
Former-commit-id: 9b5f75fb14bcc3043da1647055279987a295d271
This commit is contained in:
@ -99,6 +99,11 @@ func (sequence *BioSequence) _revcmpMutation() *BioSequence {
|
||||
return sequence
|
||||
}
|
||||
|
||||
/**
|
||||
* ReverseComplementWorker is a function that returns a SeqWorker which performs reverse complement operation on given BioSequence.
|
||||
* @param inplace {bool}: If true, changes will be made to original sequence object else new sequence object will be created. Default value is false.
|
||||
* @returns {SeqWorker} A function that accepts *BioSequence and returns its reversed-complement form.
|
||||
*/
|
||||
func ReverseComplementWorker(inplace bool) SeqWorker {
|
||||
f := func(input *BioSequence) *BioSequence {
|
||||
return input.ReverseComplement(inplace)
|
||||
|
Reference in New Issue
Block a user