Entering edit mode
2.4 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?
duplicate of your previous question : Find mean read length of a bam file dataset of reads?
what is the size of the bam, how long did you wait ?
The size is 24661059 and I waited aroun 10 mins