error handling pileup reads in calc_coverage