dnbc4tools-analysis-workflow

dnbc4tools-analysis-workflow is a skill for Claude Code from GGbond-bo/MemOmics-Agent. It costs 217 tokens per session (8,837 once invoked), scanned C, original, MIT.

A complete analysis workflow for BGI/MGI DNBelab C-series single-cell data. It covers RNA sequencing, ATAC sequencing, and VDJ data, where VDJ means analysing immune-receptor sequences, and explains how to combine and read the results.

In plain words
What is it for?
It helps map and quantify RNA data, map ATAC data and find open-chromatin peaks, run VDJ analysis, combine multiple samples, and load results into Seurat or Scanpy.
Why use it?
It keeps platform-specific steps and choices together instead of mixing them with workflows for other sequencing platforms. It also checks the platform, data type, and existing reference library before analysis.

Skill for Claude Code

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

Good fit It helps map and quantify RNA data, map ATAC data and find open-chromatin peaks, run VDJ analysis, combine multiple samples, and load results into Seurat or Scanpy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/dnbc4tools-analysis-workflow
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 dnbc4tools-analysis-workflow
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 dnbc4tools-analysis-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/dnbc4tools-analysis-workflow"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/dnbc4tools-analysis-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,837 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00217 $0.08837
Opus 5.5 $0.00087 $0.03535
Sonnet 5.5 $0.00043 $0.01767
Haiku 4.5 $0.00022 $0.00884

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

Security

Grade C, and why

dnbc4tools-analysis-workflow scanned grade C with 2 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 (templates/atac_run_batch.sh), 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

20. **QC 中间件不自动清理 + 续跑策略(2026-09-01 实测)**:dnbc4tools `atac run` 的 READS_QC_FILTER 中间件(`<outdir>/<name>/ATAC_ANALYSIS_WORKFLOW_PROCESSING/READS_QC_FILTER/atac.reads.{r1,r2,cb}.fq`,合计 ~64-65G/库)**跑完仍保留,不自动删**。输出盘按此核算:如 F 盘

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **另一官方渠道(2026-09-01 curl 实测确认)**:`ftp://ftp.cngb.org/pub/CNSA/data7/CNP0008672/Single_Cell/CSE0000574/` 含 `dnbc4tools-3.1.tar.gz`(527,613,238B)与 `dnbc4tools-3.0.tar.gz`(537,527,818B)+ **test1_barcodes/features/matrix 官
memomics_home/skills/bioinformatics/dnbc4tools-analysis-workflow/SKILL.md · 212 lines

How it starts

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

dnbc4tools 完整比对/分析流程(华大智造 MGI · DNBelab C 系列)

华大智造(MGI,华大 BGI 旗下)官方开源单细胞分析软件 dnbc4tools v2.1.3。 官方仓库:https://github.com/MGI-tech-bioinformatics/DNBelab_C_Series_HT_scRNA-analysis-software/tree/2.1.3 (文档在 doc/ 目录,2.1.3 tag 下均有中文版:pipeline.md 总览 + pipeline/scRNA.md、pipeline/scATAC.md、pipeline/scVDJ.md + parameter/scRNA.md、parameter/scATAC.md、parameter/scVDJ.md + installation.md + io.md + quickstart.md + json.md(customize 文库结构)。本仓曾 clone 至本地 results/<sid>/task3/dnb_repo_213/ 供核对。)

📎 references/dnbc4tools-v213-official-facts.md — v2.1.3 官方文档要点核录(安装 MD5/参数表/process 分步/io 读取/文库结构 JSON),写脚本前先查这份权威参数。

🔴 规则0 触发门禁(用户特别指定,最高优先级)

命中触发词(DNBelab/dnbc4tools/华大/mkref/索引/比对等)时,禁止直接执行,必须先依次澄清:

# 必问 用户答「是」 用户答「否」
① 是华大 BGI / MGI / DNBelab 平台吗? → 继续问 ② ❌ 不触发:10X→Cell Ranger/STARsolo;常规 RNA-seq→STAR/hisat2;ATAC→其他流程
② 建 RNA 还是 ATAC 索引/跑 RNA 还是 ATAC 流程? RNA→rna mkref→rna run;ATAC→atac mkref→atac run scVDJ→vdj run 预建库(无需 mkref);其他→redirect
③ 已有 ref.json 库了吗? 有→不重建,直接 rna run --genomeDir 复用 无→先建库(见 dnbc4tools-index-building)再分析

