mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-11-23 10:19:56 +00:00
Use accessor functions
This commit is contained in:
parent
b0069d6f27
commit
e8ad60b086
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function Base.eltype(::Type{OverlapIterator{T}}) where T
|
||||||
end
|
end
|
||||||
|
|
||||||
function GenomicFeatures.eachoverlap(reader::Reader, interval::Interval)
|
function GenomicFeatures.eachoverlap(reader::Reader, interval::Interval)
|
||||||
return GenomicFeatures.eachoverlap(reader, interval.seqname, interval.first:interval.last)
|
return GenomicFeatures.eachoverlap(reader, GenomicFeatures.seqname(interval), GenomicFeatures.leftposition(interval):GenomicFeatures.rightposition(interval))
|
||||||
end
|
end
|
||||||
|
|
||||||
function GenomicFeatures.eachoverlap(reader::Reader, interval)
|
function GenomicFeatures.eachoverlap(reader::Reader, interval)
|
||||||
|
|
Loading…
Reference in a new issue