mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-12-23 13:28:16 +00:00
🐛 Fix SAM.alignlength(record::Record)::Int (#37)
Fixes issue #37 by re-initializing `len` in `SAM.alignlength`.
This commit is contained in:
parent
6f03bef623
commit
8d14563f9d
1 changed files with 1 additions and 1 deletions
|
@ -327,8 +327,8 @@ function alignlength(record::Record)::Int
|
|||
op = convert(BioAlignments.Operation, Char(c))
|
||||
if BioAlignments.ismatchop(op) || BioAlignments.isdeleteop(op)
|
||||
ret += len
|
||||
len = 0
|
||||
end
|
||||
len = 0
|
||||
end
|
||||
end
|
||||
return ret
|
||||
|
|
Loading…
Reference in a new issue