pydeseq2-bulk-rna

A workflow for comparing gene activity between biological samples using bulk RNA sequencing data. It calculates changes, adjusts statistical results for false discoveries, and creates volcano plots, which show notable gene changes visually.

In plain words
What is it for?
Running differential gene-expression analysis on count and sample-description tables, then producing summaries and publication figures.
Why use it?
It removes repetitive analysis steps and helps organize statistical results and figures from gene-count data.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yulianuzhnenko/bioinformatics-agent-skills/pydeseq2-bulk-rna
Any agent
npx skills add YuliaNuzhnenko/bioinformatics-agent-skills --skill pydeseq2-bulk-rna
Clone the repo
git clone --depth 1 https://github.com/YuliaNuzhnenko/bioinformatics-agent-skills

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.00530
Opus 5 $0.00019 $0.00265
Sonnet 5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured yesterday against content hash 559cc5d14059, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pydeseq2-bulk-rna scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pydeseq2-bulk-rna/SKILL.md · 68 lines

What it actually says

Agent Skill: PyDESeq2 Bulk RNA-Seq Differential Expression Skill

Domain Version

📌 Description

Automated negative binomial differential gene expression analysis, log2 fold-change calculation, p-value adjustment (FDR), and Volcano plot generation.


🤖 Agent Execution Protocol

When an AI Agent is tasked with pydeseq2-bulk-rna:

  1. Input Validation: Verify that the required input files or coordinates are supplied.
  2. Environment Check: Ensure dependencies (PyDESeq2, DESeq2, Pandas, Plotly) are installed.
  3. Execution: Run the protocol pipeline snippet below.
  4. Output Generation: Produce actionable Markdown/JSON summaries with publication figures.

💻 Protocol Code Snippet

import pandas as pd
from pydeseq2.dds import DeseqDataSet
from pydeseq2.ds import DeseqStats

def run_dge(counts_df, metadata_df, design_factors="condition"):
    # Real PyDESeq2 Differential Expression Pipeline
    dds = DeseqDataSet(
        counts=counts_df,
        metadata=metadata_df,
        design_factors=design_factors
    )
    dds.deseq2()
    
    stat_res = DeseqStats(dds, contrast=["condition", "treated", "control"])
    stat_res.summary()
    return stat_res.results_df

📥 Input & Output Specifications

Input Contract

  • Target Files: Valid input data matching domain formats.
  • Parameters: Quality thresholds and cutoffs.

Output Contract

  • Results Table: Structured summary dataframe or matrix.
  • Visualization: Rendered SVG/PNG figures.

📄 License

Distributed under the MIT License. See LICENSE for details.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 68 lines · 38 tokens per session scan A 559cc5d14059

Subscribe to this mod's changes

pydeseq2-bulk-rna is a skill published in the GitHub repository YuliaNuzhnenko/bioinformatics-agent-skills (8 stars, last pushed 23d ago), licensed MIT. It adds 38 tokens to every session and 530 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data access, radiology (CT, MR, PET) or pathology AI training sets, metadata queries, visualization, or license checks — even when the user doesn't explicitly…

K-Dense-AI/scientific-agent-skills · 75 tokens

diffdock

DiffDock and DiffDock-L molecular docking. Use for protein-small-molecule pose prediction from PDB or sequence plus SMILES/SDF/MOL2, batch docking, virtual screening, and pose-confidence interpretation. Not for binding affinity prediction.

K-Dense-AI/scientific-agent-skills · 51 tokens

anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

K-Dense-AI/scientific-agent-skills · 63 tokens

bids

Use this skill when working with Brain Imaging Data Structure (BIDS) datasets: organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars…

K-Dense-AI/scientific-agent-skills · 80 tokens

citation-management

Comprehensive citation management for academic research. Search OpenAlex, PubMed, and Google Scholar for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or…

K-Dense-AI/scientific-agent-skills · 72 tokens

deeptools

NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps/profiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.

K-Dense-AI/scientific-agent-skills · 51 tokens