diff --git a/src/sam/record.jl b/src/sam/record.jl index 407fe2f..6d4b149 100644 --- a/src/sam/record.jl +++ b/src/sam/record.jl @@ -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