mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 05:19: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
|
||||
|
||||
function refbases(v::Variation)
|
||||
return _refbases(mutation(v), reference(v), leftposition(v))
|
||||
end
|
||||
|
||||
export Insertion,
|
||||
Deletion,
|
||||
Substitution,
|
||||
|
@ -507,6 +511,7 @@ export Insertion,
|
|||
Variation,
|
||||
reference,
|
||||
mutation,
|
||||
variations
|
||||
variations,
|
||||
refbases
|
||||
|
||||
end # module
|
||||
|
|
Loading…
Reference in a new issue