mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch a bug in the subseq and revcomplement methods. That patchs the bug in the option -c of obipcr
Former-commit-id: 7999b917d07545271036af6e66f53aea27fc6e7b
This commit is contained in:
@ -333,6 +333,9 @@ func _Pcr(seq ApatSequence,
|
||||
|
||||
annot["reverse_primer"] = reverse.String()
|
||||
match, _ = seq.pointer.reference.Subsequence(rm[0], rm[1], opt.pointer.circular)
|
||||
if match == nil {
|
||||
log.Fatalf("error in extracting sequence from reference: %d:%d (%v)\n", rm[0], rm[1], opt.pointer.circular)
|
||||
}
|
||||
match = match.ReverseComplement(true)
|
||||
annot["reverse_match"] = match.String()
|
||||
match.Recycle()
|
||||
|
Reference in New Issue
Block a user