script for calculating the distribution of lengths for different coverage values