How to remove reads supporting the same fragment that other reads support
2
0
Entering edit mode
4.7 years ago
jeni ▴ 90

Hi, I am trying to run a variant caller which is raising an Exception error because there are more than two reads in my bam supporting the same fragment. Is there any possibility to find those reads in my bam and remove those fragments which are aligning in the same exact positions?

I have already removed duplicates and the problem persist. I think this is more related to suplementary alignments due to some artifact in my library.

Thanks!

Assembly genome • 808 views
ADD COMMENT
0
Entering edit mode

You could also process your data with clumpify.sh to identify and eliminate sequence duplicates before you align: A: Introducing Clumpify: Create 30% Smaller, Faster Gzipped Fastq Files

ADD REPLY
0
Entering edit mode
ADD COMMENT
0
Entering edit mode

I have already removed duplicates, but I think my library has some artifact and I think this is more related to suplementary alignments

ADD REPLY
0
Entering edit mode
4.7 years ago
MatthewP ★ 1.4k

Hello, you need to mark or remove duplicates, see: https://gatk.broadinstitute.org/hc/en-us/articles/360037225972-MarkDuplicates-Picard-

ADD COMMENT

Login before adding your answer.

Traffic: 1634 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