Strand non-specific bam file
1
0
Entering edit mode
20 months ago
prs ▴ 20

If I map a bed (annotation) file onto a Strand non-specific bam file (RNA-Seq), how is it going to know the strand? I changed the strand column of bed file as in two rows with same info and different strand. But, I got the same read count for 2 rows! which means it is not looking into the strand column to check the strand. Can anyone explain how does it work then.

RNA-Seq Bam • 1.7k views
ADD COMMENT
0
Entering edit mode

What exactly are you trying to do?

ADD REPLY
0
Entering edit mode

I want to know how strand non-specific bam file is mapped.

ADD REPLY
0
Entering edit mode

You should read about the flags used in bam files. I think you're thinking about it backwards though, you're mapping the reads from your bam file onto a bed file and not vice versa.

ADD REPLY
0
Entering edit mode

Oh yes. I want to know how bam file is mapped on annotation file in this case when strand is not specified.

ADD REPLY
1
Entering edit mode
20 months ago

typically the BAM files does not contain information about the strand specificity of the original sequencing data,

when you run an analysis tool where that matters you can instruct to treat the BAM file as containing strand specific reads,

but just to make sure we are talking about the same thing, each alignment in a BAM file will contain strand information - that characterizes that specific alignment, now that strand information is different concept than what is typically "strand specific" RNA-Seq

stranded RNA-Seq means that the sequenced transcripts will be represented by a sense or antisense strand of the DNA rather than both strands

ADD COMMENT
0
Entering edit mode

So if BAM file does not contain information about the strand specificity, how to use strand non-specific RNA-Seq data?

ADD REPLY
0
Entering edit mode

It is you, the end user, that chooses how to process a BAM file as strand-specific or not.

A tool that can handle stand-specific RNA-Seq data will produce a different output if we instruct it to treat a BAM file as strand-specific or as non-strand-specific.

So it is a choice on how a BAM file is processed, and it is not a setting inside the BAM file

ADD REPLY
0
Entering edit mode

If we instruct the tool to treat the BAM file as non-specific, how is it going to work? As if I want to get the read counts of particular genome location on + strand, how is it going to distinguish?

ADD REPLY
0
Entering edit mode

it will work incorrectly - that's all, you have to use the BAM file in the way that matches the original reads

it is like trying to make a latte with swamp water - it will be a drink allright - just not good ...

ADD REPLY

Login before adding your answer.

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