diff --git a/src/SequenceVariation.jl b/src/SequenceVariation.jl index a5b256c..c00d210 100644 --- a/src/SequenceVariation.jl +++ b/src/SequenceVariation.jl @@ -356,6 +356,7 @@ reference(v::Variation) = v.reference edit(v::Variation) = v.edit mutation(v::Variation) = mutation(edit(v)) BioGenerics.leftposition(v::Variation) = leftposition(edit(v)) +Base.:(==)(x::Variation, y::Variation) = x.ref == y.ref && x.edit == y.edit function is_valid(v::Variation) isempty(v.ref) && return false