A node within an R-tree holding the index for data.
Definition: bwValues.h:20
void bwDestroyIndex(bwRTree_t *idx)
Frees space allocated by bwReadIndex There is generally little reason to use this,...
Definition: bwValues.c:784
int bwSetPos(bigWigFile_t *fp, size_t pos)
Like fsetpos, but for local or remote bigWig files. This will set the file position indicator to the ...
Definition: bwRead.c:19
Definition: bwValues.h:39
bwRTree_t * bwReadIndex(bigWigFile_t *fp, uint64_t offset)
Reads a data index (either full data or a zoom level) from a bigWig file. There is little reason for ...
Definition: bwValues.c:791
This structure holds the data blocks that overlap a given interval.
Definition: bwValues.h:56
void bwDestroyIndexNode(bwRTreeNode_t *node)
Destroy an bwRTreeNode_t and all of its children.
Definition: bwValues.c:763
long bwTell(bigWigFile_t *fp)
Determine what the file position indicator say. This is equivalent to ftell for local or remote files...
Definition: bwRead.c:11
size_t bwRead(void *data, size_t sz, size_t nmemb, bigWigFile_t *fp)
A local/remote version of fread. Reads data from either local or remote bigWig files.
Definition: bwRead.c:26
int bwFinalize(bigWigFile_t *fp)
Finishes what's needed to write a bigWigFile Flushes the buffer, converts the index linked list to a ...
Definition: bwWrite.c:1229
A structure that holds everything needed to access a bigWig file.
Definition: bigWig.h:210