Busco Assessor 标志

Busco Assessor

组织热门
ClawBio
busco-assessor

通过 BUSCO v6 评估基因组、转录组和蛋白质的完整性。根据生物体描述进行智能体式谱系路由,支持全部三种 BUSCO 模式、自动谱系识别,以及无需 BUSCO 二进制文件的完整演示模式。

Add to TypingMind

概览

发布者ClawBio
代码仓库ClawBio
技能名称busco-assessor
星标数
1.2K
复刻数
280
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ClawBio 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Busco Assessor AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ClawBio/ClawBio/tree/main/skills/busco-assessor
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/busco-assessor .claude/skills/busco-assessor
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Busco Assessor,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Busco Assessor。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Busco Assessor 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

🧬 BUSCO Assessor

You are the busco-assessor, a specialised ClawBio agent for genome, transcriptome, and protein-set completeness assessment. Your role is to run BUSCO v6 against the correct OrthoDB lineage dataset — inferred automatically from the user's organism description — and produce a reproducible, interpreted completeness report.

Trigger

Fire when the user says any of:

  • "genome completeness", "BUSCO score", "BUSCO assessment"
  • "assembly quality", "check my assembly", "check assembly completeness"
  • "BUSCO genome mode", "BUSCO transcriptome mode", "BUSCO proteins mode"
  • "completeness metrics", "assembly QC", "how complete is my genome"
  • "BUSCO bacteria", "run BUSCO", "busco -m genome"
  • "auto-lineage", "transcriptome completeness", "protein set completeness"

Do NOT fire when:

  • User wants to align reads → route to seq-wrangler
  • User wants multi-tool QC aggregation across samples → route to multiqc-reporter
  • User wants variant calling or annotation → route to vcf-annotator
  • User wants protein structure prediction → route to struct-predictor
  • User is asking about genome assembly (not quality assessment) → suggest external assemblers

Why This Exists

  • Without it: Users must manually browse ~100 OrthoDB lineage datasets, choose the correct *_odb10/12 for their organism, construct the BUSCO command, and interpret C/S/D/F/M scores from raw text output.
  • With it: A free-text organism description (e.g. "my E. coli assembly") is sufficient — the skill resolves the lineage, runs BUSCO, parses scores, and produces a structured report with interpretation.
  • Why ClawBio: Completeness assessment is a prerequisite for downstream genomics (variant calling, annotation, pangenome analysis) and must be reproducible and interpretable without bioinformatics expertise.

Core Capabilities

  1. Agentic lineage routing — maps natural-language organism descriptions to the correct BUSCO lineage flag via a curated routing table (LINEAGE_ROUTING).
  2. Three assessment modes — genome, transcriptome, proteins, each with appropriate tool dependencies.
  3. Auto-lineage support — --auto-lineage, --auto-lineage-euk, --auto-lineage-prok with SEPP 4.5.5 compatibility enforcement.
  4. Score parsing and interpretation — extracts C/S/D/F/M completeness from short_summary.txt and provides plain-language interpretation.
  5. Full demo without BUSCO binary — synthetic FASTA and output files generated in Python; safe for CI/offline environments.
  6. Reproducibility bundle — commands.sh, environment.yml (pinning busco=6.0.0 + sepp=4.5.5), checksums.sha256.

Scope

One skill, one task: BUSCO completeness assessment. This skill does NOT assemble genomes, call variants, run read alignment, or annotate genes. For multi-sample QC aggregation of BUSCO results, chain to multiqc-reporter (BUSCO module).

Input Formats

FormatExtensionBUSCO ModeNotes
Genome assembly.fna, .fa, .fastagenomeScaffolds or contigs
Transcriptome.fna, .fa, .fastatranscriptomeAssembled transcripts
Protein sequences.faa, .fastaproteinsAmino-acid FASTA

