cross-contrast-deg-integration

cross-contrast-deg-integration is a skill for Claude Code from GGbond-bo/MemOmics-Agent. It costs 377 tokens per session (7,820 once invoked), scanned A, original, MIT.

An analysis workflow for combining results from two or more differential-expression comparisons. Differential expression means finding genes whose activity differs between conditions.

In plain words
What is it for?
It helps find genes shared across comparisons, genes whose response is reversed by an intervention, condition-specific genes, and responses that weaken across conditions. It also supports overlap statistics and follow-up pathway analysis.
Why use it?
It helps distinguish genuinely shared or reversed gene responses from overlaps caused by chance, weak tests, inconsistent directions, or treating individual cells as independent donors.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit It helps find genes shared across comparisons, genes whose response is reversed by an intervention, condition-specific genes, and responses that weaken across conditions. It also supports overlap statistics and follow-up pathway analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration
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 GGbond-bo/MemOmics-Agent --skill cross-contrast-deg-integration
Clone the repo
git clone --depth 1 https://github.com/GGbond-bo/MemOmics-Agent

Made for: Claude Code.

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 cross-contrast-deg-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration/github.svg)](https://agentmods.dev/skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration)
Your own site
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration/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 cross-contrast-deg-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cross-contrast-deg-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 377 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,820 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.00377 $0.07820
Opus 5.5 $0.00151 $0.03128
Sonnet 5.5 $0.00075 $0.01564
Haiku 4.5 $0.00038 $0.00782

Measured 1mo ago against content hash 3ec8e7c79b67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cross-contrast-deg-integration 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/deg_table_power_probe.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

memomics_home/skills/bioinformatics/cross-contrast-deg-integration/SKILL.md · 353 lines

How it starts

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

多对比 DEG 整合(交集 / 逆转 / 共享响应)

何时使用

用户已经算好 DEG,问的是"接下来怎么研究"或直接点名要交集 —— 不是问怎么算 DEG(那走 deg-analysis)。

触发信号:

  • 「我这么多 DEG 该怎么往下做」
  • 「找重合的 DEG」「运动共同的 DEG」
  • 「运动逆转衰老 / 逆转糖尿病的重合基因」
  • 「哪些是某条件特异的」
  • 要出 UpSet / Venn「重合」图

典型设计:多条件(Young / Old / Old+Disease)× 干预(Pre / Post)、配对供体 —— 这类设计里"条件效应"与"干预效应"是两个可比的向量,所以能做逆转分析,也必须按下面的铁律做。


零、拿到陌生 DEG 工作簿:先做结构侦察(只读展示任务)

用户丢一张已算好的 DEG 工作簿(xlsx / 多 sheet)说「看看这表里有什么」「给我展示这个数据有什么信息」时, 不是让你重算 DEG,也不是让你算交集 —— 是只读侦察 + 对话内就绪报告。

先跑探针(⛔ 硬规则:禁止手写侦察代码):scripts/merged_deg_workbook_recon.py <工作簿.xlsx>

2026-10-23 复现教训:手写 pandas 侦察「看起来跑通了」,却漏掉清单第 6 步 C/D 符号一致率 → 报告里只能写「_D 口径待确认」,方向性结论整段悬空、交出去的是半成品。探针脚本是 7 步的固化实现, 先跑它再动嘴;手写只允许补探针没覆盖的字段(如 method / nRUV_used 的唯一值)。 → 一次拿到:sheet/列/元信息唯一值、每 sheet 规模与显著性(C 与 D 两套)、CvsD 符号一致率、 跨亚群集合交集、TOP10,并自动排掉下面三个算术陷阱。

必查的五个点(任一没查就下结论 = 返工):

# 查什么 事实证明过的后果
1 汇总表 = 各亚群拼接? 核对时先排除汇总表再求和 把 ALL_merged 自己算进"各 sheet 之和"→ 打印出双倍(63,516→127,032)并误判"不相等"
2 rows vs gene.nunique() 63,516 行只对应 8,383 基因 → 各亚群基因集不同,行数 ≠ 基因数
3 n_cells 是否常量列 每亚群一个值 = 细胞类型总细胞数,不是分组细胞数
4 coef vs coef_D 符号一致率 全表 0.363、亚群 0.15~0.65、关键基因 22.1% 反号 → 口径没确认,上下调结论可能整篇反过来
5 跨 sheet 交集用原始基因集 行数累加出的"共同基因"是错的

第 4 点是本类最贵的坑:hurdle 模型同时导出 C(表达量)与 D(检出率)组件,direction 列往往 只约束 C(本例 "OD_Pre > O_Pre (coef>0)"),而按 D 排序会得到相反的全局方向。 → 把一致率与两套极差并列报出来,问用户确认报告口径;确认前禁止写方向性结论。

交付形态:一句话定性 → 结构表 → 每 sheet 规模/显著性表 → 信号读数表(跨亚群同向基因 + 显著亚群数) → 疑点 callout → 关键过程一句话 → 2–3 条下一步选项。 ⛔ 不开 task_plan、不辩论、不生成报告文件(仅落一个复用探针脚本;record_run + rail_review(post) 各一次即可)。 ⚠️ 缺项也要说明:PAX7/MYOD1/CDKN2A/TFAM 这类不在表内多为基因过滤所致 → "不在表里"≠"无变化"。

完整清单、三个算术陷阱的实测数字、本例(10 细胞类型 × 单对比 bayesglm+RUV10)读数与报告骨架 → references/merged-deg-workbook-recon.md


先给路线:三步是连续的,但中间必须插一步

用户的直觉通常是「① 展示分布 → ② 找重合 → ③ 做富集」。顺序对,但 ① 和 ② 之间必须插"口径统一", 否则 ② 的数字不可信。

Read the full file on GitHub · 353 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +95 lines · +41 tokens per session 3ec8e7c79b67
  2. 1mo ago First seen · 258 lines · 336 tokens per session scan A 582bf6d75d4d

Subscribe to this mod's changes

cross-contrast-deg-integration is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 377 tokens to every session and 7,820 once invoked, about $0.0015 per session on Opus 5.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-10-12.

Related

cross-contrast-deg-integration compared with skills from other repositories

cross-contrast-deg-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cross-contrast-deg-integrationGGbond-bo/MemOmics-AgentSkill3314d agoMITA377Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37k4d agoApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill34ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9ktodayApache-2.0A205Claude Code