Closed dkoes closed 3 years ago
@dkoes Sorry for the delay, I'll take a look at this now.
Indeed, I hadn't thought about a bigWig with the summary being incorrect but the remainder being valid. I'll need to come up with a way to handle this that won't result in any change in handling actually empty files. Do you happen to know how that file was generated?
Unfortunately, I don't know anything about these files - they are a little old but were supplementary information to a paper we were looking at. Thanks for the quick fix!
This should now be fixed in version 0.3.18. Thanks for bringing this to my attention!
I am trying to read this 596M file: https://noble.gs.washington.edu/proj/segway/2011/bigWig/GATA1.K562.rawSignal.hg18.bw The header is not filled out and starting with 0.3.5 this makes the values inaccessible.
Output:
I suspect the issues is in commit 3b9b9a0da39b1bee1532c70094e0f1537dbfafd2 at line 376 of libBigWig/bwRead.c