Python DESeq2 analysis
Runs PyDESeq2 differential expression on RNA-seq counts in Python, with checks so results are sound.
Claude's review
7/10 Careful, statistically literate PyDESeq2 workflow with real pitfalls, plus a self-promotional citation block and bundled-file dependencies.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Performs bulk RNA-seq differential expression analysis with PyDESeq2, including count validation, formula designs, explicit contrasts, Wald tests, FDR correction, coefficient-matched LFC shrinkage, and result visualization. Use for PyDESeq2 or Python DESeq2 workflows with biological replicates.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: pydeseq2
description: Performs bulk RNA-seq differential expression analysis with PyDESeq2, including count validation, formula designs, explicit contrasts, Wald tests, FDR correction, coefficient-matched LFC shrinkage, and result visualization. Use for PyDESeq2 or Python DESeq2 workflows with biological replicates.
allowed-tools: Read Write Edit Bash
compatibility: Requires Python >=3.11 and PyDESeq2 0.5.4. Tested current stack uses Python 3.13 and AnnData 0.13.4 (which requires Python >=3.12). Local analyses need no credentials or network; installation and upstream example-data downloads need network access.
license: MIT license
metadata:
version: "1.7"
skill-author: K-Dense Inc.
last-reviewed: "2026-10-01"
upstream-version: "0.5.4"
---
# 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](https://github.com/scverse/PyDESeq2/releases/tag/v0.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](references/api_reference.md) for supported calls,
AnnData storage, and source/runtime verification limits.
## Analysis contract
1. Establish the experimental unit, count provenance, sample exclusions, reference
levels, and intended comparison before fitting. Use nonnegative integer counts
in **samples × genes** order, with unique sample/gene IDs. TPM, FPKM, log data,
VST data, and library-normalized counts are not model inputs. Integer checks
alone cannot establish raw-count provenance. Approved estimated-count imports
need an explicit upstream conversion and offset/length-correction policy.
2. Require equal sample sets and reorder metadata to the count index. Resolve
unmatched IDs and missing design annotations explicitly; never silently take
an intersection. Determine orientation from the file schema, not its shape.
3. Apply a prespecified gene prefilter after intentional sample exclusions. Total
counts >=10 is a small example rule, not a universal biological threshold.
...From K-Dense-AI's repository, MIT licence.
Related skills
-
Checked
Research gap finder
Finds related papers and open source code on a topic and checks with web search what research is missing.
7/101 credit -
Checked
Academic paper writing
Writes and revises academic paper sections, keeps notation consistent and fixes LaTeX builds and templates.
7/101 credit -
Checked
Citation claim checker
Checks each claim in a manuscript against its cited source and flags unsupported ones before submission.
8/101 credit -
Checked
Systematic literature review
Runs a systematic literature review with a search log, source screening, synthesis and checked citations.
8/101 credit -
Checked
Paper figure planning
Plans manuscript figures around one main claim each, with panel roles and legends that match your text.
7/101 credit -
Checked
Citation Checker
Checks every reference in your paper is real and accurately described, then fixes the bibliography errors.
8/101 credit