Splitting BAM file from paired end into forward and reverse strands?
0
0
Entering edit mode
4.9 years ago

Hi,

I have splitted BAM file from single end reads into forward and reverse strands using the following command

samtools view -b -F 16 *for forward strand
samtools view -b -f 16 *for reverse strand

As I understand the sum of these two should be equal to the main BAM file. So my questing is for paired end reads, will it be different or the same code will work for both single and paired end reads? Help me understand.

Thanks,

Susmita

RNA-Seq samtools ngs rna-seq VCF • 2.0k views
ADD COMMENT
0
Entering edit mode

That code will pay no attention to any of the flags having to do with paired reads. It also won't pay attention to whether or not the read mapped.

ADD REPLY
0
Entering edit mode

Can you be little more elaborative? I did not get it.

ADD REPLY

Login before adding your answer.

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