finished the first version of averageQualityPerSeq and baseQualityPerPos