Entering edit mode
Hey guys,
Whenever I try to calculate the coverage for a BAM file with more than
say
500 million reads, I get this error:
Error in coverage(readBamGappedAlignments(x, param = param), shift =
shift, : \n error in evaluating the argument 'x' in selecting a
method
for function 'coverage': Error in value[[3L]](cond) (from #2) : \n
'Realloc' could not re-allocate memory (18446744065128005632 bytes)\n
This looks like integer overflow, possibly within
_grow_SCAN_BAM_DATA().
Could we just use long there?
Michael
[[alternative HTML version deleted]]