From 1b7c7f86d78ef68020810595e273515e018b2273 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 11 Jul 2022 12:51:58 -0500 Subject: [PATCH] Add private reference base getter for Insertion --- src/SequenceVariation.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SequenceVariation.jl b/src/SequenceVariation.jl index 3bb4f73..6ae7b54 100644 --- a/src/SequenceVariation.jl +++ b/src/SequenceVariation.jl @@ -488,6 +488,10 @@ function _altbases(d::Deletion, reference::S, pos::UInt) where S <: BioSequence end end +function _refbases(i::Insertion, reference::S, pos::UInt) where S <: BioSequence + return S([reference[pos]]) +end + export Insertion, Deletion, Substitution,