Welcome to the Differential Expression Tool by the Molecular and Genomics Informatics Core (MaGIC).
This is the DE engine of the MaGIC bulk-expression pipeline. Upload a raw count matrix
and sample metadata, build a design, and run DESeq2, edgeR-GLM, or limma-voom. It produces a
results table per contrast — gene, baseMean, log2FoldChange, lfcSE, stat, pvalue, padj — that drops
straight into magic-volcano, magic-heatmap, and magic-setcomparison.
Small-to-moderate sample sizes (~3–10 per group). Shrunken fold-change estimates and the most permissive about low counts. The default choice for most experiments.
Flexible designs, robust to complex multi-factor models, with power comparable to DESeq2 in most settings.
Larger sample sizes (>10 per group). Fast and well-calibrated when you trust the mean-variance assumption.
All three normalize raw counts internally — DESeq2 uses median-of-ratios; edgeR and limma-voom use TMM. Feed this tool raw integer counts, not the normalized output of magic-qc.
In Setup & Run → Design, add your batch variable as a covariate. The model handles batch within the statistical framework — no counts modified, fewer assumptions, no inflated Type I error. Try this first for any DE analysis.
Pre-correcting the counts (Setup & Run → Batch Correction) is appropriate only when batch is severely confounded with biology, when the covariate approach produces unstable fits, or when you need a batch-corrected count matrix as an output artifact for visualization / clustering tools that cannot model batch themselves. ComBat-seq discards information and can inflate false positives if used unnecessarily — don't reach for it by default.
GeneID, Control1, Control2, Treat1 G0001, 149, 122, 218 G0002, 409, 151, 46
Sample, Condition, Batch Control1, Control, B1 Treat1, TreatA, B2
Maps gene IDs to symbols so the results tables carry a Symbol column for downstream annotation.
GeneID, Symbol G0001, TP53 G0002, EGFR
Demo data is loaded by default: 600 genes × 12 samples in 3 conditions (Control / TreatA / TreatB), with a partially confounded batch and ~100 truly DE genes per treatment. Configure the design below and click Run.
Flip the switch above to upload your own counts + metadata.By default, every non-reference level of the primary condition is compared against the reference. Add custom level-vs-level comparisons below.
Replicates per level of the primary condition — a quick check on the power available for each contrast.
Each contrast tab has its own padj and |log2FC| sliders driving its live 'n significant' badge and filtered download.