This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bam output of deduplication using UMItools

I have paired RNA-seq data with high duplication rate. My reads contain UMI so after aligning with STAR, I run umitools dedup with --paired option. I would expect that the output bam file would have an equal number of read1 and read2 (output of samtools flagstat).

I'm a bit confused with the results as the number of read1 and read2 are equal before using umitools but after that they are different. Could anyone please clarify this to me?

Thank you in advance!

flagstat samtools rna-seq umitools bam dedup

You should not be de-duplicating RNAseq data unless you have UMI's. It is not clear if you actually have UMI's in your reads even though you have referred to umitools. You don't use umitools only after aligning with STAR.

The question is adjusted. What do you mean? The reads need to be aligned first for the deduplication using UMItools!

0 answers

No answers yet.

Log in to answer this question.