sam flag from paired end reads
2
0
Entering edit mode
8.1 years ago
Varun Gupta ★ 1.3k

HI Everyone, This might be a simple question but I am not able to understand it. For paired end reads I see 83,163 and 99,147 as the sam flags.

Looking at the description from here about sam flags When I put it as 83 I get first in pair and when i put it as 147 I get second in pair although in both the cases the read maps to reverse strand.

What do we mean by first in pair and second in pair?

Thanks

bam • 4.5k views
ADD COMMENT
1
Entering edit mode
8.1 years ago

in paired end experiment, the sequencer produces two files. Something like sample.R1.fastq.gz and sample.R2.fastq.gz which are the reads on 5' and 3' of the sequenced fragment. They both contain the same number of reads.

First in pair means that the read comes from sample.R1.fastq.gz Second in pair means that the read comes from sample.R2.fastq.gz

First and Second in pair flags have no meaning about the mapping of the read .

ADD COMMENT
0
Entering edit mode

HI Pierre,

I understand this but then I think If the read is 147 it's second in pair although its mapped on the reverse strand while 83 would mean read is on reverse strand but it is first in pair. So that's why 83,163 go together and 99,147 go together for a paired end read

ADD REPLY
1
Entering edit mode

First/second in pair refer to the order in which the reads sequenced; this is independent from alignment: even unmapped reads are first or second in pair.

ADD REPLY

Login before adding your answer.

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