mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Several bug in annotation management
This commit is contained in:
1 parent
aae3398701
commit
f8df48338d
9 files changed
+124
-13
No files matched your search
@@ -53,6 +53,7 @@ func (library *NGSLibrary) Match(sequence *obiseq.BioSequence) *DemultiplexMatch
|
||||
|
||||
func (library *NGSLibrary) ExtractBarcode(sequence *obiseq.BioSequence, inplace bool) (*obiseq.BioSequence, error) {
|
||||
match := library.Match(sequence)
|
||||
|
||||
return match.ExtractBarcode(sequence, inplace)
|
||||
}
|
||||
|
||||
@@ -245,6 +246,7 @@ func (match *DemultiplexMatch) ExtractBarcode(sequence *obiseq.BioSequence, inpl
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if !match.IsDirect {
|
||||
sequence.ReverseComplement(true)
|
||||
}
|
||||
|
||||
@@ -182,5 +182,3 @@ func ExtractBarcodeSliceWorker(ngslibrary NGSLibrary,
|
||||
|
||||
return worker
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user