Filtering Pcr Duplicates In Mpileup
1
3
Entering edit mode
12.8 years ago
Les Ander ▴ 110

Hi, I'm using samtools 0.1.17. While there is an option to filter out duplicates using samtools view, I don't see an option in mpileup to do this. Does anyone know how I can get mpileup to ignore PCR duplicates (flag 0x400) thanks Les

mpileup pcr duplicates samtools • 3.7k views
ADD COMMENT
5
Entering edit mode
12.8 years ago
Zhidkov ▴ 600

Hi, mpileup parses BAM file, before you running "samtools mpileup", sort your file "samtools sort", then remove PCR duplicates "samtools rmdup", then run the mpileup. Ilia

ADD COMMENT
0
Entering edit mode

Hi zhidkov, Thanks for the response. I can certainly create a bam file without the pcr duplicates (using samtools view -F 0x400) --but that would waste space. I was looking for a way to do this in mpileup without having to create a new bam file. thanks

ADD REPLY

Login before adding your answer.

Traffic: 3785 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6