No. Of Reads & No. Of Bases Per Locus-Calculation
1
0
Entering edit mode
12.2 years ago
jackuser1979 ▴ 890

I have RNAseq illumina paired reads mapped to reference genome using bowtie and samtools. I have both bam file and mpileup file. Are there any tools to calculate average number of reads and average number of base pairs for each contig/chromosome?

samtools coverage • 3.8k views
ADD COMMENT
1
Entering edit mode

do you mean number of reads per region of interest? please do edit your question to be more clear

ADD REPLY
1
Entering edit mode
12.2 years ago

I'm with Rm, please make your intent more clear. Try:::

~/tools/samtools/samtools flagstat your.bam
ADD COMMENT
0
Entering edit mode

Thanks. Now I got it. by samtools idxstats, I got number of basepairs & no.of reads mapped for each contigs.

ADD REPLY
1
Entering edit mode

It would be nice to mark it as an answer if it solved your question.

ADD REPLY

Login before adding your answer.

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