Find the number of mapped Reads
1
0
Entering edit mode
7.8 years ago
Valeria ▴ 10

Hello! I have two file, one with sorted reads(bam) and another with the exons(gft). I want to find the number of reads that are mapped in the set of exons intervals with bedtools. How can I do this?

reads alignment • 1.4k views
ADD COMMENT
1
Entering edit mode

Yes, it is a project for bioinformatics course! However at the end I used:

intersectBed -abam sorted_reads.bam -b myfile.gtf| coverageBed -counts -abam stdin -b Imyfile.gtf>FINAL

Thanks everybody for the help!

ADD REPLY
0
Entering edit mode

I need to use Bedtools utilities

ADD REPLY
4
Entering edit mode

Why? The only reason I can think of is "because it's a homework question".

ADD REPLY
0
Entering edit mode

Bedtools hint is included by @Goutham below. You must do some work yourself (read the manual page or search Biostars) to put together the necessary command line.

ADD REPLY

Login before adding your answer.

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