From 73c2c2764f520e8e2b963bfae6b6371fd1c2c0fe Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 11 Jul 2022 12:50:20 -0500 Subject: [PATCH] Add private reference base getter for Substitution --- src/SequenceVariation.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SequenceVariation.jl b/src/SequenceVariation.jl index aeae059..b7d6fb8 100644 --- a/src/SequenceVariation.jl +++ b/src/SequenceVariation.jl @@ -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,