mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 21:39:55 +00:00
Add private reference base getter for Insertion
This commit is contained in:
parent
145e9e5f88
commit
1b7c7f86d7
1 changed files with 4 additions and 0 deletions
|
@ -488,6 +488,10 @@ function _altbases(d::Deletion, reference::S, pos::UInt) where S <: BioSequence
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function _refbases(i::Insertion, reference::S, pos::UInt) where S <: BioSequence
|
||||||
|
return S([reference[pos]])
|
||||||
|
end
|
||||||
|
|
||||||
export Insertion,
|
export Insertion,
|
||||||
Deletion,
|
Deletion,
|
||||||
Substitution,
|
Substitution,
|
||||||
|
|
Loading…
Reference in a new issue