Skip to content

Commit

Permalink
Merge branch 'hotfix/issue-31'
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranOMara committed Aug 15, 2022
2 parents 22667dc + 0cc0405 commit 4490e7c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "XAM"
uuid = "d759349c-bcba-11e9-07c2-5b90f8f05f7c"
authors = ["Kenta Sato <[email protected]>", "Ben J. Ward <[email protected]>", "Ciarán O'Mara <[email protected]>"]
version = "0.2.7"
version = "0.2.8"

[deps]
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"
Expand All @@ -16,10 +16,11 @@ TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"

[compat]
Automa = "0.7, 0.8"
BGZFStreams = "0.3"
BGZFStreams = "0.3.1"
BioAlignments = "2"
BioGenerics = "0.1"
BioSequences = "2.0.4"
FormatSpecimens = "1.1"
GenomicFeatures = "2"
Indexes = "0.1"
TranscodingStreams = "0.6, 0.7, 0.8, 0.9"
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ end

include("test_sam.jl")
include("test_bam.jl")
include("test_issues.jl")
13 changes: 13 additions & 0 deletions test/test_issues.jl
Original file line number Diff line number Diff line change
@@ -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

2 comments on commit 4490e7c

@CiaranOMara
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/66254

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.8 -m "<description of version>" 4490e7c890bb32ba9068c4e06e8a3f731f023454
git push origin v0.2.8

Please sign in to comment.