Add docstring for lendiff(::Edit)

This commit is contained in:
Thomas A. Christensen II 2023-01-03 20:03:37 -06:00
parent 82ba838614
commit f1baf27865

View file

@ -62,6 +62,11 @@ function BioGenerics.rightposition(e::Edit)
end end
end end
"""
_lendiff(edit::Edit)
Gets the number of bases that `edit` adds to the reference sequence
"""
function _lendiff(edit::Edit) function _lendiff(edit::Edit)
x = _mutation(edit) x = _mutation(edit)
# Each edit type has logic for its length, we just need to know what direction to go # Each edit type has logic for its length, we just need to know what direction to go