RNA-seq Analysis Workflow: From Raw Reads to Differential Expression

BIOINFORMATICS

RNA-seq Analysis Workflow: From Raw Reads to Differential Expression

Bioinformatics • Beginner guide • 9 minute read
RNA sequencing, known as RNA-seq, measures which genes are active in a sample and how active they are. It is one of the most common methods in modern molecular biology. It compares healthy and diseased tissue, treated and untreated cells, or different stages of development. The method produces millions of short reads. Those reads must be processed through several steps before they become a clear result.
This guide walks through the full workflow in order, from raw reads to a list of differentially expressed genes. It explains what each step does, what to check, and which mistakes beginners should avoid. You will not need to memorise tool names to follow it. You will see the most common tools named, so you can recognise them in papers and tutorials.

Step one: check read quality

Raw reads arrive as FASTQ files. The first step is quality control. Tools such as FastQC produce a report for each file. Check per base quality scores, GC content, duplication level, and adapter sequences. A sharp fall in quality at the end of reads is common. A very unusual GC content can suggest contamination. If the report shows adapters or low quality bases, trim them with a tool such as Trimmomatic or Cutadapt. After trimming, run quality control again. The goal is not perfect data. The goal is data clean enough for the next step, with problems documented and settings saved.

Step two: align reads to a reference

Alignment places each read on the reference genome or transcriptome. It answers which gene each read came from. Common aligners include STAR and HISAT2 for genome alignment. Salmon and Kallisto are used for fast transcript level quantification. The choice depends on species, study design, and computing resources. Check the alignment rate for every sample. Most reads should align to the reference. A sample with a very low rate may have contamination, a wrong reference, or a failed library. Check the rate before you move on. A bad sample at this stage will distort every result that follows.

Step three: count reads per gene

After alignment, reads are counted for each gene. The result is a count matrix. Each row is a gene. Each column is a sample. Each cell is the number of reads assigned to that gene in that sample. Tools such as featureCounts and HTSeq produce this matrix from genome alignments. Salmon and Kallisto produce transcript counts that are then summarised to gene level. Raw counts cannot be compared directly between samples. Samples have different total read numbers, and genes have different lengths. A sample with twice as many reads will have higher counts for most genes, even if the biology is the same.

Step four: normalise and explore the data

Normalisation adjusts counts so samples can be compared fairly. DESeq2 and edgeR are the most common tools for this step. Both use their own normalisation methods. They also model variation between replicates, which matters because RNA-seq counts are not normally distributed. Before testing for differences, explore the data with a PCA plot and a sample distance heatmap. Samples from the same group should cluster together. A sample far from its group may be an outlier. Check its metadata. Was it processed on a different day? Did it have low quality or a low alignment rate? A careful check now can save a misleading result later.

Step five: test for differential expression

Differential expression testing asks which genes change between groups. The test produces three values for each gene. The log2 fold change shows the size and direction of change. A value of 1 means a twofold rise. A value of minus 1 means a twofold fall. The p-value shows whether the change is likely real. The adjusted p-value corrects for testing thousands of genes at once. Most studies use an adjusted p-value below 0.05 and a fold change cut-off, for example an absolute log2 fold change above 1. Genes that pass both filters are called differentially expressed genes.

Step six: visualise and interpret

After testing, visualise the results. A volcano plot shows the overall pattern. A heatmap shows how top changed genes behave across samples. These plots help you spot patterns, outliers, and possible batch effects. Then run Gene Ontology and KEGG enrichment analysis on upregulated and downregulated genes separately. Look for processes and pathways that fit the biology. Then read the gene names inside the top terms. If the same genes drive several terms, you have one signal described in several ways. This is where a gene list becomes a biological story.

What to save and report

A reproducible analysis saves the sample table, quality reports, alignment rates, count matrix, full result table, and exact tool versions and settings. In a paper, report the reference genome version, aligner, counting method, differential expression tool, and cut-offs for significance and fold change. This detail lets another researcher repeat the work and trust the result.

Practise the RNA-seq workflow

Reading about RNA-seq is a good start. Practising it on a real dataset makes the steps stick. Our courses guide you through quality control, alignment, counting, and differential expression in simple steps.
Your next step

A clearer path through your research.

Tell us where you are stuck. Let’s work out a practical next step.

MolBio Academy

MolBio Academy — Molecular Biology and Bioinformatics, Made Simple.