add RP output file and improve on read-pair approach