added reads_total and bases_total to stats output