pydeseq2

Automate differential gene expression analysis with DESeq2 in Python.

Updated May 17, 2026
One-click install
npx skills add https://github.com/galeep/plugin-place --skill pydeseq2-galeep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pydeseq2
Source: https://github.com/galeep/plugin-place/tree/main/plugins/sci-bioinformatics-genomics/skills/pydeseq2
Command: npx skills add https://github.com/galeep/plugin-place --skill pydeseq2-galeep

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the challenge of analyzing bulk RNA-seq count data for differential expression, offering a Python-based alternative to R's DESeq2 package.

Core Features & Use Cases

  • DESeq2 Implementation: Pythonic interface to DESeq2's functionality.
  • Differential Expression Analysis: Identify differentially expressed genes from RNA-seq data.
  • Use Case: A researcher needs to analyze RNA-seq data to identify genes differentially expressed between treatment and control groups. This Skill can automate the entire workflow from data loading to statistical testing.

Quick Start

Run the following Python command to perform a differential expression analysis with DESeq2 on your RNA-seq data:

python scripts/run_deseq2_analysis.py --counts counts.csv --metadata metadata.csv --design "~condition" --contrast condition treated control --output results/

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 data in Python?

You can perform differential gene expression analysis on RNA-seq data in Python by using PyDESeq2 to automate statistical testing across experimental conditions. This Skill handles the workflow from loading count data to identifying differentially expressed genes.

Can I use DESeq2 for RNA-seq differential expression without switching to R?

Yes, you can use DESeq2 for RNA-seq differential expression without R by leveraging this Python-based alternative. It provides a Pythonic interface to DESeq2's statistical functionality using PyDESeq2, pandas, and scipy.

What input data formats do I need to identify differentially expressed genes with DESeq2?

To identify differentially expressed genes with DESeq2, you need RNA-seq count data in a CSV file and a corresponding metadata CSV file. These inputs define the gene counts and experimental conditions for the differential expression analysis.

How do I specify treatment and control groups for bulk RNA-seq differential expression?

You specify treatment and control groups for bulk RNA-seq differential expression by defining a design formula and contrast arguments in the command line. The design parameter models the condition, while the contrast parameter sets the specific groups to compare.

Does PyDESeq2 integrate with anndata and scikit-learn for RNA-seq data processing?

Yes, PyDESeq2 integrates with anndata and scikit-learn for RNA-seq data processing. The Skill requires anndata for data structure management and scikit-learn alongside numpy and scipy for statistical analysis during differential expression testing.