Closed cfc424 closed 2 years ago
https://github.com/shenwei356/seqkit/issues/297#issuecomment-1085639766
you can’t just do simple arithmetic mean of all the qscores, because it won’t be a representation of the mean error rate then.
https://gigabaseorgigabyte.wordpress.com/2017/06/26/averaging-basecall-quality-scores-the-right-way/
I'll read it, thanks a lot.
Prerequisites
./seqkit version
seqkit v2.3.0
Describe your issue
Hi, my question is:
Fastq sequence average quality calculation results are different from manually calculated and seqtk results
Fastq test file
seqkit.test.fq
:seqkit calculate command and results:
the result show that average quality is 10.24.
I aslo used
seqtk
:the result show that average quality is 17.7, which is larger than seqkit results.
and I tested the results with
python3 ord function
, average quality is 17.7117:So, am I missed somthing in calculating average quality with seqkit ? and I also want to know if I can use seqkit to calculate nanopore quality?
Thanks,
Fengchao