pydeseq2

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

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Zehong-Wang/Kosmos --skill pydeseq2-zehong-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pydeseq2
Source: https://github.com/Zehong-Wang/Kosmos/tree/main/kosmos-claude-scientific-skills/scientific-skills/pydeseq2
Command: npx skills add https://github.com/Zehong-Wang/Kosmos --skill pydeseq2-zehong-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pydeseq2, pandas, matplotlib, numpy, scikit-learn, scipy, anndata, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of differential gene expression analysis from bulk RNA-sequencing data, enabling researchers to identify key genes that change between experimental conditions.

Core Features & Use Cases

  • Differential Expression Analysis: Identifies genes with statistically significant expression changes.
  • RNA-seq Data Processing: Handles count data, normalization, and statistical modeling.
  • Use Case: A biologist wants to compare gene expression between cancer cells and normal cells. They can use this Skill to input their RNA-seq count data and metadata, and receive a list of genes that are significantly up- or down-regulated in cancer cells.

Quick Start

Run a standard differential expression analysis by providing your counts and metadata files.

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 RNA-seq count data?

Differential gene expression analysis on RNA-seq count data uses the DESeq2 statistical model to normalize counts and identify significantly up- or down-regulated genes between experimental conditions. You provide count matrices and sample metadata to generate results tables and plots.

Can I use Python DESeq2 for multi-factor experimental designs?

Python DESeq2 supports both single-factor and multi-factor experimental designs for RNA-seq differential expression. It applies Wald tests and FDR correction to the count data to identify statistically significant gene expression changes across multiple conditions.

What do I need to run differential expression analysis on bulk RNA-seq data?

Running differential expression analysis on bulk RNA-seq data requires two main inputs: a count matrix containing gene expression counts and a metadata file describing the experimental conditions for each sample.

Does pydeseq2 work with pandas and anndata for RNA-seq data processing?

Pydeseq2 works with pandas and anndata for handling RNA-seq count data and sample metadata. It also integrates with numpy, scipy, scikit-learn, and matplotlib for statistical modeling and generating visualizations.

How does DESeq2 identify differentially expressed genes between cancer and normal cells?

DESeq2 identifies differentially expressed genes by modeling RNA-seq count data, applying a Wald test to compare conditions like cancer and normal cells, and using FDR correction to adjust p-values for false positives.

Are there limitations when analyzing RNA-seq count data with a Python DESeq2 implementation?

This Python DESeq2 implementation processes bulk RNA-seq count data and requires count matrices rather than raw sequencing reads. It is designed for standard differential expression workflows and outputs results tables with statistical significance metrics.