Filter Exon Aligned Reads That Are Mapped Against Human Genome.
1
0
Entering edit mode
10.1 years ago
Coryza ▴ 30

Hi,

I am wondering if it is possible via samtools/bamtools to extract all the paired-end mapped reads (against the human hg19 genome) that fall in exon regions. I have a BED file that defines all these regions. I already know that it's possible to calculate this (coverageBed -abam reads.bam -b exons.bed > exons.bed.coverage), but I have no clue how to extract the reads from the .bam file). I tried using the samtools/bamtools manual but couldn't figure it out.

Anyone who can help me?

Thanks

exons genome mapping hg19 bowtie2 • 3.2k views
ADD COMMENT
0
Entering edit mode
10.1 years ago

duplicate of Samtools and Region List

ADD COMMENT
0
Entering edit mode

Hmm wonder why I could not find that in the samtools manual..

ADD REPLY
0
Entering edit mode

The online manual is two versions behind.

ADD REPLY
0
Entering edit mode

Ah well, thanks for the help both of you ;)

ADD REPLY

Login before adding your answer.

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