bulk-rnaseq-counts-to-de-deseq2

bulk-rnaseq-counts-to-de-deseq2 is a skill for Claude Code, Codex from hossainlab/omics-skills. It costs 141 tokens per session (2,686 once invoked), scanned A, original, MIT.

A workflow for finding genes whose activity differs between experimental groups in bulk RNA sequencing data, using DESeq2 in R. Bulk RNA sequencing measures gene activity across a mixed sample rather than one cell at a time.

In plain words
What is it for?
Use it with count matrices or outputs from tools such as Salmon, Kallisto, featureCounts, or SummarizedExperiment, including designs with batches, paired samples, interactions, or several factors.
Why use it?
It provides established setup, filtering, comparison, and result-extraction patterns for turning read counts into statistically tested gene differences.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with count matrices or outputs from tools such as Salmon, Kallisto, featureCounts, or SummarizedExperiment, including designs with batches, paired samples, interactions, or several factors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2
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.

Any agent
npx skills add hossainlab/omics-skills --skill bulk-rnaseq-counts-to-de-deseq2
Clone the repo
git clone --depth 1 https://github.com/hossainlab/omics-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bulk-rnaseq-counts-to-de-deseq2

README.md
[![agentmods](https://agentmods.dev/badge/skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2/github.svg)](https://agentmods.dev/skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2)
Your own site
<a href="https://agentmods.dev/skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2"><img src="https://agentmods.dev/badge/skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bulk-rnaseq-counts-to-de-deseq2

Your own site · 80×15
<a href="https://agentmods.dev/skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2"><img src="https://agentmods.dev/badge/skills/hossainlab/omics-skills/bulk-rnaseq-counts-to-de-deseq2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,686 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00141 $0.02686
Opus 5 $0.00071 $0.01343
Sonnet 5 $0.00028 $0.00537
Haiku 4.5 $0.00014 $0.00269

Measured 12d ago against content hash 641b0498d3b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

bulk-rnaseq-counts-to-de-deseq2 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 12d ago.

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/bulk-rnaseq-counts-to-de-deseq2/SKILL.md · 422 lines

How it starts

The opening of the file, as written. The whole thing — 422 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DESeq2 Comprehensive Reference

Complete code patterns for DESeq2 differential expression analysis. Adapt these examples to your experimental design.

Decision-making: see decision-guide.md | Errors: see troubleshooting.md

Complete Standard Workflow

library(DESeq2)
library(apeglm)

# 1. Create DESeqDataSet
dds <- DESeqDataSetFromMatrix(countData = counts, colData = coldata, design = ~ condition)

# 2. Pre-filter low counts
keep <- rowSums(counts(dds)) >= 10
dds <- dds[keep,]

# 3. Set reference level
dds$condition <- relevel(dds$condition, ref = 'control')

# 4. Run DESeq2 pipeline
dds <- DESeq(dds)

# 5. Extract results
res <- results(dds)

# 6. Apply LFC shrinkage
resLFC <- lfcShrink(dds, coef = 'condition_treated_vs_control', type = 'apeglm')

# 7. Get significant genes
sig <- subset(res, padj < 0.05 & abs(log2FoldChange) > 1)

Design Formulas

Simple Two-Group

design = ~ condition

Use: Single factor, no batch effects, most common starting point.

Batch Correction

design = ~ batch + condition

Use: Multiple sequencing runs, PCA shows batch clustering. Requirement: each condition must have samples in each batch (not confounded).

Paired Samples

design = ~ individual + condition

Use: Before/after treatment, tumor vs normal from same patient. Benefit: controls individual variation, increases power.

Interaction

design = ~ genotype * treatment
# Expands to: ~ genotype + treatment + genotype:treatment

Use: Test if treatment effect differs by genotype/sex/age.

Extract results:

res_interaction <- results(dds, name = "genotypeMutant.treatmentdrug")
res_treatment_WT <- results(dds, name = "treatment_drug_vs_control")

Multi-Factor

design = ~ sex + age_group + treatment

Use: Multiple confounders to adjust for. Requirement: ≥3 samples per coefficient, variables not confounded.

No-Intercept

design = ~ 0 + group

Use: Direct comparisons between any groups.

Read the full file on GitHub · 422 lines

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. 12d ago First seen · 422 lines · 141 tokens per session scan A 641b0498d3b9

Subscribe to this mod's changes

bulk-rnaseq-counts-to-de-deseq2 is a skill published in the GitHub repository hossainlab/omics-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 141 tokens to every session and 2,686 once invoked, about $0.0007 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

genomic-intelligence

Predict regulatory features, gene structure, and expression directly from DNA sequence using Genomic Intelligence's hosted transformer DNA language models — no local GPU or model weights. Six tasks over a REST API and a hosted MCP server (keyless public demo): promoter regions, splice donor/acceptor sites, enhancer…

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

torch-geometric

PyTorch Geometric (PyG) for graph neural networks — node/link/graph classification, message passing (GCN, GAT, GraphSAGE, GIN), heterogeneous graphs, neighbor sampling, and custom datasets. Use when working with torchgeometric, not for general NetworkX analytics or non-graph PyTorch models.

K-Dense-AI/scientific-agent-skills · 71 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

bulk-rnaseq

End-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, featureCounts), assembles a gene-level counts matrix, then hands off to differential expression (pydeseq2), pathway/GSEA enrichment (pathway-enrichment), and…

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

aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard…

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

deepchem

Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…

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