diff --git a/src/SequenceVariation.jl b/src/SequenceVariation.jl index 902e63f..e8399a1 100644 --- a/src/SequenceVariation.jl +++ b/src/SequenceVariation.jl @@ -133,6 +133,9 @@ function Base.parse(::Type{<:Edit{Se, Sy}}, s::Union{String, SubString{String}}) end end +mutation(e::Edit) = e.x +BioGenerics.leftposition(e::Edit) = e.pos + #= @noinline throw_parse_error(T, p::Integer) = error("Failed to parse $T at byte $p")