Add routines to handle paired-end reads