bigwigaverageoverbed and the python equivalent give The passed chromosome (X) was incorrect. when a chromosome name was not found. UCSC Kent bigWigAverageOverBed does not do that.
It would be nice if there would atleast be an option to disable this error message and return NaN for those regions.
bigWigs don't store chromosome names in the chromosome tree if there is no entry at all for that chromosome,
even if that chromosome was in the chromosome sizes file that was used to create the bigWig.
This is mostly fixed with v0.5.3 that I just published. However, I'm realizing that size will be printed as 0, not end-start. Just pushed this fix and it'll be in the next release.
bigwigaverageoverbed and the python equivalent give
The passed chromosome (X) was incorrect.
when a chromosome name was not found. UCSC Kent bigWigAverageOverBed does not do that.It would be nice if there would atleast be an option to disable this error message and return NaN for those regions. bigWigs don't store chromosome names in the chromosome tree if there is no entry at all for that chromosome, even if that chromosome was in the chromosome sizes file that was used to create the bigWig.