pydeseq2

Performs differential gene expression analysis on bulk RNA-seq data using Python implementation of Ripser2.

1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Sologa/codex-pipeline --skill pydeseq2-sologa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pydeseq2
Source: https://github.com/Sologa/codex-pipeline/tree/main/.codex/skills/pydeseq2
Command: npx skills add https://github.com/Sologa/codex-pipeline --skill pydeseq2-sologa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the complex process of identifying differentially expressed genes from bulk RNA-seq count data, a critical step in understanding biological conditions.

Core Features & Use Cases

  • Differential Expression Analysis: Perform standard DESeq2 workflows in Python for RNA-seq data.
  • Statistical Rigor: Implements normalization, dispersion estimation, Wald tests, and FDR correction.
  • Visualization: Generates volcano and MA plots for easy interpretation of results.
  • Use Case: A researcher has RNA-seq data from treated and control cell lines and needs to identify genes that are significantly up- or down-regulated between the two conditions.

Quick Start

Run the pydeseq2 analysis script with your counts, metadata, and desired design and contrast.

Frequently Asked Questions about pydeseq2

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

FAQPage Schema
How do I perform differential gene expression analysis on bulk RNA-seq data in Python?

Differential gene expression analysis on bulk RNA-seq data in Python can be performed using a DESeq2 implementation that applies normalization, dispersion fitting, and Wald tests. You provide count data and metadata to identify statistically significant genes between experimental conditions.

Can I use multi-factor experimental designs for RNA-seq differential expression?

Yes, you can use multi-factor designs for RNA-seq differential expression by supplying the appropriate design formula and metadata. This allows the analysis to control for additional covariates while identifying genes that are significantly up- or down-regulated between specific conditions.

How do I generate volcano and MA plots for RNA-seq analysis results?

Volcano and MA plots for RNA-seq analysis results are generated automatically using matplotlib after running differential expression tests. These diagnostic visualizations help interpret gene significance and log2 fold changes, with optional LFC shrinkage applied for clearer presentation.

Does pydeseq2 apply FDR correction and Wald tests for RNA-seq count data?

Yes, pydeseq2 applies FDR correction and Wald tests to RNA-seq count data to ensure statistical rigor. This process estimates dispersion from the normalized counts, tests for significant expression changes, and corrects p-values to identify truly differentially expressed genes.

What is the best way to identify up-regulated and down-regulated genes from RNA-seq counts?

The best way to identify up-regulated and down-regulated genes from RNA-seq counts is to use a statistical workflow that fits dispersions and applies Wald tests. This method contrasts experimental conditions to calculate log2 fold changes and adjusted p-values for each gene.

What are the limitations of using Python for bulk RNA-seq differential expression instead of R?

Using Python for bulk RNA-seq differential expression provides a DESeq2 implementation but may lack the extensive package ecosystem found in R. However, it integrates natively with pandas and numpy, supporting seamless multi-factor design analysis and visualization within Python-based bioinformatics pipelines.