mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-11-14 14:23:11 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue