Workflows

An RNA-seq quality-control checklist before you analyse anything

A practical RNA-seq QC checklist covering FASTQ quality, alignment, strandedness, rRNA contamination, sample outliers and batch patterns before analysis.

Quality control is the part of an RNA-seq analysis that prevents you from spending a week interpreting a result that was caused by one bad library. It is also the part most often reduced to a single FastQC screenshot. Good QC is broader than read quality: it covers the reads, the alignment or quantification, the samples as a group, and the agreement between the data and the experimental design. This checklist walks through those layers in the order you would normally meet them.

Before you open the data

Start by writing down what the data are supposed to be. A simple sample sheet should record the sample name, condition, replicate number, batch, sequencing lane, library preparation date, and any pairing or blocking variable. Check that the files match the sheet and that the names are consistent. Many "analysis problems" are actually metadata problems: a swapped sample, a duplicated file name or a condition coded differently in two places.

Also confirm the reference genome and annotation version before quantifying anything. An analysis built on the wrong annotation can look fine at the QC stage and be wrong everywhere downstream. Record the versions in the project notes.

Read-level checks

Run FastQC on every FASTQ file and summarise the reports with MultiQC. The modules worth reading carefully are:

  • Per-base sequence quality. Quality should stay high across most of the read. A sharp drop at the end is common and may justify trimming; a drop in the middle suggests a problem with the run.
  • Per-sequence quality scores. Look at the distribution, not only the mean. A small tail of very low-quality reads can be removed without losing much data.
  • Adapter content. Residual adapter sequence should be low. If it rises towards the end of reads, trim it with fastp or Trim Galore before quantification.
  • Overrepresented sequences. Some overrepresentation is expected in RNA-seq because highly expressed genes produce many identical reads. A single unexpected sequence can indicate adapter, primer dimers or contamination.
  • Per-base sequence content. Uneven base composition at the start of reads is normal for random-primed libraries. Strong skew later can indicate contamination or a biased library.
  • GC distribution. Compare the observed distribution with the theoretical one. A shifted or bimodal distribution can point to contamination, degraded RNA or a mixed sample.

Duplication deserves a separate note. In RNA-seq, high duplication is often a consequence of highly expressed genes, not a sign of a failed library. FastQC's duplication module counts identical reads, so a few abundant transcripts can dominate the estimate. Interpret duplication alongside library complexity and expression levels rather than applying a single cut-off.

If the data are paired-end, check both files. A common error is a mismatch between R1 and R2 after trimming, which produces unpaired or malformed records. Tools such as fastp and FastQ Screen can help detect contamination, but the first check is simply that read counts and read lengths agree.

Alignment and quantification checks

If you align with STAR or HISAT2, the alignment log gives several useful numbers: uniquely mapped reads, multi-mapped reads, reads mapped to too many loci, and the overall alignment rate. A low unique mapping rate can mean adapter contamination, rRNA contamination, a wrong reference or a sample from a different organism.

If you quantify with Salmon or kallisto, inspect the mapping rate, the number of reads assigned to transcripts, and the fraction of reads that could not be assigned. Also check strandedness. A library prepared with a stranded protocol but quantified as unstranded, or the reverse, gives lower assignment rates and distorted gene-level counts. Tools such as infer_experiment.py from RSeQC estimate strandedness from a BAM file, and Salmon reports library-type information in its logs.

Other useful checks include:

  • rRNA contamination. High rRNA fractions mean the depletion or poly(A) selection did not work well. A modest fraction is normal; a large one wastes sequencing and distorts the effective depth.
  • Gene body coverage. For well-annotated genes, reads should be distributed across the gene body rather than concentrated at one end. Strong 3′ bias suggests degraded RNA or a library-prep problem.
  • Reads assigned to features. The fraction of reads counted by featureCounts or summarized by tximport should be plausible for the organism and library type. A very low fraction warrants investigation.
  • Library size. Very small libraries have less information and noisier quantification. Very large libraries are not automatically better, but a large imbalance between samples can affect normalisation.

Sample-level checks

This is where many analyses go wrong, because the checks require looking at all samples together rather than one file at a time.

Transform the counts with a variance-stabilising transformation such as vst or rlog in DESeq2, then make a PCA plot. Replicates of the same condition should cluster. If samples separate by sequencing batch, extraction date, sex or another technical variable instead of condition, investigate before testing. A PCA plot is not a formal test, but it is the fastest way to see the dominant source of variation.

Also inspect:

  • Sample-to-sample distances. A heatmap or correlation matrix shows whether one sample is unlike all the others. An outlier may be a failed library, a mislabelled sample or a genuinely different biological state.
  • Normalised count distributions. Boxplots or density plots should be broadly similar after normalisation. A sample with a very different distribution may need attention.
  • Known covariates. If sex, genotype or age is recorded, check that it matches the data. A sex mismatch between metadata and expression is a classic sign of a sample swap.
  • Batch balance. Tabulate condition against batch. If they are perfectly aligned, no statistical method can separate them, and the design needs to be reconsidered rather than patched.

The article on batch effects explains how to read these patterns and what can be done about them.

A checklist you can copy

  1. Sample sheet complete and consistent with file names.
  2. Reference genome and annotation version recorded.
  3. FastQC and MultiQC reviewed for every sample.
  4. Adapter content and low-quality ends addressed if present.
  5. Paired-end files still synchronised after trimming.
  6. Alignment or quantification rate plausible for the library type.
  7. Strandedness confirmed.
  8. rRNA fraction and gene body coverage acceptable.
  9. Library sizes and feature assignment checked.
  10. PCA and sample-distance plots reviewed before testing.
  11. Outliers explained, not silently deleted.
  12. Condition-versus-batch table checked for confounding.

Red flags that mean stop

Some findings should pause the analysis rather than be noted and forgotten:

  • One sample drives the entire separation between conditions.
  • Condition and batch are completely confounded.
  • The sample sheet cannot be reconciled with the files.
  • A large fraction of reads is rRNA or adapter.
  • Strandedness is wrong for the library protocol.
  • Sex or genotype checks contradict the metadata.
  • Replicates of the same condition do not resemble each other at all.

None of these necessarily makes the experiment unusable, but each changes what can be claimed. Deciding how to proceed is a scientific judgement, not a software default.

Key points

  • QC covers metadata, reads, alignment or quantification, and the sample group as a whole.
  • FastQC and MultiQC are the starting point, not the whole checklist.
  • High duplication in RNA-seq is often biological and should be interpreted with expression levels.
  • Check strandedness, rRNA contamination and gene body coverage, especially when quantification rates look low.
  • PCA and sample-distance plots reveal batch effects, outliers and sample swaps before testing.
  • Confounded condition and batch cannot be fixed by a statistical model.
  • Record every decision, including any sample removed and the reason.

When to ask for help

If a QC report shows an outlier, a strandedness mismatch or a batch pattern you cannot explain, it is worth getting a second opinion before deleting samples or changing the design. You can order an analysis or ask for a QC review through our RNA-seq analysis service. The RNA-seq analysis workflow explains where each check fits, and the guide to replicate numbers helps you judge whether the data can support the comparison at all.

Sources

When to ask for help. If your data or design do not fit a tutorial, order an analysis and we will reply with a fixed price.

Written by the Solagene team for research and education. Found an error? Tell us and we will correct it.