mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Several bug in annotation management
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user