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

  1. Record the instrument/export software and the declared quality encoding. Do not infer encoding from a short string.
  2. Copy an invented four-line record: identifier, DNA sequence, separator, quality string. This tool deliberately excludes wrapped sequence records and non-ACGTN alphabets.
  3. Count sequence and quality characters before interpreting any score. A length mismatch prevents a base-by-base comparison.
  4. Confirm that identifiers are unique within the excerpt. If the separator repeats the header, retain an exact match.
  5. Translate each supported quality character using its ASCII value minus 33. Then summarize the resulting scores.
  6. 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

FindingNext action
Unequal lengthsRepair the export or excerpt; do not pad silently
Unknown encodingRecover provenance before translating scores
Valid tiny excerptContinue 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.

Open the fastq phred+33 record audit.

Download the editable review worksheet.

Related reading

Reading path: Analyze data. Guide 243 of 252. Choose any guide to suit your project.

Statistical Methods

Compare Distributions Across Their Full Empirical CDFs

Practical steps and a worked example: Calculate a pooled-rank distribution discrepancy with explicit tie handling.

Statistical Methods

Record Units and Window Width in Differential Entropy Estimates

Practical steps and a worked example: Estimate continuous differential entropy with an explicit spacing window.

Browse this reading pathTools for this stageGuides and downloads for this stage