Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality score autodetection fails for Element Biosciences AVITI data #42

Open
michellescribner opened this issue Oct 31, 2022 · 1 comment

Comments

@michellescribner
Copy link

Trimmomatic fails for sequencing data generated by the Element Biosciences AVITI instrument if Phred33/64 encoding is not provided (quality score is autodetected for Illumina data).

"Error: Unable to detect quality encoding"

Adding the "-phred33" argument solves the issue.

@TonyBolger
Copy link
Collaborator

Unfortunately it's not always possible to tell the quality offset of a FASTQ file, since the symbols used overlap. Trimmomatic relies on finding some quality symbols (within the early part of the file) which are informative - a low quality base in PHRED-33 (which would imply a negative quality score in PHRED-64) or a high quality base in Phred-64 (which would give a quality score >40 in PHRED-33).

A FASTQ file encoded PHRED-33 with quality scores from 31-40 looks the same as a PHRED-64 encoding with quality scores 0-9. I guess your file falls into this category (at least in the first chunk)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants