
If you're doing differential gene expression analysis in Python instead of R, this handles the full DESeq2 workflow from count matrices through statistical testing. You get Wald tests with FDR correction, batch effect control through multi-factor designs, optional apeGLM shrinkage for cleaner fold changes, and straightforward pandas integration. The workflow is pretty standard: load your counts and metadata, specify a design formula, fit the model with dds.deseq2(), then run statistical tests with contrast specifications. Works well for moving R-based RNA-seq pipelines to Python or when you need differential expression as part of a larger computational biology workflow. The main thing is making sure your count matrix is in the right orientation (samples by genes) and your metadata aligns properly.
$ npx -y skills add davila7/claude-code-templates --skill pydeseq2 --agent claude-codeInstalls into .claude/skills of the current project.
PyDESeq2 is a Python implementation of DESeq2 for differential expression analysis with bulk RNA-seq data. Design and execute complete workflows from data loading through result interpretation, including single-factor and multi-factor designs, Wald tests with multiple testing correction, optional apeGLM shrinkage, and integration with pandas and AnnData.
This skill should be used when:
For users who want to perform a standard differential expression analysis:
import pandas as pd
from pydeseq2.dds import DeseqDataSet
from pydeseq2.ds import DeseqStats
Sponsors