I have per base read depths for a bunch of exons with different lengths. I want to plot the read depth for these exons in the same graph. Can someone please tell me how to divide the read depth values into 100 bins for every exon. So I can have an x axis from 0 to 100. I want to see coverage across exons. My problem is the exons are different length from 35bases to 4000bases. I have read depth for each base (most are zero).
Thank you in advance