Add private reference base getter for Insertion

This commit is contained in:
Thomas A. Christensen II 2022-07-11 12:51:58 -05:00
parent 145e9e5f88
commit 1b7c7f86d7
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -488,6 +488,10 @@ function _altbases(d::Deletion, reference::S, pos::UInt) where S <: BioSequence
end
end
function _refbases(i::Insertion, reference::S, pos::UInt) where S <: BioSequence
return S([reference[pos]])
end
export Insertion,
Deletion,
Substitution,