ReadPair* clone() { return new ReadPair(bam_dup(read1), bam_dup(read2), orphanStatus, logProb, libFmt); }
UnpairedRead* clone() { return new UnpairedRead(bam_dup(read), logProb); }