This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Counting reads per codon

Hello. So I have some ribosome profiling sequencing data which I've clipped, trimmed, mapped with Bowtie, and converted to BAM files for viewing in IGV. The data looks good in IGV but now I want to know the number of reads per codon. Does a tool exist for doing that?

Thanks!

sequencing

1 answer

none that I'm aware of, but codon information can be considered as any other annotation, so if you have all the codons you're interested in described in a bed file you can obtain such information using bedtools intersect for instance:

bedtools intersect -c -a codons.bed -b reads.bam

Log in to answer this question.