baSeq
baSeq docs › Bulk RNA-seq (DESeq2)

Bulk RNA-seq analysis (DESeq2)

A guided differential-expression workflow built on DESeq2. Upload counts, fit the model, then explore differences between conditions with a full set of plots and enrichment tools.

The recommended order

Bulk steps enforce their prerequisites in this order:

  1. Upload your count files: the upload shows the Initial Plot, a first look
  2. Filter Low Gene Counts
  3. Batch Correction (optional, bacteria only)
  4. Dispersion and Parameters (this fits the DESeq2 model)
  5. Sample to Sample Similarity
  6. Principal Component Analysis
  7. Then any analysis step. The exact set depends on the organism: differential expression, volcano, MA, heatmap, boxplots, GSEA, GO terms, and STRING are always available. Eukaryotes also get Pathway Map; bacteria instead get Functional Categories (COG), which needs a reference genome set first in Microbial setup.
Run Dispersion and Parameters before any analysis

Dispersion and Parameters fits the DESeq2 model and produces the normalized values that every later step needs. If an analysis step seems blocked, run this step first.

Choosing a contrast

Most analysis steps ask you to choose a comparison:

  • Pick one metadata column (for example condition).
  • Pick exactly two values of that column to compare (for example treated vs control).
  • The log2 fold-change is reported as the first value relative to the second.

Volcano Plot and MA Plot work a little differently: you pick one Reference level and one or more comparison levels, and each comparison is drawn as its own panel in a single figure (up to six). Differential Gene Expression still compares exactly two groups.

Replicates matter

Differential expression needs at least two replicates in each of the two groups you compare. With fewer, the statistics are not reliable and the step may warn you.

Default thresholds

Unless you say otherwise, baSeq uses standard cutoffs you should be aware of:

Significance
Adjusted p-value (padj) < 0.05.
Effect size
|log2 fold-change| >= 0.5 (used by the volcano and MA plots).
GO terms
FDR 0.05, top 25 terms by default.

The design formula is built automatically from your metadata columns, so you do not have to write it.

A gene whose mean is too low for DESeq2 to test shows low counts, not tested in place of its adjusted p-value. Hover it for the lowest mean among the genes that were tested in that comparison; the Data Summary counts the genes left out.

Genes, gene sets, and pathways

Heatmap, Boxplots, GSEA, GSEA Dotplot, GO Term Enrichment, STRING, and Pathway Map ask you to provide a focus:

  • Genes: name them (PDCD1, LAG3) or describe a theme.
  • Gene-set library for GSEA: a name such as Reactome_Pathways_2024 or GO_Biological_Process_2021, and optionally a specific term.
  • Pathway for the pathway map (eukaryotes only): a Reactome ID such as R-HSA-202403, or a clear name.

Functional Categories (COG), the bacterial analog, does not ask for a gene focus: it uses the same contrast as differential expression plus a reference genome.

The Browser tab

