pydeseq2

Perform end-to-end differential expression analysis on bulk RNA-seq count data with PyDESeq2 workflows.

4|1|Updated Jun 18, 2025
One-click install
npx skills add https://github.com/HolobiomicsLab/Toolomics --skill pydeseq2-holobiomicslab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pydeseq2
Source: https://github.com/HolobiomicsLab/Toolomics/tree/main/mcp_host/skills/scientific-skills/scientific-skills/pydeseq2
Command: npx skills add https://github.com/HolobiomicsLab/Toolomics --skill pydeseq2-holobiomicslab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pydeseq2, pandas, numpy, matplotlib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

PyDESeq2 provides an end-to-end, Python-based workflow for differential expression analysis of bulk RNA-seq count data, replacing R-based DESeq2 pipelines with a Python-native implementation.

Core Features & Use Cases

  • Complete DESeq2-style pipeline in Python: normalization, dispersion estimation, LFC fitting, and Wald testing.
  • Supports single-factor and multi-factor designs, including batch effects and continuous covariates.
  • LFC shrinkage for visualization and ranking, with unshrunk p-values preserved for significance.
  • Export results, plots, and intermediate objects for reproducible analyses across experiments.

Quick Start

Run the included analysis script with your counts and metadata to execute a full DESeq2 workflow.

Frequently Asked Questions about pydeseq2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run differential expression analysis on RNA-seq count data in Python?

You can perform end-to-end differential expression analysis on bulk RNA-seq count data by running the included analysis script with your counts and metadata, executing normalization, dispersion estimation, and Wald testing.

Can I use Python for RNA-seq differential expression with multi-factor designs and batch effects?

Yes, you can use this Python-based RNA-seq differential expression workflow to handle both single-factor and multi-factor designs, including the evaluation of batch effects and continuous covariates in your bulk RNA-seq studies.

What is LFC shrinkage in RNA-seq differential expression and why preserve unshrunk p-values?

LFC shrinkage in RNA-seq differential expression reduces noise in log2 fold-change estimates for visualization and ranking, while preserving unshrunk p-values ensures statistical significance remains accurate for identifying truly differentially expressed genes.

What is the best way to replace R-based DESeq2 pipelines with a Python-native implementation?

The best way to replace R-based DESeq2 pipelines is using this Python-native implementation, which provides the same end-to-end differential expression workflow for bulk RNA-seq data without requiring an R environment, leveraging PyDESeq2, pandas, and numpy.

Do I need matplotlib to visualize RNA-seq differential expression results?

You do not strictly need matplotlib for core RNA-seq differential expression testing, but it is an optional dependency used to generate plots and visualizations alongside your exported analysis results and intermediate objects.

Why are my RNA-seq count normalization and dispersion estimation steps not working for multi-factor designs?

Normalization and dispersion estimation for multi-factor designs require properly formatted count matrices and metadata inputs; ensuring your batch effects and continuous covariates are correctly specified in the metadata resolves common workflow execution errors.