libBigWig
|
libBigWig is a C library for parsing local/remote bigWig files. This is similar to Kent's library from UCSC, except
exit()
on error, thereby killing the calling application.External files are accessed using curl.
Please submit issues and pull requests here.
Assuming you already have the curl libraries installed (not just the curl binary!):
make install prefix=/some/path
There are three methods for storing values in a bigWig file, further described in the wiggle format. The entries within the file are grouped into "blocks" and each such block is limited to storing entries of a single type. So, it is unwise to use a single bedGraph-like endtry followed by a single fixed-step entry followed by a variable-step entry, as that would require three separate blocks, with additional space required for each.
Please see README.md and the files under test/
for examples.