added n50 and total bases functionality