with one click
differential-expression
// Bulk transcriptomics differential expression with count-aware modeling, design validation, contrast handling, thresholded exports, and publication-ready DE figures.
// Bulk transcriptomics differential expression with count-aware modeling, design validation, contrast handling, thresholded exports, and publication-ready DE figures.
| name | differential-expression |
| description | Bulk transcriptomics differential expression with count-aware modeling, design validation, contrast handling, thresholded exports, and publication-ready DE figures. |
| tool_type | python |
| primary_tool | PyDESeq2 |
Reference examples assume:
pydeseq2 0.4+pandas 2.2+numpy 1.26+matplotlib 3.8+Verify before use:
python -c "import pydeseq2, pandas; print(pydeseq2.__version__, pandas.__version__)"Use this skill for count-based DE from bulk RNA-seq or similar count matrices when the user needs:
| Requirement | Recommendation |
|---|---|
| minimum replicates per group | >= 2 |
| preferred replicates per group | >= 3 |
| input values | raw integer counts |
results/de_results.tsvresults/de_ranked_genes.tsvfigures/volcano.pdffigures/ma_plot.pdfqc/sample_pca.pdffrom pydeseq2.dds import DeseqDataSet
from pydeseq2.ds import DeseqStats
dds = DeseqDataSet(
counts=counts_df,
metadata=metadata_df,
design_factors=["condition", "batch"],
)
dds.deseq2()
stats = DeseqStats(dds, contrast=("condition", "treated", "control"))
stats.summary()
res = stats.results_df.sort_values("padj")
res.to_csv("results/de_results.tsv", sep="\t")
Check:
Use raw counts, not TPM or log-normalized expression, for count-based DE frameworks.
Common reporting thresholds:
padj < 0.05abs(log2FoldChange) >= 1Export both the full table and a thresholded table.
At minimum:
Produce a ranked gene list sorted by signed effect or Wald statistic for enrichment workflows.
results/
āāā de_results.tsv
āāā de_significant.tsv
āāā de_ranked_genes.tsv
figures/
āāā sample_pca.pdf
āāā volcano.pdf
āāā ma_plot.pdf
qc/
āāā design_check.tsv
baseMean, log2FoldChange, pvalue, and padjpydeseq2Publication-quality PDF report generation using Typst templates. Produces professional scientific reports with colored section bands, styled tables, figure captions, callout boxes, and page headers/footers.
SEC (size-exclusion chromatography) analysis with peak detection, oligomer classification, and publication-quality PDF report generation via Typst templates. Triggers on "SEC", "size exclusion", "chromatography", "oligomer analysis", "protein assembly", "SEC report".
Browse and install community skills from the BioClaw Skills Hub. Use when a user's task is not covered by built-in skills, or when the user asks about available skills, advanced workflows, or specialized analysis pipelines. Triggers on "skills hub", "more skills", "install skill", "community skills", "find a skill for".
Audit or refresh a curated pack of eight high-signal omics runtime skills in a BioClaw installation. Use when the user wants stronger built-in guidance for common omics analyses inside agent containers without changing BioClaw source code. Ensures the eight runtime skill folders exist under `container/skills/` with the expected flat file layout.
ATAC-seq processing with assay QC, MACS3 peak calling, consensus peak matrices, differential accessibility, and motif or footprint follow-up.
Automated and marker-guided single-cell cell type annotation using CellTypist, marker review, reference transfer, and confidence-aware label curation.