Open berntpopp opened 2 months ago
In the BAI format, each bin may span 229, 226, 223, 220, 217 or 214 bp. Bin 0 spans a 512Mbp region, bins 1–8 span 64Mbp, 9–72 8Mbp, 73–584 1Mbp, 585–4680 128kbp, and bins 4681–37448 span 16kbp regions. This implies that this index format does not support reference chromosome sequences longer than 229 − 1.
I tested with regions on chr1, chr2 and chr4. Will check you pr, can we create some test data ?
chromosomes 1-3 have a difefrent block structure I think and thus break the code: