bwa: RNAME of chimeric reads in sam file
1
0
Entering edit mode
8.3 years ago
VHahaut ★ 1.2k

Hello!

I am currently aligning some sequences that contain numerous chimeric reads using bwa (paired-ends). Usually, first third of the R1 is on Chr1 and the rest on Chr18, the R2 is fully mapped to Chr18.

I was wondering how bwa was aligning those reads. If we look at the sam file produced after alignment, what will be the RNAME of the read R1 (chr1 or chr18)? And how is it decided?

Thanks in advance!

bwa • 2.4k views
ADD COMMENT
1
Entering edit mode
8.3 years ago

BWA should create multiple SAM records for the same Read. A first SAM record will be mapped on chr1 and will contains a 'SA:X' attribute containing the alternate alignments, the cigar string will be soft-clipped. The other reads will be the instances of the 'SA:X' tag above = the other alignements, and they will be flagged as 'supplementary alignement'.

ADD COMMENT
0
Entering edit mode

Thanks! Indeed after looking for the duplicated read names I found them.

ADD REPLY

Login before adding your answer.

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