Genomics & transcriptomics · Step-by-step guide

FASTQ Read Processing: a step-by-step guide

FASTQ Read Processing streams reads from disk to inspect, trim, merge, deduplicate, subsample, demultiplex and count k-mers. This guide follows the tabs in the order a preprocessing run usually needs them.

Before you start

  • FASTQ or FASTQ.gz files, single- or paired-end, plus a barcode table if you plan to demultiplex.
  • The adapter and primer sequences, or a decision to use the built-in poly-G and quality trimming.
  • Chrome or Edge if you want Save-to-disk for multi-GB output.
The app has a Load SYNTHETIC demo button with 20,000 labelled synthetic reads.

Step by step

  1. Open Inspect and load reads

    Drop a FASTQ or FASTQ.gz, or press Load SYNTHETIC demo (20,000 reads). The demo is synthetic and labelled as such. The app reports per-position quality and the length histogram.

  2. Read the QC before trimming

    Look at the per-position quality, the length distribution and any over-represented sequence. A sharp quality drop or a short-read spike tells you what the trimming step needs to fix.

  3. Open Trim & filter

    Set adapter, poly-G and quality trimming, then the length, N, quality and expected-error filters. The app streams the file and reports how many reads survive each filter.

  4. Open Merge & deduplicate

    For paired-end reads, merge the overlap with quality-aware mismatch calls. Exact deduplication removes identical reads; check whether that is appropriate for your library before enabling it.

  5. Subsample or demultiplex

    Seeded reservoir subsampling gives a reproducible subset. Demultiplexing uses a sample,barcode table with a mismatch tolerance; barcodes must be the same length and should differ by more than the tolerance.

  6. Read the k-mer spectrum

    The canonical k-mer spectrum and genome-size estimate help check library complexity and contamination. A large peak at low coverage can indicate adapter dimers or contamination.

  7. Save the output

    Use Save-to-disk in Chrome or Edge for large files. Other browsers keep the output in memory, which is fine for the demo but not for a multi-GB run.

How to read the results

OutputWhat it tells you
Per-position quality and length histogramWhere quality falls and how long the reads are. Trimming decisions should follow this, not a default parameter set.
Filter countsHow many reads each filter removed. A filter that removes most reads is either necessary or misconfigured; inspect a few reads to decide.
Merge and deduplication summaryHow many pairs merged and how many reads were removed as duplicates. Exact deduplication can remove genuine biological duplicates in amplicon data.
k-mer spectrum and genome-size estimateLibrary complexity and the size of the sequenced genome. The estimate is a model-based inference, not an assembly measurement.

Common problems

The mate files have different lengths.
R1 and R2 must contain the same number of records. The app reports the record where one file ends; re-pair the files before running.
A record does not start with @.
The app reports the record number. The file is not FASTQ or is corrupted; re-export or re-download it.
Paired-end work asks for two files.
Load both R1 and R2. Merging and paired-end trimming cannot run on a single file.
Barcodes have different lengths.
All barcodes must be the same length. Pad them or choose a fixed-length region before demultiplexing.
Two barcode sets are too similar.
The app reports the Hamming distance. Increase the mismatch tolerance only if the barcodes are far enough apart; otherwise choose a new set.

Limits

  • Multi-GB FASTQ needs Chrome or Edge for Save-to-disk; other browsers keep output in memory.
  • Read-level QC and preprocessing only, not mapping or variant calling.
  • Research use only.

The app records its tool, version, parameters and input checksum in the methods log. The documentation on reproducibility explains how that record becomes a methods paragraph, and the Report Builder collects the figures into one export.

How to cite this analysis

Cite the Workbench using the Zenodo DOI on the Cite page (/cite). Report the trimming parameters, filters, merge settings and whether deduplication was applied. Citation, DOI and BibTeX.

Last reviewed: 2026-11-10. If a screen does not match this guide, the app is the source of truth; tell us so the guide can be corrected.

Need a hand?

Run this analysis with support.

Send the files and the question; we reply with a fixed price and a named analyst. Or keep exploring the free apps.