Question: Does HTseq remove duplicates marked by Picard tools?
0
gravatar for jollier.liu
3.4 years ago by
United States
jollier.liu0 wrote:

It is not clear to me whether HTseq counts duplicate reads as one read (duplicates marked with Picard-tools). Does anyone have any information on this?

P.S. I am aware of this post How Does Htseq Handle Duplicated Rna-Seq Reads?. The answer seems a bit vague to me though.  

rna-seq htseq • 1.6k views
ADD COMMENTlink modified 3.4 years ago by Ashutosh Pandey11k • written 3.4 years ago by jollier.liu0
2
gravatar for Ashutosh Pandey
3.4 years ago by
Philadelphia
Ashutosh Pandey11k wrote:

Well it is not advisable to remove PCR duplicates in RNAseq analysis. As Devon precisely explained in the post that you have referenced above "Particularly with highly expressed genes, you're quite likely to observe what would otherwise be termed PCR duplicates that aren't actually duplicates". Now coming back to your question, as normally people don't remove PCR duplicates from RNA-seq bam files, HTSeq has not been coded to ignore reads flagged as PCR duplicates by Picard or any other tool. But if you don't want to consider duplicate reads for your analysis you can remove them and feed the non-duplicate reads to HTSeq as shown below:

samtools view -F 1024 input.bam | htseq-count -r 'pos'  -  Reference.gtf > output_counts.txt
ADD COMMENTlink modified 3.4 years ago • written 3.4 years ago by Ashutosh Pandey11k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2115 users visited in the last hour