mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-25 14:49:55 +00:00
Add private reference base getter for Substitution
This commit is contained in:
parent
a80ff869ce
commit
73c2c2764f
1 changed files with 4 additions and 0 deletions
|
@ -464,6 +464,10 @@ function variations(v::Variant)
|
|||
return vs
|
||||
end
|
||||
|
||||
function _refbases(s::Substitution, reference::S, pos::UInt) where S <: BioSequence
|
||||
return S([reference[pos]])
|
||||
end
|
||||
|
||||
export Insertion,
|
||||
Deletion,
|
||||
Substitution,
|
||||
|
|
Loading…
Reference in a new issue