mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-12-23 13:28:16 +00:00
11 lines
396 B
Julia
11 lines
396 B
Julia
|
@testset "Issues" begin
|
||
|
# https://github.com/BioJulia/XAM.jl/issues/31
|
||
|
path_bam = joinpath(@__DIR__, "data", "SRR7993829_1.100K.forward.bam")
|
||
|
open(BAM.Reader, path_bam, index = path_bam * ".bai") do reader
|
||
|
|
||
|
@test count((r)-> true, eachoverlap(reader, "JH584304.1", 51000:51200)) == 0
|
||
|
@test count((r)-> true, eachoverlap(reader, "JH584304.1", 51000:51715)) == 1
|
||
|
|
||
|
end
|
||
|
end
|