Entering edit mode
4.9 years ago
Susmita Mandal
▴
110
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
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.
Can you be little more elaborative? I did not get it.