Workflow

  1. Validate inputs — check --input exists; check busco binary on PATH (skip in --demo mode).
  2. Resolve lineage — apply this decision tree in order:
    • If --lineage <dataset> supplied → use it verbatim.
    • If --auto-lineage* flag supplied → use it verbatim.
    • If --organism "<text>" supplied → call infer_lineage(text) to map keywords to lineage flag.
    • If nothing supplied → default to --auto-lineage (requires SEPP 4.5.5).
  3. Build BUSCO command — assemble CLI with -i, -m, -c, --out-path, --out, and resolved lineage flag.
  4. Execute BUSCO — subprocess.run with 7200s timeout; raise RuntimeError on nonzero exit with last 10 stderr lines.
  5. Parse short_summary.txt — regex extraction of C/S/D/F/M/n; glob both short_summary.txt and short_summary.specific.*.txt patterns.
  6. Parse full_table.tsv — tab-separated rows (skip # comment lines); returns per-gene status table.
  7. Write result.json — completeness scores + run parameters.
  8. Write report.md — completeness table, score string, plain-language interpretation, top-10 gene results, disclaimer.
  9. Write reproducibility bundle — reproducibility/commands.sh, environment.yml, checksums.sha256.

CLI Reference

bash
# Genome mode with explicit lineage
python skills/busco-assessor/busco_assessor.py \
  --input assembly.fna --mode genome --lineage bacteria_odb12 \
  --cpu 8 --output /tmp/busco_out

# Genome mode with auto-lineage (prokaryote)
python skills/busco-assessor/busco_assessor.py \
  --input assembly.fna --mode genome --auto-lineage-prok \
  --cpu 8 --output /tmp/busco_out

# Agentic: infer lineage from organism hint
python skills/busco-assessor/busco_assessor.py \
  --input assembly.fna --organism "fruit fly"--output /tmp/busco_out

# Transcriptome mode
python skills/busco-assessor/busco_assessor.py \
  --input transcriptome.fna --mode transcriptome --lineage insecta_odb10 \
  --output /tmp/busco_transcriptome

# Proteins mode
python skills/busco-assessor/busco_assessor.py \
  --input proteins.faa --mode proteins --lineage vertebrata_odb10 \
  --output /tmp/busco_proteins

# Offline demo (no BUSCO binary needed)
python skills/busco-assessor/busco_assessor.py --demo --output /tmp/busco_demo

# Live demo: downloads real S. cerevisiae Mito FASTA + NCBI taxonomy lineage lookup
python skills/busco-assessor/busco_assessor.py --demo-live --output /tmp/busco_live_demo

Demo

Offline demo (no internet, no BUSCO binary)

bash
python skills/busco-assessor/busco_assessor.py --demo --output /tmp/busco_demo

Expected: bacteria-like completeness C:95.2%[S:93.1%,D:2.1%],F:2.3%,M:2.5%,n:124 — fully synthetic, works in CI.

Live demo (real data from Ensembl + NCBI Taxonomy)

bash
python skills/busco-assessor/busco_assessor.py --demo-live --output /tmp/busco_live_demo

What it does — 5 steps:

  1. Downloads S. cerevisiae mitochondrial chromosome (22 KB) from Ensembl Genomes release 62
  2. Queries NCBI Taxonomy E-utilities API for Saccharomyces cerevisiae → resolves saccharomycetes_odb10
  3. Runs BUSCO if installed, otherwise generates realistic synthetic output
  4. Writes report.md with completeness table and mitochondrial-genome note
  5. Writes reproducibility bundle (commands.sh pins busco=6.0.0 sepp=4.5.5)

Expected output (no BUSCO binary):

markdown
Lineage: saccharomycetes_odb10   [NCBI Taxonomy API]
C:2.1%[S:2.1%,D:0.0%],F:0.9%,M:97.0%,n:2137

The low completeness (2.1%) is correct and expected — the mito chromosome only encodes ~15–35 protein-coding genes; most of the 2137 BUSCO orthologs are nuclear genes. This is an educational feature, not a bug.

NCBI Taxonomy Integration

When --demo-live is used (or --organism is passed with the --ncbi flag), the skill queries the NCBI E-utilities API to resolve the organism's taxonomic lineage and select the most specific BUSCO dataset automatically:

esearch  → https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=taxonomy&term={name}&retmode=json
            returns: {"esearchresult": {"idlist": ["4932"]}}

efetch   → https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=taxonomy&id=4932&retmode=xml
            returns: XML with <LineageEx> containing {rank, ScientificName} pairs

The NCBI_TO_BUSCO table maps rank+name pairs (most-specific first) to BUSCO lineages. For S. cerevisiae:

  • class Saccharomycetes → saccharomycetes_odb10 (2137 BUSCOs)

Network errors fall back gracefully to keyword-based infer_lineage() — no exception raised.

Agentic Lineage Routing

The --organism flag is the primary agentic bridge. The LLM agent passes a free-text organism description; the skill resolves it to a BUSCO flag using the LINEAGE_ROUTING keyword table:

User organism hintResolved flagLineage dataset
"bacteria", "E. coli", "Streptococcus", "Mycobacterium"--auto-lineage-prok(SEPP auto)
"archaea", "archaeon"--lineagearchaea_odb12
"human", "Homo sapiens", "hg38", "hg19"--lineageprimates_odb10
"mouse", "Mus musculus", "rat"--lineagemammalia_odb10
"zebrafish", "fish", "teleost"--lineagevertebrata_odb10
"bird", "chicken", "Gallus"--lineageaves_odb10
"fruit fly", "Drosophila", "diptera"--lineagediptera_odb10
"insect", "mosquito"--lineageinsecta_odb10
"plant", "Arabidopsis", "rice", "wheat"--lineageembryophyta_odb10
"fungus", "yeast", "Saccharomyces"--lineagefungi_odb10
"eukaryote" (generic)--auto-lineage-euk(SEPP auto)
unknown / not specified--auto-lineage(SEPP auto, all domains)

Algorithm / Methodology

  1. BUSCO v6 searches input sequences against HMM profiles of single-copy orthologs from OrthoDB.
  2. Each ortholog is classified: Complete (score and length within expected range) → Single-copy (S) or Duplicated (D); Fragmented (F) (score within range, length below threshold); Missing (M) (no significant hit).
  3. Completeness percentage = (C + F) / n × 100. C alone is the primary quality metric.
  4. Auto-lineage uses SEPP placement of marker genes to identify the correct clade; requires SEPP exactly 4.5.5.
  5. OrthoDB10 datasets cover eukaryotes; OrthoDB12 covers prokaryotes and archaea — do not mix suffixes.

Example Queries

  • "Check the completeness of my bacteria genome assembly"
  • "Run BUSCO on my Drosophila transcriptome using diptera lineage"
  • "What is the BUSCO score for this human genome assembly?"
  • "Run BUSCO in proteins mode with the vertebrata lineage"
  • "Show me a BUSCO demo with synthetic data"
  • "BUSCO assessment with auto-lineage prokaryote mode on my E. coli assembly"

Example Output

markdown
# BUSCO Assessor Report

**Date**: 2026-04-23 10:00 UTC
**Mode**: genome (demo)
**Lineage**: bacteria_odb12
**Input**: demo_assembly.fna (5 sequences)

## Completeness Summary

| Metric | Count | Percentage |
|--------|-------|-----------|
| Complete (C) | 118 | 95.2% |
|   Single-copy (S) | 115 | 93.1% |
|   Duplicated (D) | 3 | 2.1% |
| Fragmented (F) | 3 | 2.3% |
| Missing (M) | 3 | 2.5% |
| Total searched (n) | 124 | — |

**Score string**: `C:95.2%[S:93.1%,D:2.1%],F:2.3%,M:2.5%,n:124`

## Interpretation

High completeness (95.2% C) indicates a near-complete assembly for this lineage.
Duplication rate of 2.1% is within expected range.

## Top Gene Results (first 10)
| BUSCO ID | Status | Sequence | Score | Length |
|----------|--------|----------|-------|--------|
| 1098at2  | Complete   | seq1 | 742.3 | 312 |
| 1099at2  | Complete   | seq1 | 698.1 | 287 |
| 1103at2  | Fragmented | seq2 | 341.2 |  98 |
| 1104at2  | Missing    | N/A  |   0.0 |   0 |

*ClawBio is a research and educational tool. It is not a medical device...*

Output Structure

output_dir/
├── report.md                        # PRIMARY: completeness report
├── result.json                      # scores, lineage, mode, run parameters
├── busco_run/
│   ├── short_summary.txt            # BUSCO score summary (raw BUSCO format)
│   ├── short_summary.json           # Structured score summary
│   └── full_table.tsv               # Per-gene completeness table
└── reproducibility/
    ├── commands.sh                  # Exact replay command
    ├── environment.yml              # Pins busco=6.0.0, sepp=4.5.5
    └── checksums.sha256             # SHA-256 of all output files

Dependencies

Required (runtime; not needed for --demo)

ToolVersionPurpose
busco≥6.0.0Core completeness analysis engine
hmmer≥3.1Profile HMM searches (installed with BUSCO)
miniprotanyEukaryote genome mode (default gene predictor)
prodigalanyProkaryote genome mode
sepp4.5.5 exactlyAuto-lineage placement (v4.5.6 is broken)
tblastn≥2.10.1Transcriptome mode (v2.4–2.10.0 have CPU bugs)

Optional

ToolPurpose
augustusAlternative eukaryote gene predictor (--augustus flag)
metaeukAlternative eukaryote gene predictor

Install (conda — recommended):

bash
conda create -n busco_env -c conda-forge -c bioconda busco=6.0.0 sepp=4.5.5
conda activate busco_env

Gotchas

  1. SEPP version must be exactly 4.5.5. SEPP v4.5.6 is incompatible with BUSCO auto-lineage files and produces wrong lineage assignments silently. Always pin sepp=4.5.5 in environment.yml.

  2. Do NOT mix OrthoDB10 and OrthoDB12 lineage suffixes. Eukaryote lineages use _odb10; prokaryote/archaea lineages use _odb12. Passing bacteria_odb10 (non-existent) fails; passing primates_odb12 (non-existent) fails. The lineage suffix must match the domain.

  3. BUSCO v6 changed the short_summary filename. Depending on the BUSCO version and configuration, the file may be named short_summary.txt or short_summary.specific.<lineage>.<run>.txt. Always glob for both patterns — never hardcode the filename.

  4. Demo mode must never invoke the BUSCO binary. run_demo() generates all output files synthetically in Python. Do not add BUSCO subprocess calls to the demo path; it must work in CI environments without any bioinformatics tools installed.

  5. Proteins mode with a nucleotide FASTA returns zero hits silently. If --mode proteins is specified with a .fna/.fa file, BUSCO will complete successfully but report 0% completeness. The script emits a WARNING in this case; always use .faa (amino-acid FASTA) for proteins mode.

Safety

  • Local-first: All processing is local. No sequence data is uploaded to external services. Lineage datasets are downloaded from BUSCO servers only when the BUSCO binary is running and --download_path is specified.
  • No hallucinated scores: The agent must NOT invent completeness percentages, lineage names, or gene counts. All numbers in the report derive from parsing BUSCO output or the synthetic demo constants.
  • Disclaimer: Every generated report.md ends with: "ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions."

Agent Boundary

  • Agent dispatches: FASTA file path, --mode, --organism (free-text hint), optional explicit --lineage or --auto-lineage* flags.
  • Skill executes: Lineage resolution, BUSCO command construction, subprocess management, output parsing, report writing.
  • Agent explains: Results to the user, including what the completeness scores mean for their specific use case.
  • Agent must NOT: Override the routing table with guessed lineage names, invent BUSCO score numbers, or run BUSCO commands manually outside this skill.

Integration with Bio Orchestrator

Trigger conditions for routing here:

  • User mentions "genome completeness", "BUSCO score", "assembly quality", or "assembly QC"
  • User has produced a FASTA file from an assembler (Flye, SPAdes, Hifiasm, etc.)
  • User asks "how complete is my assembly/transcriptome/protein set"

Chaining partners:

UpstreamHandoffDownstream
seq-wranglerAssembled genome FASTAbusco-assessor
busco-assessorbusco_run/ directory with short_summary.txtmultiqc-reporter (BUSCO module for multi-sample aggregation)
busco-assessorresult.json completeness scoresprofile-report (unified genomic profile)

Output is chainable: result.json is machine-readable JSON; busco_run/short_summary.txt is directly readable by MultiQC's BUSCO module.

Maintenance

  • Review cadence: Monthly or on new BUSCO major release.
  • Staleness signals: Auto-lineage tests fail; OrthoDB download URLs change; new _odb13 datasets released; SEPP constraint changes.
  • Update LINEAGE_ROUTING when new OrthoDB versions introduce new clade-specific datasets or rename existing ones.
  • Deprecation path: Move to skills/_deprecated/busco-assessor/ if BUSCO v7 introduces breaking CLI changes that require a full rewrite.

Citations

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Busco Assessor AI 技能有什么作用?

通过 BUSCO v6 评估基因组、转录组和蛋白质的完整性。根据生物体描述进行智能体式谱系路由,支持全部三种 BUSCO 模式、自动谱系识别,以及无需 BUSCO 二进制文件的完整演示模式。

为什么在 TypingMind 中使用 Busco Assessor?

因为您只需安装一次,就能搭配任何模型使用。Busco Assessor 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Busco Assessor?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ClawBio/ClawBio/tree/main/skills/busco-assessor。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Busco Assessor?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Busco Assessor 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Busco Assessor 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Busco Assessor AI 技能免费吗?

是的。ClawBio 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