BigWig::Writer
Streaming bigWig writer. Input must follow chromosome declaration order and have increasing, non-overlapping coordinates. close finalizes indexes and zoom levels; abort discards a path-backed temporary output.
Constructors
Instance methods
Does not finalize. Existing caller-owned IO remains open and may contain incomplete bytes; a path-backed destination is not published.
Add a bedGraph-style interval, using the file's float32 value precision.
Accepts a lazy Enumerable; it is never converted to an array.
fixedStep encoding. Coordinates remain zero-based (unlike WIG text).
variableStep encoding. entries lazily yields {start, value} tuples.
Finalize and publish. Explicit close inside a block commits immediately; a later exception in that user block cannot undo an already committed file.