counting the number of reads in FASTQ files
1
0
Entering edit mode
4.4 years ago
Ric ▴ 430

Hi, I would like to get the read coverage and I found here C = LN / G whereas:

  • C stands for coverage
  • G is the haploid genome length
  • L is the read length
  • N is the number of reads

How is it possible to count the number of reads in FASTQ files?

Thank you in advance

next-gen sequencing coverage • 8.0k views
ADD COMMENT
0
Entering edit mode

How to count fastq reads

on a different note, I know you didn't ask but there's software to count read depth and coverage.

ADD REPLY
0
Entering edit mode

The same question has been asked a number of times, e.g.

How to count fastq reads

Sequence Number Count In Fastq.Gz File

ADD REPLY
1
Entering edit mode
4.4 years ago
wc -l mysample.fastq

or

zcat mysample.fastq.gz | wc -l

Then divide by 4.

But I strongly doubt every read in the fastq is going to align to your genome. So I don't see how this number helps.

ADD COMMENT

Login before adding your answer.

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