mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-11-23 10:19:56 +00:00
Add support for meta-operations to BAM record
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
de252188e8
commit
42b1063f51
1 changed files with 2 additions and 0 deletions
|
@ -447,6 +447,8 @@ function alignment(record::Record)::BioAlignments.Alignment
|
||||||
seqpos += len
|
seqpos += len
|
||||||
elseif BioAlignments.isdeleteop(op)
|
elseif BioAlignments.isdeleteop(op)
|
||||||
refpos += len
|
refpos += len
|
||||||
|
elseif BioAlignments.ismetaop(op)
|
||||||
|
# Prevent error, but don't move ref or seq pos
|
||||||
else
|
else
|
||||||
error("operation $(op) is not supported")
|
error("operation $(op) is not supported")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue