Data Management
Audit a Small FASTQ Record Before Running Full Quality Control
The decision
Use this check when a pipeline rejects a small demonstration FASTQ excerpt or when a trainee confuses quality characters with observed errors. The output is a structural check and a score translation, not a biological pass/fail decision. Keep real sequence records in the approved analysis environment; use invented records in this browser tool.
Check in a deliberate order
- Record the instrument/export software and the declared quality encoding. Do not infer encoding from a short string.
- Copy an invented four-line record: identifier, DNA sequence, separator, quality string. This tool deliberately excludes wrapped sequence records and non-ACGTN alphabets.
- Count sequence and quality characters before interpreting any score. A length mismatch prevents a base-by-base comparison.
- Confirm that identifiers are unique within the excerpt. If the separator repeats the header, retain an exact match.
- Translate each supported quality character using its ASCII value minus 33. Then summarize the resulting scores.
- Run a full-file QC program locally before deciding on filtering. Preserve its version, settings and report.
Worked hypothetical example
The invented sequence ACGT with quality IIII has four Q40 bases. Each score implies error probability 10^(-40/10) = 0.0001. Adding four such probabilities gives 0.0004 expected errors, conditional on calibration. It does not mean that a fractional error was observed. For mixed qualities, average the error probabilities directly; transforming the mean Phred score gives a different quantity.
Act on the result
| Finding | Next action |
|---|---|
| Unequal lengths | Repair the export or excerpt; do not pad silently |
| Unknown encoding | Recover provenance before translating scores |
| Valid tiny excerpt | Continue full-file QC; do not generalize to the run |
Reporting example: “A synthetic four-base record passed the supported structure check; Q40 implied a per-base error probability of 0.0001. No real sequencing quality was inferred.”
Sources and checking
Primary documentation, checked 2 December 2026. Examples are hypothetical. This page does not claim human expert review.