bam file to bed fie
1
0
Entering edit mode
8.5 years ago
897598644 ▴ 100

Excuse me:

I got bam file from targeted resequencing. So how do I know the start and end region from the bam file?

Thanks for your help.

sequence-alignment next-gen-sequencing • 1.4k views
ADD COMMENT
0
Entering edit mode
8.5 years ago
GenoMax 141k

You won't know the exact boundaries since some reads will extend beyond the targeted region(s). But you should get a rough idea.

ADD COMMENT
0
Entering edit mode

So how could i get the position range?

ADD REPLY
1
Entering edit mode

You can parse the BAM file and look at the POS/TLEN fields. If this is a common genome, with a BED annotation file available, then you could use coverageBED from BEDTools to get a rough idea of what regions are covered.

ADD REPLY

Login before adding your answer.

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