Filter PCR-duplicates from BAM file using internal UMIs

filterDups(bamFile, outFile, keepPairs)

Arguments

bamFile

character. Input BAM file

outFile

character. Output (filtered) BAM file

keepPairs

logical. Keep R2 read?

Value

Filtered BAM file, after PCR duplicate removal