AGENT SKILL
rnaseq-de
Differential expression analysis for bulk RNA-seq and pseudo-bulk count matrices with QC, PCA, and contrast testing.
- License 许可
- MIT
- 最近更新
- 2026-06-24
- Stars
- ★ 67
- Forks
- 24
01 前言 Front Matter
- name
- rnaseq-de
- tags
- [ "rna-seq", "differential expression", "bulk", "pseudo-bulk", "transcriptomics", "DESeq2", "PyDESeq2", "QC", "PCA" ]
- version
- 0.1.0
- metadata
- { "openclaw": { "os": [ "darwin", "linux" ], "emoji": "?", "always": false, "install": [ { "bins": [], "kind": "uv", "package": "pandas" }, { "bins": [], "kind": "uv", "package": "numpy" }, { "bins": [], "kind": "uv", "package": "matplotlib" }, { "bins": [], "kind": "uv", "package": "scikit-learn" } ], "homepage": "https://github.com/ClawBio/ClawBio", "requires": { "env": [], "bins": [ "python3" ], "config": [] } } }
- description
- Differential expression analysis for bulk RNA-seq and pseudo-bulk count matrices with QC, PCA, and contrast testing.
- trigger_keywords
- [ "rna-seq", "differential expression", "bulk RNA", "pseudo-bulk", "volcano plot", "ma plot", "count matrix", "DESeq2", "pydeseq2" ]
02 资源文件 8
- 其他customize.toml1.6 KB
- 参考文档research.template.md581 B
- 参考文档technical-steps/step-01-init.md5.5 KB
- 参考文档technical-steps/step-02-technical-overview.md9.2 KB
- 参考文档technical-steps/step-03-integration-patterns.md9.8 KB
- 参考文档technical-steps/step-04-architectural-patterns.md7.0 KB
- 参考文档technical-steps/step-05-implementation-research.md7.6 KB
- 参考文档technical-steps/step-06-research-synthesis.md20.8 KB
03 SKILL.md 正文
? RNA-seq Differential Expression
This skill performs differential expression on bulk RNA-seq or pseudo-bulk count matrices.
Core Capabilities
- Input validation for count matrix and sample metadata
- Pre-DE QC (library size, detected genes, low-count filtering)
- PCA visualisation on normalized expression
- Differential expression from formula + contrast
- Volcano and MA plots
- Markdown report with reproducibility files
Input Contract
- Count matrix (
.csvor.tsv): rows are genes, columns are samples, first column is gene identifier - Metadata table (
.csvor.tsv): one row per sample, must includesample_id - Formula: e.g.
~ conditionor~ batch + condition - Contrast:
factor,numerator,denominator(e.g.condition,treated,control)
Output Structure
rnaseq_de_report/
├── report.md
├── figures/
│ ├── pca.png
│ ├── volcano.png
│ └── ma_plot.png
├── tables/
│ ├── qc_summary.csv
│ ├── normalized_counts.csv
│ └── de_results.csv
└── reproducibility/
├── commands.sh
├── environment.yml
└── checksums.sha256
Usage
python rnaseq_de.py \
--counts counts.csv \
--metadata metadata.csv \
--formula "~ batch + condition" \
--contrast "condition,treated,control" \
--output report_dir
Safety
- Local-only processing
- Warn before overwriting existing output
- Report-level disclaimer required