Reproducible RNA-seq Service Workflow
I built a compact Nextflow workflow around a paired differential-expression question in the public GSE52778 airway dataset.
| Cell line | Untreated | Treated |
|---|---|---|
| N61311 | SRR1039508 | SRR1039509 |
| N052611 | SRR1039512 | SRR1039513 |
| N080611 | SRR1039516 | SRR1039517 |
| N061011 | SRR1039520 | SRR1039521 |
What I was asked
This project begins with processed gene counts from the airway package.
Raw FASTQ quality control, alignment and quantification would be a separate upstream service.
What I did
- Validate the service intake
The first process checks that the sample sheet contains exactly eight unique samples, four complete untreated/treated pairs, the correct accession and the declared processed-count input type.
- Run the paired analysis
DESeq2 fits the declared ~ cell + dex design, applies a fixed low-count rule and reports the dexamethasone-treated versus untreated contrast while controlling for the four cell-line pairs.
- Check the result contract
A separate validator checks result columns, adjusted-p-value filtering, model metadata and the expected positive CRISPLD2 direction so a reversed contrast or incomplete handoff is caught explicitly.
- Build the handover
The final process assembles result tables, QC plots, metadata, session information, interpretation notes and a provenance manifest containing software versions and SHA-256 hashes.
What it changed
The project records the dataset accession, Git commit, container references, package versions and file hashes alongside the result tables and plots.