I downed a fastq file from NCBI whose quality code was mixed with phred33 and phred64. In the process of mapping, the program will be mistaken. General software does not correct this mixed situation, so I want to write a useful code, but I have limited ability, so I need help.
How did you figure out that one file contains both quality encodings? How does that even happen?
When I used BWA for mapping without '-fixMisencodedQuals', the error message showed " we encountered an extremely high quality score of 64"; while when I add '-fixMisencodedQuals', the error message showed "while fixing mis-encoded base qualities we encountered a read that was correctly encoded". So I guess this file contained both quality encodings.
But I don't know how this happened.