Values of the mean_qscore_template field in sequencing_summary.txt files are integers instead of floats
Issue Report
Please describe the issue:
Values of the mean_qscore_template field in sequencing_summary.txt files are integers while floats are expected for means like with Guppy.
With integers instead of floats, PHRED score distribution may look not continuous with some QC tools like ToulligQC (I am one of the developer of ToulligQC) as you can see in the following screenshot.
Steps to reproduce the issue:
Just launch the dorado summary command.
Run environment:
- Dorado version: 0.6.0
- Dorado command: dorado summary mybam.bam
- Operating system: Linux
I encounter the same problem in drawing mean qscore distribution.
In dorado source code: dorado/read_pipeline/ReadPipeline.cpp
In function: ReadCommon::generate_read_tags
int qs = static_cast
It seemed that mean qscore were transformed to integer by std::round before writting to bam.