mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-21 21:16:05 +00:00
wip: Remove includes from Edit.jl
This commit is contained in:
parent
3b04aabe9c
commit
74363b5505
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,3 @@
|
||||||
include("edits/Substitution.jl")
|
|
||||||
include("edits/Deletion.jl")
|
|
||||||
include("edits/Insertion.jl")
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Edit{S <: BioSequence, T <: BioSymbol}
|
Edit{S <: BioSequence, T <: BioSymbol}
|
||||||
|
|
||||||
|
@ -100,6 +96,7 @@ end
|
||||||
BioGenerics.leftposition(s::SubstitutionEdit) = s.position
|
BioGenerics.leftposition(s::SubstitutionEdit) = s.position
|
||||||
BioGenerics.rightposition(s::SubstitutionEdit) = leftposition(s)
|
BioGenerics.rightposition(s::SubstitutionEdit) = leftposition(s)
|
||||||
_lendiff(s::SubstitutionEdit) = 0
|
_lendiff(s::SubstitutionEdit) = 0
|
||||||
|
_base(s::SubstitutionEdit) = s.base
|
||||||
|
|
||||||
function Base.parse(::Type{T}, s::AbstractString) where {T<:Edit{Se,Sy}} where {Se,Sy}
|
function Base.parse(::Type{T}, s::AbstractString) where {T<:Edit{Se,Sy}} where {Se,Sy}
|
||||||
return parse(T, String(s))
|
return parse(T, String(s))
|
||||||
|
|
Loading…
Reference in a new issue