An analysis made from FASTQ files that baSeq counted (FASTQ upload) draws each sample's coverage along the genome, which baSeq keeps after the FASTQ and BAM files go: the reads that map to one place, both strands together, per million of them. A result whose table lists genes, such as Differential Gene Expression, has a Browser tab with the table's genes beside the tracks, drawn by igv.js inside baSeq; the Data Upload result has the tab without them. An analysis made from a count table has no reads behind it, so it has no tab. The tab is being tested and appears only where it is switched on.

  • The genes beside the tracks. The table's genes in its order, each with its log2 fold change and adjusted p. Click one, or step through them with the up and down keys, and the tracks go to the gene with a quarter of its length either side, at least 5 kb. The first 2,000 are listed, and the filter finds a gene among all of them.
  • Each condition or each sample. A row per condition (the sample sheet's), its samples drawn over one another, or a row per sample, from the menu under the tracks. Every row is on one range, so twice the height is twice the RNA. A spliced read covers its exons only, so an intron is a gap.
  • The genes drawn and searched are those of the reference the reads were counted against (GENCODE), so a gene you type or choose is found where the table found it.
  • The gene card. Click a gene in the table and its card shows the analysis's own coverage at the gene first, each condition's mean, with Open in Browser, and the lab's chromatin at the gene beneath it (see the gene card).

The bar, Download, Ask, Tracks and Views work as on the chromatin kinds' tabs (see CUT&Tag). A chromatin analysis's Tracks can add this analysis's coverage under its marks, on the same genome build, and a gene's page lists the analysis under RNA-seq.

The Browser tab of Differential Gene Expression: the table's genes beside K562's and H1's RNA coverage, GATA1 chosen
The Browser tab of Differential Gene Expression on ENCODE's polyA+ RNA-seq of K562 and H1 cells (two replicates each, hg19): GATA1 chosen among the table's genes, its exons covered in K562 and not in H1.
The same place with a row for each of the four samples
Each sample: the four samples in their own rows, on one range.
GATA1's card in the RNA analysis: Coverage at GATA1, then Chromatin at GATA1 in your lab
GATA1's card: the analysis's own coverage, then the lab's H3K4me3 CUT&Tag at the gene.

Bacterial (prokaryote) data

Bacterial RNA-seq is the same DESeq2 workflow with a bacterial organism. baSeq then shows the steps made for bacteria, Batch Correction (ComBat-seq), Functional Categories (COG) and Genome Map, and hides Pathway Map Analysis, because Reactome does not cover prokaryotes. The metadata editor adds a Microbial setup page where you set the genome, and from it every result gets gene names and products, COG categories and pathways, operons, the matching genes in the species' reference strain, and resistance and virulence genes. The Bacteria guide covers all of it; Host and bacterium covers tables with two organisms.

Set up genes before enrichment

Without a reference genome or uploaded annotation, GO Term Enrichment and GSEA can come back empty, because your data is keyed by locus tags that do not match gene-symbol references. The rest of the pipeline (filtering, model fitting, differential expression, volcano, MA, heatmaps, and boxplots) works without it.

Step reference

Every step in the bulk RNA-seq workflow:

StepStageWhat it doesYou getKey inputs
Initial PlotSetupLoads your count files, builds a DESeq2 dataset, and shows each sample's library size, coloured by condition, and the most expressed genes before filtering.A DESeq2 dataset; a library-size chart and a top-20 genes plot; sample and condition summary tables.CSV / TSV / TXT counts, or a sample dataset. Delimiter and columns auto-detected; IDs mapped to symbols.
Filter Low Gene CountsQCRemoves lowly-expressed genes to clean the count matrix.Before/after kept-vs-removed plots and a summary CSV.min count (5), min samples (2): keep a gene if at least 2 samples have count 5 or more.
Batch Correction (ComBat-seq)QCBacteria only. Optional. Removes batch effects while keeping counts as whole numbers for DESeq2. This step appears only for bacterial sessions.Before/after PCA colored by batch and a summary CSV.The metadata column to treat as batch.
Dispersion and ParametersQCFits the DESeq2 model and estimates dispersions. This is the step that prepares everything downstream.A mean-dispersion plot and normalized-count layers.min mean (0.5), min dispersion, max dispersion.
Sample to Sample SimilarityQCChecks how similar samples are, to spot outliers or mix-ups.Pearson correlation and Euclidean distance heatmaps and a CSV.None. Groups the samples by condition, or without one by the design's first factor with two or more values.
Principal Component AnalysisQCVisualizes overall sample structure in 2D.A PC1-vs-PC2 scatter with percent variance, and a CSV.The metadata column to color by.
Differential Gene Expression AnalysisAnalysisIdentifies genes significantly up- or down-regulated between two conditions, using DESeq2.A results table (mean, log2 fold-change, adjusted p-value) and a count of significant genes.A metadata column and exactly two of its values to contrast. Each needs at least 2 replicates.
Time CourseAnalysisFinds the genes whose expression changes over time (DESeq2's likelihood ratio test) and groups them by the shape of their change. With one other factor in the design, such as a genotype, also finds the genes whose time profile differs between its groups.One panel per group of genes with the same shape (each gene and the group's median over time), a table of every gene with its test, group and mean expression at each time point, and a summary.The metadata column with the time points: at least three, each with at least 2 replicates.
HeatmapAnalysisShows expression of genes you specify across samples.A clustered, z-scored heatmap with condition annotation.Required: genes of interest; the column to annotate by.
BoxplotsAnalysisCompares expression of specific genes across groups, with per-sample points.Boxplots of log2-normalized expression.Required: genes of interest; the grouping column.
Volcano PlotAnalysisShows significance versus fold-change across all genes, with one panel per comparison you choose.A volcano plot (one panel per comparison) with significant genes highlighted and top genes labeled.Parameter to compare; one Reference level; one or more levels under Compare against (one panel per level). Cutoffs padj < 0.05 and |log2FC| >= 0.5. Optional genes to label.
MA PlotAnalysisShows mean expression versus fold-change, with one panel per comparison you choose.An MA plot (one panel per comparison) with significant genes highlighted and top up/down genes labeled.Parameter to compare; one Reference level; one or more comparison levels. Significance cutoff.
Gene Set Enrichment AnalysisAnalysisTests whether a named gene set is enriched among genes ranked by differential expression.A running-enrichment-score plot with NES and FDR.Required: a gene-set library (for example Reactome_Pathways_2024) and optional term; a column and two values.
GSEA DotplotAnalysisSummarizes several enriched gene sets as a dotplot.A dotplot of the top terms by significance.Required: a gene-set library; number of terms; a column and two values.
GO Term EnrichmentAnalysisFinds Gene Ontology terms over-represented among your differential genes.A GO enrichment result (Fisher's exact test, FDR-corrected).GO domain (BP / MF / CC / all); FDR threshold; number of terms; a column and two values.
Functional Categories (COG)AnalysisBacteria only. Summarizes your differential genes by the 26 standard bacterial functional classes (Clusters of Orthologous Genes) and the 79 COG pathways. A clean-licensed, KEGG-free alternative to KEGG pathways.A bar chart of COG categories among differential genes (colored by FDR, with an asterisk on over-represented categories) beside the COG pathways, split into genes higher in each group; a results CSV, and the pathway table under Data Summary.A reference genome set for the session (Microbial setup); a metadata column and two values, the same contrast as differential expression; significance 0.05.
Genome MapAnalysisBacteria only. Shows where on the genome your differential genes are, and lists the changed regions: runs of neighbouring genes that changed the same way, such as operons, prophages or islands.The chromosome and each plasmid as a circle, with changed genes drawn outwards or inwards by direction and the most changed genes named; a table of every placed gene, and the changed regions under Data Summary.The genome's annotation with gene positions (Microbial setup); a metadata column and two values, the same contrast as differential expression; significance 0.05.
STRING AnalysisAnalysisBuilds and interprets a protein-protein interaction network for a gene list.A STRING network, modules, and functional enrichment.Required: genes of interest; organism taxon; a column and two values.
Pathway Map AnalysisAnalysisEukaryotes only. Overlays your differential expression onto a Reactome pathway diagram. Not available for bacteria, because Reactome has no prokaryote pathway coverage.A pathway map (SVG) with up-regulated genes in red and down-regulated in blue.Required: a Reactome pathway ID or name; significance cutoff; a column and two values.
Custom plotAnalysisMakes any plot you describe in plain English from your data. It only reads the data and never changes it.The plot you described.Required: a description of the plot (what goes on each axis, how to group or color it).
Enrichment data sources

GSEA libraries come from Enrichr / modEnrichr, GO annotations from UniProt GOA and QuickGO, COG categories and pathways from NCBI's COG database, resistance and virulence genes from NCBI's AMRFinderPlus, pathway maps from Reactome, and interaction networks from STRING. baSeq selects the right references for your chosen organism.

Every kind of analysis baSeq runs: baseq.bio/analyses

baSeq ApS · CVR 44568691 · Vermlandsgade 51, 2300 Copenhagen, Denmark · [email protected]

For research use only. Not for diagnostic or clinical decisions.