mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch a bug in obitagpcr
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -118,3 +118,4 @@ doc/book/wolf_data/Release-253/ncbitaxo/readme.txt
|
||||
doc/book/results/toto.tasta
|
||||
sample/.DS_Store
|
||||
GO
|
||||
template.16S
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
// TODO: The version number is extracted from git. This induces that the version
|
||||
// corresponds to the last commit, and not the one when the file will be
|
||||
// commited
|
||||
var _Commit = "fc75974"
|
||||
var _Commit = "4b65bfc"
|
||||
var _Version = "Release 4.3.0"
|
||||
|
||||
// Version returns the version of the obitools package.
|
||||
|
@ -179,6 +179,9 @@ func (s *BioSequence) Copy() *BioSequence {
|
||||
newSeq.sequence = CopySlice(s.sequence)
|
||||
newSeq.qualities = CopySlice(s.qualities)
|
||||
newSeq.feature = CopySlice(s.feature)
|
||||
if s.revcomp != nil {
|
||||
newSeq.revcomp = s.revcomp.Copy()
|
||||
}
|
||||
|
||||
if len(s.annotations) > 0 {
|
||||
s.annot_lock.Lock()
|
||||
|
@ -55,8 +55,7 @@ func (sequence *BioSequence) ReverseComplement(inplace bool) *BioSequence {
|
||||
|
||||
if !inplace {
|
||||
original = sequence
|
||||
sequence.revcomp = sequence.Copy()
|
||||
sequence = sequence.revcomp
|
||||
sequence = sequence.Copy()
|
||||
sequence.revcomp = original
|
||||
}
|
||||
|
||||
|
@ -134,8 +134,6 @@ func IPCRTagPESequencesBatch(iterator obiiter.IBioSequence,
|
||||
banot["experiment"] = experiment
|
||||
|
||||
if CLIReorientate() && direction == "reverse" {
|
||||
B.ReverseComplement(true)
|
||||
A.ReverseComplement(true)
|
||||
B.PairTo(A)
|
||||
batch.Slice()[i] = B
|
||||
}
|
||||
|
Reference in New Issue
Block a user