If detected that the product of the sizes of df and gr_bam are over 2^31, will subset them both to avoid the overflow error. Will cause in a few lost edgecases near where the divisions are though. Now works on the cases where it failed due to this error.
If detected that the product of the sizes of df and gr_bam are over 2^31, will subset them both to avoid the overflow error. Will cause in a few lost edgecases near where the divisions are though. Now works on the cases where it failed due to this error.