Q15 is a Phred quality score indicating a 96.84% chance that a base call is correct, or a 1 in 32 error rate. In practical sequencing, a Q15 threshold means you accept bases where about 3 in every 100 are wrong, which is a low-to-moderate stringency filter often used for quick QC or when you have abundant coverage.
Background: Phred Scores and Sequencing Errors
Phred quality scores were developed in the 1990s for the Human Genome Project to quantify the reliability of each base call in a DNA sequence. The score is logarithmically related to the probability of an incorrect call: Q = -10 × log10(P_error). So a Q20 means a 1 in 100 error rate (99% accuracy), Q30 means 1 in 1000 (99.9%), and Q15 means 1 in 31.6 (approximately 96.8% accuracy).
Modern sequencers (Illumina, Ion Torrent, Oxford Nanopore) assign a quality score to every base in a read. These scores are stored in FASTQ files, where each read has four lines: a header, the sequence, a ‘+’ separator, and a string of ASCII characters encoding the quality values. The encoding (e.g., Phred+33) means that the ASCII character’s decimal value minus 33 gives the Phred score.
How Q15 Is Calculated and Used
The Q15 score itself is not a single fixed number in the raw data; it is a threshold you choose. When you filter reads, you typically discard any base (or entire read) whose quality falls below a cutoff. A Q15 cutoff means you keep bases with a predicted error rate of 3.16% or less.
- Error rate: 10^(-15/10) = 0.0316, or 3.16%.
- Accuracy: 1 – 0.0316 = 0.9684, or 96.84%.
- Odds: 1 error per 31.6 bases.
In practice, Q15 is rarely used as a final filter for variant calling because the error rate is too high for confident single-nucleotide polymorphism (SNP) detection. It is more common in:
- Quick quality trimming of adapters or low-quality ends before assembly.
- Metagenomic or amplicon pipelines where you have many reads and can tolerate errors.
- Nanopore data, where raw read accuracy is lower and Q15 is sometimes a reasonable minimum for downstream polishing.
How to Choose a Quality Cutoff
Choosing a Q cutoff depends on your application and coverage depth. Higher coverage can compensate for lower per-base quality because errors are random and can be corrected by consensus. For example, if you have 30× coverage, a Q15 error rate might still yield a correct consensus because the majority of reads will have the correct base.
Common thresholds:
- Q20 (99% accuracy): Typical for many RNA-seq and ChIP-seq analyses.
- Q30 (99.9% accuracy): Standard for clinical variant calling and de novo genome assembly.
- Q15 (96.8% accuracy): Used when you want to keep as much data as possible, e.g., for very short reads or when you have high coverage.
If you are doing variant calling, most pipelines (like GATK) recommend Q30 as a minimum. For simple presence/absence of a gene, Q15 might be fine.
Common Problems with Low-Quality Data
Setting a low threshold like Q15 can introduce several issues:
- False variants: A base error in a read can be mistaken for a real mutation, especially if it occurs in a repetitive region.
- Read misalignment: Errors can cause reads to map to the wrong location, particularly in paralogous regions.
- Assembly fragmentation: In genome assembly, low-quality bases can break contigs or create chimeric joins.
Conversely, setting a threshold too high (e.g., Q40) may discard many reads, reducing coverage and potentially losing true biological signal. The key is to balance sensitivity and specificity.
Comparison: Q15 vs Q20 vs Q30
Here is a quick comparison of common thresholds:
- Q15: 96.84% accuracy, 1 error per 32 bases. Acceptable for very high coverage or when you only need rough sequence identity.
- Q20: 99% accuracy, 1 error per 100 bases. A moderate default for many applications.
- Q30: 99.9% accuracy, 1 error per 1000 bases. The gold standard for most research and clinical pipelines.
Note that the difference between Q20 and Q30 is a 10-fold reduction in error rate, but the computational cost of filtering is negligible. The real cost is in discarded data.
How to Filter Reads to Q15 in Practice
Most bioinformatics tools allow you to specify a quality threshold. For example, with fastp or Trimmomatic, you can set a sliding window quality cutoff. Here is a typical command-line approach using fastp:
- Install
fastp(open-source tool). - Run:
fastp -i input.fastq -o output.fastq --qualified_quality_phred 15 - This will trim bases below Q15 and discard reads that become too short.
Alternatively, you can use seqtk to filter reads by average quality, but that is less precise. Always check the output statistics to see how many reads were retained.
Frequently Asked Questions
Is Q15 good enough for variant calling?
Generally no. Variant calling requires high confidence to avoid false positives. Q30 is the recommended minimum for most pipelines. Q15 might be acceptable only if you have extremely high coverage (e.g., >100×) and you can later apply statistical filters to correct errors, but it is risky.
What does Q15 mean in FASTQ files?
In a FASTQ file, each base has a quality character. For Phred+33 encoding, Q15 corresponds to ASCII character 48, which is ‘0’. So if you see a ‘0’ in the quality line, that base has a Q15 score.
Why do some sequencing runs have low Q15 percentages?
Low Q15 percentages (i.e., few bases above Q15) can indicate poor sequencing quality due to instrument issues, sample degradation, or overloading the flow cell. It is a red flag that the run may need to be repeated.
Can I use Q15 for Nanopore data?
Yes, Nanopore raw reads often have median Q scores around Q10-Q20. Using Q15 as a minimum is common before polishing with tools like Medaka. However, for final consensus, you would still rely on the polished output.
How do I convert Q15 to a probability?
Use the formula P = 10^(-Q/10). For Q15, P = 10^(-1.5) = 0.0316, or a 3.16% chance of error. The accuracy is 1 – P = 96.84%.
Assumptions and Limitations
Quality scores assume that errors are independent and that the instrument’s error model is accurate. In reality, errors often cluster (e.g., at the ends of reads) and can be systematic (e.g., in homopolymers). Therefore, a Q15 score is a statistical estimate, not a guarantee. Always consider the context of your data and the downstream analysis requirements.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this section
- DNA to RNA in the Nucleus: How Transcription Works0.2000 mol/L
- DNA Sequence Example Code: A Practical Guide0.2000 mol/L
- RNA Sequence Reverse Complement Tool
- T4 RNA Ligase 2 Sequence & Function15,485.0 g/mol
- T7 RNA Polymerase Sequence: Full Gene & Key Features97.5 kDa
- RNA Sequence Lookup: How to Find and Use RNA Data69.0 °C