mirror of https://github.com/MillironX/XAM.jl
Merge branch 'hotfix/issue-31'
commit
4490e7c890
@ -0,0 +1,13 @@
|
|||||||
|
@testset "Issues" begin
|
||||||
|
|
||||||
|
# https://github.com/BioJulia/XAM.jl/issues/31
|
||||||
|
path_bam = joinpath(path_of_format("BAM"), "SRR7993829_1.100K.forward.bam")
|
||||||
|
|
||||||
|
open(BAM.Reader, path_bam, index = path_bam * ".bai") do reader
|
||||||
|
|
||||||
|
@test count(overlap -> true, eachoverlap(reader, "JH584304.1", 51000:51200)) == 0
|
||||||
|
@test count(overlap -> true, eachoverlap(reader, "JH584304.1", 51000:51715)) == 1
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in New Issue