Plan an RNA-seq differential expression analysis
A reproducible, step-by-step RNA-seq workflow from raw reads to differentially expressed genes, with QC checkpoints and common pitfalls flagged.
The prompt
Help me plan and run an RNA-seq differential gene expression analysis.
Organism and reference: [e.g. "human, GRCh38 + GENCODE"]
Experimental design: [conditions, number of biological replicates per group, any batches, paired samples]
Library and sequencing: [polyA or rRNA-depleted, stranded or not, single or paired-end, read length, depth]
Data I have now: [raw FASTQ / count matrix / aligned BAMs]
Tools and environment: [R, Python, command line, HPC, Galaxy]
Main question: [e.g. "which genes change between treated and control at 24h"]
Give me:
1. Design check: whether my replicates and batches support the comparison I want, and the design formula to use (e.g. ~ batch + condition).
2. Workflow with a recommended tool at each step and why: QC (FastQC/MultiQC), trimming if needed, alignment or pseudo-alignment, quantification, import into R.
3. QC checkpoints: what to look at (mapping rate, library size, PCA, sample clustering, outliers) and what values should worry me.
4. Differential expression: DESeq2 or edgeR/limma-voom for my design, filtering low counts, shrinkage of fold changes, multiple testing correction, and how to set thresholds.
5. Visualization: PCA, MA plot, volcano plot, heatmap of top genes, with example code.
6. Next steps: enrichment analysis options and how to interpret them cautiously.
7. Pitfalls: confounded batches, too few replicates, using normalized counts as input to DESeq2, over-reading p-values.
Write code in [R/Python] with comments, and keep everything scripted so the analysis is reproducible. Do not invent results; tell me what to check in my own output.
Highlighted [brackets] are blanks to replace with your own details.
Fill in the blanks and use this promptMore Data & Analysis prompts
What to fill in
- e.g. "human, GRCh38 + GENCODE"
- raw FASTQ / count matrix / aligned BAMs
- R, Python, command line, HPC, Galaxy
- e.g. "which genes change between treated and control at 24h"
- R/Python
How this prompt is built
This prompt follows the Few-Shot structure (Few-shot prompting). A few-shot prompt includes one or more worked examples of the input and the output you want, so the model can copy the pattern instead of guessing it.
Related prompts
- Explain my Excel model to a non-technical executiveTurns a complex spreadsheet or model into a plain-English walkthrough an executive can follow, trust, and question.
- Run a fair lending review of loan pricing and approval dataA structured fair lending analysis plan and readout that tests for disparities in approvals, pricing, and exceptions.
- Analyze my clinic's claim denials and revenue cycle KPIsTurns denial and A/R data into root causes, benchmark gaps, and a prioritized fix list for the front end, coding, and billing teams.
- Analyze my fleet's CSA safety scores and plan how to lower themExplains which safety categories are driving high scores, which inspections and crashes matter most, and what to fix first.