From b8e44c7b815f2021fddc022822737f02a46503e3 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 11 Jul 2022 12:56:33 -0500 Subject: [PATCH] Add public alternate base getter for Variation --- src/SequenceVariation.jl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/SequenceVariation.jl b/src/SequenceVariation.jl index ca5b1f9..0237a15 100644 --- a/src/SequenceVariation.jl +++ b/src/SequenceVariation.jl @@ -504,6 +504,10 @@ function refbases(v::Variation) return _refbases(mutation(v), reference(v), leftposition(v)) end +function altbases(v::Variation) + return _altbases(mutation(v), reference(v), leftposition(v)) +end + export Insertion, Deletion, Substitution, @@ -512,6 +516,7 @@ export Insertion, reference, mutation, variations, - refbases + refbases, + altbases end # module