Add public alternate base getter for Variation

This commit is contained in:
Thomas A. Christensen II 2022-07-11 12:56:33 -05:00
parent cab314ec0b
commit b8e44c7b81
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -504,6 +504,10 @@ function refbases(v::Variation)
return _refbases(mutation(v), reference(v), leftposition(v)) return _refbases(mutation(v), reference(v), leftposition(v))
end end
function altbases(v::Variation)
return _altbases(mutation(v), reference(v), leftposition(v))
end
export Insertion, export Insertion,
Deletion, Deletion,
Substitution, Substitution,
@ -512,6 +516,7 @@ export Insertion,
reference, reference,
mutation, mutation,
variations, variations,
refbases refbases,
altbases
end # module end # module