module

BigWig

Native Crystal bigWig/bigBed I/O, independent of libBigWig.

Constants

VERSION = {{ (`shards version /tmp/tmp.bhFDHI/src/src/bigwig`).chomp.stringify }}

Class methods

create(path : String | Path, chromosomes, *, options : WriteOptions = WriteOptions.new) : Writer

Path outputs are staged in the destination directory and published only after successful finalization. Existing outputs are preserved by default.

Source
create(io : IO, chromosomes, *, sync_close : Bool = false, options : WriteOptions = WriteOptions.new) : Writer
Source
create(output, chromosomes, **options, &)
Source
open(path : String | Path, *, options : ReadOptions = ReadOptions.new, headers : HTTP::Headers = HTTP::Headers.new) : Reader

The library owns files and HTTP connections opened from a path/URL.

Source
open(io : IO, *, sync_close : Bool = false, options : ReadOptions = ReadOptions.new) : Reader

Only seekable IO is accepted. It is not silently copied into memory. Caller-provided IO, including File, is read under a lock with its position restored.

Source
open(input, **options, &)

Like File.open, the block overload returns the value of the block.

Source

Nested types