mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 21:39:55 +00:00
Add public reference base getter for Variation
This commit is contained in:
parent
ccbe6eed62
commit
cab314ec0b
1 changed files with 6 additions and 1 deletions
|
@ -500,6 +500,10 @@ function _altbases(i::Insertion, reference::S, pos::UInt) where S <: BioSequence
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function refbases(v::Variation)
|
||||||
|
return _refbases(mutation(v), reference(v), leftposition(v))
|
||||||
|
end
|
||||||
|
|
||||||
export Insertion,
|
export Insertion,
|
||||||
Deletion,
|
Deletion,
|
||||||
Substitution,
|
Substitution,
|
||||||
|
@ -507,6 +511,7 @@ export Insertion,
|
||||||
Variation,
|
Variation,
|
||||||
reference,
|
reference,
|
||||||
mutation,
|
mutation,
|
||||||
variations
|
variations,
|
||||||
|
refbases
|
||||||
|
|
||||||
end # module
|
end # module
|
||||||
|
|
Loading…
Reference in a new issue