Add private alternate base getter for Substitution

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

View file

@ -468,6 +468,10 @@ function _refbases(s::Substitution, reference::S, pos::UInt) where S <: BioSeque
return S([reference[pos]]) return S([reference[pos]])
end end
function _altbases(s::Substitution, reference::S, pos::UInt) where S <: BioSequence
return S([s.x])
end
export Insertion, export Insertion,
Deletion, Deletion,
Substitution, Substitution,