If you're doing differential expression analysis on bulk RNA-seq data in Python, this wraps the DESeq2 methodology into a pandas-friendly workflow. It handles the full pipeline from count normalization through Wald tests and FDR correction, with support for multi-factor designs when you need to control for batch effects or covariates. The workflow is straightforward: load your counts matrix and metadata, specify a design formula, run the fitting, then pull results with adjusted p-values. It includes optional apeGLM shrinkage for cleaner fold change estimates in visualizations. Good fit if you're migrating R-based DESeq2 workflows to Python or building RNA-seq pipelines that need to stay in the Python ecosystem.

skills.sh installs
2K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill pydeseq2 --agent claude-code

Installs into .claude/skills of the current project.

Files

PyDESeq2

Use this skill for bulk RNA-seq negative-binomial GLMs, with explicit biological replicates, covariates, and comparisons. Cells, sequencing lanes, and repeated measurements from the same donor are not independent biological replicates. Donor-level pseudobulk can be appropriate when its aggregation and design match the scientific question; this is not a single-cell per-cell testing workflow.

Current PyDESeq2 0.5.4 provides Wald tests and apeGLM-style coefficient shrinkage. Do not assume every feature or numerical result of current R DESeq2 is implemented identically. See API and tested versions for supported calls, AnnData storage, and source/runtime verification limits.

Analysis contract

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
AI & Agent Building, Data Science & ML
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1k-dense-ai avatarpymatgenk-dense-ai/scientific-agent-skillsAnalyze, validate, convert, and transform materials structures and computed materials data with current pymatgen APIs, including local phase diagrams, symmetry 2Kskills.sh installs
2k-dense-ai avatartorchdrugk-dense-ai/scientific-agent-skillsBuild and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, pr2Kskills.sh installs
3k-dense-ai avatarfluidsimk-dense-ai/scientific-agent-skillsPlan, configure, inspect, restart, and analyze bounded FluidSim computational-fluid-dynamics simulations with explicit numerical-validity and HPC safety checks.2Kskills.sh installs
4k-dense-ai avatarimaging-data-commonsk-dense-ai/scientific-agent-skillsQuery and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data 2Kskills.sh installs
5k-dense-ai avatarpaperzillak-dense-ai/scientific-agent-skillsChat with your agent about projects, recommendations, and canonical papers in Paperzilla. Use when users ask for recent project recommendations, canonical paper2Kskills.sh installs
6k-dense-ai avatarzarr-pythonk-dense-ai/scientific-agent-skillsChunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I/O, S3/GCS via fsspec, NumPy/Dask/Xarray compatible, for large-scale scientif2Kskills.sh installs