Skip to content

Update BGZFLib requirement from 0.1.3 to 0.1.3, 0.2 in /mimick/MimickLinkedReads.jl - #17

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/mimick/MimickLinkedReads.jl/BGZFLib-0.1.3-and-0.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/mimick/MimickLinkedReads.jl/BGZFLib-0.1.3-and-0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on BGZFLib to permit the latest version.

Release notes

Sourced from BGZFLib's releases.

v0.2.0

Breaking changes

  • seek now only takes a VirtualOffset. The Int method (an offset in the compressed stream, inconsistent with BufferIO's seek) and virtual_seek are removed. seekstart is still supported.
  • Rename SyncBGZFWriter keyword compresslevel to compress_level, matching BGZFWriter.
  • Rename BGZFErrors.unsorted_index to invalid_index, since it is thrown for all invalid indices.
  • index_bgzf creates the same index as bgzip --reindex: Empty blocks are not indexed, and the first block is always (0, 0).

New features

  • Add is_data_error to distinguish errors caused by malformed data from misuse of readers and writers.
  • VirtualOffset defines isless, so sort, min and max work.
  • The package is compatible with trimming (juliac --trim).

Bugfixes

GZI index:

  • Read and write GZI files in the htslib format, where the first block at (0, 0) is implicit. GZI files written by older versions of BGZFLib still load.
  • load_gzi converts offsets from little-endian, and write_gzi works on big-endian CPUs.
  • Disallow empty GZIndex. index_bgzf of an empty file returns a one-block index.
  • GZIndex no longer requires consecutive indexed blocks to be at most 2^16 bytes apart in the compressed stream, since empty blocks between them are not indexed.

Readers:

  • virtual_position is now correct at EOF, directly after seek, and on empty input. At EOF, it points to the final empty block, or to the end of the stream.
  • Seeking with an out-of-bounds block offset puts the reader in the error state.
  • Truncated or non-BGZF input gives more accurate errors, depending on where the data is cut off.
  • SyncBGZFReader: close in the error state now closes the underlying IO.
  • BGZFReader: eof is correct when only empty blocks remain.
  • BGZFReader: Using the reader after closing it partway through a block no longer throws a bounds error.

Writers:

  • close is idempotent, and closes the underlying IO even if flushing fails.
  • Writing after close throws.
  • The do-block form only writes the EOF block if the function succeeds.
  • BGZFWriter enters an error state if writing to the underlying IO fails, instead of silently continuing to write a corrupt file.
  • BGZFWriter: shallow_flush returns the number of uncompressed bytes flushed.
  • VirtualOffset: negative offsets throw ArgumentError, like other out-of-bounds construction.

Other

  • Performance improvements for BGZFReader: Lower latency for the first block, and faster seeking. SyncBGZFReader does not re-decompress when seeking within the

... (truncated)

Changelog

Sourced from BGZFLib's changelog.

0.2.0

Breaking changes

  • seek now only takes a VirtualOffset. The Int method (an offset in the compressed stream, inconsistent with BufferIO's seek) and virtual_seek are removed. seekstart is still supported.
  • Rename SyncBGZFWriter keyword compresslevel to compress_level, matching BGZFWriter.
  • Rename BGZFErrors.unsorted_index to invalid_index, since it is thrown for all invalid indices.
  • index_bgzf creates the same index as bgzip --reindex: Empty blocks are not indexed, and the first block is always (0, 0).

New features

  • Add is_data_error to distinguish errors caused by malformed data from misuse of readers and writers.
  • VirtualOffset defines isless, so sort, min and max work.
  • The package is compatible with trimming (juliac --trim).

Bugfixes

GZI index:

  • Read and write GZI files in the htslib format, where the first block at (0, 0) is implicit. GZI files written by older versions of BGZFLib still load.
  • load_gzi converts offsets from little-endian, and write_gzi works on big-endian CPUs.
  • Disallow empty GZIndex. index_bgzf of an empty file returns a one-block index.
  • GZIndex no longer requires consecutive indexed blocks to be at most 2^16 bytes apart in the compressed stream, since empty blocks between them are not indexed.

Readers:

  • virtual_position is now correct at EOF, directly after seek, and on empty input. At EOF, it points to the final empty block, or to the end of the stream.
  • Seeking with an out-of-bounds block offset puts the reader in the error state.
  • Truncated or non-BGZF input gives more accurate errors, depending on where the data is cut off.
  • SyncBGZFReader: close in the error state now closes the underlying IO.
  • BGZFReader: eof is correct when only empty blocks remain.
  • BGZFReader: Using the reader after closing it partway through a block no longer throws a bounds error.

Writers:

  • close is idempotent, and closes the underlying IO even if flushing fails.
  • Writing after close throws.
  • The do-block form only writes the EOF block if the function succeeds.
  • BGZFWriter enters an error state if writing to the underlying IO fails, instead of silently continuing to write a corrupt file.
  • BGZFWriter: shallow_flush returns the number of uncompressed bytes flushed.
  • VirtualOffset: negative offsets throw ArgumentError, like other out-of-bounds construction.

Other

  • Performance improvements for BGZFReader: Lower latency for the first block, and faster seeking. SyncBGZFReader does not re-decompress when seeking within the

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [BGZFLib](https://github.com/BioJulia/BGZFLib.jl) to permit the latest version.
- [Release notes](https://github.com/BioJulia/BGZFLib.jl/releases)
- [Changelog](https://github.com/BioJulia/BGZFLib.jl/blob/master/CHANGELOG.md)
- [Commits](BioJulia/BGZFLib.jl@v0.1.3...v0.2.0)

---
updated-dependencies:
- dependency-name: BGZFLib
  dependency-version: 0.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Nov 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants