mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 05:19:55 +00:00
Add docstring for mutation(::Edit)
This commit is contained in:
parent
1f2b116518
commit
82ba838614
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ function Base.parse(::Type{<:Edit{Se,Sy}}, s::Union{String,SubString{String}}) w
|
|||
end
|
||||
end
|
||||
|
||||
"""
|
||||
_mutation(e::Edit)
|
||||
|
||||
Returns the underlying [`Substitution`](@ref), [`Insertion`](@ref), or [`Deletion`](@ref) of
|
||||
`e`.
|
||||
"""
|
||||
_mutation(e::Edit) = e.x
|
||||
BioGenerics.leftposition(e::Edit) = e.pos
|
||||
function BioGenerics.rightposition(e::Edit)
|
||||
|
|
Loading…
Reference in a new issue