Can I Merge The Good Quality (Unpaired Pe ) Bam File And Paired Pe Bam File With Samtools?
1
0
Entering edit mode
10.3 years ago
waswangs • 0

Hi there, I filtered my PE reads based on strict parameters, but now i want to make good use of the good quality (unpaired PE) reads. What i should do? the unpaired PE and paired PE have been mapped to the reference genome and been converted to BAM files. Can i merge them by samtools? Thanks

samtools bam illumina • 3.9k views
ADD COMMENT
0
Entering edit mode

You can do whatever you want. Whether you should or not is dependent upon what you need to do with the data downstream.

ADD REPLY
0
Entering edit mode

I am just adding to what dpryan79 said. It really depends on what you want to do with your bam file. For most of the downstream analysis including callings SNPs and small Indels, you can use read which itself is mapped with high mapping quality (or uniquely mapped) but its pair couldn't be mapped because of some reason. Its important to include such reads in case your objective is to call for structural variants. Some SV callers make use of unmapped read of the read pair where other read is mapped to identify deleted regions.

ADD REPLY
0
Entering edit mode
10.3 years ago
Pavel Senin ★ 1.9k

I think that it is safe to merge paired and unpaired alignments. According to SAM flags, reads can be paired and unpaired.

ADD COMMENT

Login before adding your answer.

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