Now handles paired-end data