Quality-control analysis of next-generation sequencing data