mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
A global version of a Slice pool
This commit is contained in:
1 parent
e1b7e1761c
commit
576a9f4d2d
11 files changed
+227
-149
No files matched your search
@@ -11,7 +11,7 @@ func (sequence BioSequence) ReverseComplement(inplace bool) BioSequence {
|
||||
sequence = sequence.Copy()
|
||||
}
|
||||
|
||||
s := sequence.sequence.sequence.Bytes()
|
||||
s := sequence.sequence.sequence
|
||||
|
||||
for i, j := sequence.Length()-1, 0; i >= j; i-- {
|
||||
|
||||
@@ -20,7 +20,5 @@ func (sequence BioSequence) ReverseComplement(inplace bool) BioSequence {
|
||||
j++
|
||||
}
|
||||
|
||||
sequence.sequence.id.WriteString("_revcomp")
|
||||
|
||||
return sequence
|
||||
}
|
||||
Reference in new issue
Block a user