differential-expression — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited differential-expression (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.tsvbaseMean, log2FoldChange, pvalue, and padjpydeseq2~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.