move from position-based to sample-based analysis. speed up treatment of summary files.