✅ 触发条件(必须全部满足):① 厂家已确认=华大 BGI/MGI/DNBelab;② 类型已确认=RNA 或 ATAC; ③ 状态已确认=无现成 ref.json 库(或用户明确要重建)。

❌ 不触发场景(redirect):厂家未知→先问;10X→Cell Ranger;bulk RNA→标准 STAR/hisat2; scVDJ 只需要分析→vdj run 预建库;已有 ref.json→复用不建;只有 FASTA 无 GTF→标准 STAR; 只讨论不执行→只回答方案;跑的是其他平台数据→分流到对应 skill。

环境要求(官方硬性)

  • 仅 Linux x86-64(闭源二进制,CentOS 7.x+ / kernel 3.10.0+)。Windows 本机不能直接跑。
  • mkref 需 ≥50GB RAM、≥4 CPU(建库 RAM 密集);实际运行视数据量。
  • 安装:官方 2.1.3 下载直达 https://ftp.cngb.org/pub/CNSA/data5/CNP0006367/Single_Cell/CSE0000448/dnbc4tools2.1.3.tar.gz(495M,MD5 dfda9a3f308aaa3fdaa6c2a971bb2821,安装说明见 doc/installation.md)→ 解压即用,无需编译。目录应含: dnbc4tools / external / lib / misc / sourceC4.bash。
  • 另一官方渠道(2026-09-01 curl 实测确认):ftp://ftp.cngb.org/pub/CNSA/data7/CNP0008672/Single_Cell/CSE0000574/ 含 dnbc4tools-3.1.tar.gz(527,613,238B)与 dnbc4tools-3.0.tar.gz(537,527,818B)+ test1_barcodes/features/matrix 官方测试数据(装完先用 test1 验证比对流程再跑真实数据)。⚠️ FTP 上的 3.1/3.0 版本比 GitHub/tag 2.1.3 新——装 3.1 后必须先 dnbc4tools atac mkref --help(或 rna)核对命令与 v2 文档是否一致再跑,勿假设参数表相同。
  • v3.1 命令差异(2026-09-01 实测 --help 核对):① tools mkgtf --action 由 v2 的 stat/check 变为 stats/check/mkgtf(默认=mkgtf 过滤,统计动作名改 stats);② tools mkgtf --type 默认 auto 自动检测(实测识别出 gene_type),可不传;③ atac mkref 删除 --threads(chromap 建索引单线程,传了直接报 unrecognized arguments 退出——2.1.3 的 --threads 10 示例不能照抄),新增 --tag(默认transcript)/--kmer(17)/--window(7)/--noindex/--chloroplast;④ --prefix 默认 None,人类 GRCh38 必须显式 --prefix chr,混合物种不支持 prefix;⑤ ⚠️ 指定 --species Homo_sapiens 后产物自动建到 <genomeDir>/Homo_sapiens/ 子目录(ref.json、fasta/、genes/、regions/ 全在子目录内),验证/下游路径必须带子目录。详细实测记录 → windows-bioinformatics-batch-processing/references/wsl-linux-binary-execution.md;ATAC mkref 3.1 完整实测与假失败判据 → references/dnbc4tools3.1-atac-mkref-notes.md
  • 典型工作流:Windows 下载 FASTA/GTF + gzip -t 验证 → scp 到 Linux → 装 dnbc4tools → mkref → run。
  • 若用户在 Windows 本机 → 提供 WSL2 / Linux 集群 / 云服务器三条出路,不硬跑。
  • Windows 本机 WSL2 落地(2026-09-01 实测通过):dnbc4tools 对 WSL2 Ubuntu 可直接运行;mkref 建议 ≥50GB RAM,默认 WSL 只分一半内存 → 创建 C:\Users\<user>\.wslconfig 写入 [wsl2] memory=48GB, processors=16, swap=8GB → cmd.exe /c "wsl --shutdown" 后下次启动生效(验证 free -g)。数据盘经 /mnt/f/... 访问(UTF-16 输出乱码时用落盘重定向或 iconv 规避);WSL 内需 apt 装 curl/tar 等基础工具。

Read the full file on GitHub · 212 lines

Files

What ships with it

6 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 First seen · 212 lines · 217 tokens per session scan C a1daca6754ea

Subscribe to this mod's changes

dnbc4tools-analysis-workflow is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 217 tokens to every session and 8,837 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-12.

Related

dnbc4tools-analysis-workflow compared with skills from other repositories

dnbc4tools-analysis-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dnbc4tools-analysis-workflowGGbond-bo/MemOmics-AgentSkill3314d agoMITC217Claude 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