bulk-rnaseq
End-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, featureCounts), assembles a gene-level counts matrix, then hands off to differential expression (pydeseq2), pathway/GSEA enrichment (pathway-enrichment), and publication figures (scientific-visualization). Use whenever the user has bulk RNA-seq reads or quant output and wants a complete, reproducible differential-expression workflow — e.g. "analyze my RNA-seq", "FASTQ to DESeq2", "run nf-core/rnaseq", "STAR/Salmon quantification", "build a counts matrix for DESeq2", or "go from reads to differentially expressed genes and enriched pathways". Routes between an nf-core/rnaseq (Nextflow) path and a standalone STAR/Salmon path, and covers experimental design, strandedness, and QC gates. For single-cell RNA-seq use the scanpy skill instead.
Author
Category
Development ToolsInstall
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
Bulk RNA-seq — End-to-End Differential Expression Analysis Workflow
Skill Overview
The Bulk RNA-seq skill provides a complete, reproducible analysis workflow from raw FASTQ sequencing data to differentially expressed genes and enriched pathways, integrating quality control, alignment and quantification, count matrix construction, and statistical analysis.
Use Cases
Core Functions
build_counts_matrix.py to convert Salmon/STAR/featureCounts outputs into the integer counts matrix and metadata template required by PyDESeq2, handling key details such as gene ID mapping, selection of strandedness-specific columns, and rounding estimated counts to integers.Frequently Asked Questions
How many biological replicates are needed for RNA-seq analysis?
At least three biological replicates per group are required to achieve sufficient statistical power and stable dispersion estimates. Additional replicates are more important than deeper sequencing; with fewer than three replicates, it is almost impossible to obtain reliable differential expression results.
Should I use nf-core/rnaseq or perform a manual analysis?
Prefer nf-core/rnaseq (Path A)—it is a field-standard, audited, and citable workflow that integrates FastQC → trimming → STAR/Salmon → quantification → tximport → MultiQC in a single run. Manual analysis (Path B) is suitable for small numbers of samples, when you need to inspect each step in detail, or when running nonstandard steps unsupported by the workflow.
How can I determine RNA-seq strandedness?
Incorrect strandedness can silently result in the loss of approximately half of the reads. You can use Salmon’s
-l A to infer it automatically or confirm it from the experimental design. After the run, verify the proportion of assigned reads and compare the different column outputs from STAR/featureCounts. This skill provides detailed determination methods in references/design-and-qc.md.