How to find average read length and number of reads in a bam file using samtools in linux?
0
0
Entering edit mode
2.5 years ago
MobiusT ▴ 20

How to find average read length and number of reads in a bam file using samtools in linux? I used first samtools stats file.bam | grep "average length" but it never stop running. What is the most efficient way of finding them?

samtools bam • 2.2k views
ADD COMMENT
0
Entering edit mode

duplicate of your previous question : Find mean read length of a bam file dataset of reads?

I used first samtools stats file.bam | grep "average length" but it never stop running

what is the size of the bam, how long did you wait ?

ADD REPLY
0
Entering edit mode

The size is 24661059 and I waited aroun 10 mins

ADD REPLY

Login before adding your answer.

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