Add private reference base getter for Substitution

This commit is contained in:
Thomas A. Christensen II 2022-07-11 12:50:20 -05:00
parent a80ff869ce
commit 73c2c2764f
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -464,6 +464,10 @@ function variations(v::Variant)
return vs return vs
end end
function _refbases(s::Substitution, reference::S, pos::UInt) where S <: BioSequence
return S([reference[pos]])
end
export Insertion, export Insertion,
Deletion, Deletion,
Substitution, Substitution,