extracted calculation of gene and exon coverage statistics to shared functions script