Open BAM input.
The struct is opaque. source and state implement BAM.Source. gate
is shared by every copy of the handle so BAM.close/1 and a stream that
stops early release the same file.
Summary
Types
@type t() :: %BAM.Handle{ gate: pid(), limits: BAM.Limits.t(), mode: :strict | :permissive, origin: Path.t() | :memory, source: module(), state: term() }