libBigWig
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
libBigWig

Introduction

libBigWig is a C library for parsing local/remote bigWig files. This is similar to Kent's library from UCSC, except

External files are accessed using curl.

Please submit issues and pull requests here.

Compilation

Assuming you already have the curl libraries installed (not just the curl binary!):

make install prefix=/some/path

bigWig files

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.

Examples

Please see README.md and the files under test/ for examples.