From 42b1063f51a4780de6ecfdcd4980da1a1e50394d Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 27 Jan 2022 11:15:48 -0600 Subject: [PATCH] Add support for meta-operations to BAM record Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- src/bam/record.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bam/record.jl b/src/bam/record.jl index b861d1f..ee01990 100644 --- a/src/bam/record.jl +++ b/src/bam/record.jl @@ -447,6 +447,8 @@ function alignment(record::Record)::BioAlignments.Alignment seqpos += len elseif BioAlignments.isdeleteop(op) refpos += len + elseif BioAlignments.ismetaop(op) + # Prevent error, but don't move ref or seq pos else error("operation $(op) is not supported") end