read_until
Version, currently main branch1 version
- main branchlatestJun 19, 2026
github.com/kojix2/read_until
No description declared in shard.yml.
0 stars
0 dependents
License: MPL-2.0
Installation
# Add this to your shard.yml
dependencies:
read_until:
github: kojix2/read_until
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.20.0- License
- MPL-2.0
- Author
- kojix2
Dependencies
Runtime Dependencies
- minknow*github: kojix2/minknow
README
read_until.cr
🕳️⚡ Oxford Nanopore Read Until - for Crystal
Installation
Add the dependency to your shard.yml:
dependencies:
read_until:
github: kojix2/read_until
Run shards install
Usage
require "read_until"
Run example:
crystal run examples/basic.cr
Minimal streaming shape:
client = ReadUntil::Client.new(connection)
client.open(
channels: 1..512,
mode: ReadUntil::StreamMode::OneChunk,
prefilter: ReadUntil::Prefilter.strand_like(:strand, :adapter),
) do |session|
session.each_read(batch_size: 16) do |read|
signal = read.signal(Int16)
if reject?(signal)
session.unblock(read, for: 100.milliseconds)
end
end
end
Development
- Your contributions and feedback are welcome
- This library was generated by an AI agent based on human instructions.
License
This project is distributed under the Mozilla Public License 2.0 (MPL-2.0).
It includes a Crystal port of Oxford Nanopore's Python read_until_api and
inherits the upstream license requirements for derived source files.
- Project license: LICENSE
- Upstream project: https://github.com/nanoporetech/read_until_api
- Upstream license text: https://github.com/nanoporetech/read_until_api/blob/release/LICENSE.md
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Jun 19, 2026
- Crystal
>= 1.20.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kojix2/read_until
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1