mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 21:39:55 +00:00
Add private alternate base getter for Substitution
This commit is contained in:
parent
73c2c2764f
commit
c1f47c7b22
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue