From c1f47c7b223ff789091b170b4e8ce48e7d69bbb4 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:40 -0500 Subject: [PATCH] Add private alternate base getter for Substitution --- src/SequenceVariation.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SequenceVariation.jl b/src/SequenceVariation.jl index b7d6fb8..785384a 100644 --- a/src/SequenceVariation.jl +++ b/src/SequenceVariation.jl @@ -468,6 +468,10 @@ function _refbases(s::Substitution, reference::S, pos::UInt) where S <: BioSeque return S([reference[pos]]) end +function _altbases(s::Substitution, reference::S, pos::UInt) where S <: BioSequence + return S([s.x]) +end + export Insertion, Deletion, Substitution,