This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Find mean read length of a bam file dataset of reads?

I am working in a remote linux server and I have a dataset of reads in the file with extension bam extension. How to find its mean read length

bam dataset read gz linux

vcfs don't usually contain read length information

Do not delete posts that have received feedback.

1 answer

you can get the mean read length from a bam or a fastq file, not from a VCF.

Then, How to find from a bam file?

Log in to answer this question.