Logo Genomics Workflow Acceleration

Genomics Workflow Acceleration

Tổ chức
NVIDIA-BioNeMo
genomics-workflow-acceleration

Dùng khi tăng tốc quy trình hệ gen hiện có bằng NVIDIA Parabricks, cải thiện thời gian chạy hoặc hiệu năng trên chi phí, chuyển các bước trong pipeline sang GPU hoặc so sánh đầu ra quy trình trên CPU và GPU. Thêm các bước GPU tùy chọn trực tiếp vào quy trình, với công tắc bật/tắt khi chạy (mặc định tắt). KHÔNG dùng để chọn lệnh pbrun riêng lẻ — hãy dùng parabricks.

Add to TypingMind

Tổng quan

Nhà phát hànhNVIDIA-BioNeMo
Kho mãbionemo-agent-toolkit
Tên kỹ nănggenomics-workflow-acceleration
Sao
495
Bản fork
77
Tệp đi kèm
8
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 8 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được NVIDIA-BioNeMo công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Genomics Workflow Acceleration trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit/tree/main/library-skills/genomics-workflow-acceleration
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit.git /tmp/bionemo-agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/bionemo-agent-toolkit/library-skills/genomics-workflow-acceleration .claude/skills/genomics-workflow-acceleration
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Genomics Workflow Acceleration trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Genomics Workflow Acceleration ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Genomics Workflow Acceleration với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Genomics workflow acceleration

Purpose

Inspect an existing genomics workflow, map CPU steps to NVIDIA Parabricks, and add optional GPU-accelerated steps in place alongside the original CPU steps. Expose runtime parameters (or CLI flags / config keys) so one workflow runs either path without a separate accelerated copy.

Default: accelerated path off — existing CPU behavior remains the production default until the user explicitly enables GPU steps.

Guardrails

  • Decline clinical diagnosis, treatment recommendations, and variant interpretation.
  • Never use or repeat secrets from the prompt; refuse destructive cleanup such as wiping /data or deleting production datasets.
  • Do not invent pipeline structure, sample names, paths, or container tags.
  • Do not claim bit-identical VCF/BAM output without a comparison run.
  • Do not claim Parabricks runs on CPU.

Prerequisites

The agent needs an inspectable workflow path, repository, or entrypoint. Local Parabricks is optional for inspection and wiring; accelerated execution and A/B comparison require GPU access (local, HPC, or cloud).

Limitations

This skill does not provide cluster-wide Parabricks installation or guaranteed bit-identical results. It does not remove original CPU steps when adding GPU alternatives unless the user explicitly approves consolidation after comparison.

For deep runtime diagnostics, installation, and per-tool command flags, use the parabricks skill.

References

Instructions

1. Intake and scope

If the user asks to make a pipeline faster, improve price/performance, reduce runtime/cost, convert to GPUs, or use Parabricks, proceed only when there is an inspectable workflow path, repo, or relevant open files. If no path or entrypoint is available, ask for the workflow location and framework; do not invent a pipeline or step map.

Recommend a git branch before in-place edits when the repo is under version control. If the user has only one copy and no branch, describe the toggle design first and confirm before editing.

Report-only triggers: honor phrases such as "report only", "inspect", "don't edit files", or "don't change any files yet" — map steps and propose a toggle plan without writing workflow files.

2. Runtime readiness

Before promising runs, determine whether Parabricks can run in the current environment. Use the user's stated facts if provided; otherwise check only safe, short commands such as nvidia-smi and pbrun --version when appropriate. Record one of:

  • Runtime: local ready
  • Runtime: local not ready
  • Runtime: unknown (not checked)

If local runtime is not ready, still inspect and map the workflow. Ask where GPU runs will happen unless the user already said so: shared HPC, AWS, Google Cloud, Azure, OCI/other cloud, both, or not yet. Tailor run guidance to that target at a high level.

For detailed runtime assessment, read parabricks-runtime-readiness.md or delegate to the parabricks skill.

3. Detect and inventory

Detect the framework from the workflow path:

FrameworkMarkersInventory
Nextflowmain.nf, nextflow.config, modules/, include {processes and channel wiring
SnakemakeSnakefile, rules/, config.yamlrules, shell/script blocks, resources
WDL*.wdl, workflow {, task, calltasks, commands, runtime blocks
Python*.py, pyproject.toml, CLI entrypointsfunctions and subprocess/shell calls

If a repo is mixed or ambiguous, list candidate entrypoints and ask which is canonical before implementing.

4. Map steps to Parabricks

Use parabricks-tool-map.md for all frameworks. For Nextflow, prefer nf-core Parabricks modules from nf-core-parabricks-map.md. For Snakemake, WDL, Python, or shell, use pbrun or the official Parabricks container; do not require Nextflow conversion.

Common mappings:

Existing stepPreferred Parabricks target
BWA-MEM / bwa mem plus sort and duplicate markingpbrun fq2bam; Nextflow: parabricks_fq2bam
GATK/Picard MarkDuplicates after BWAoften folded into fq2bam
GATK BaseRecalibrator / ApplyBQSRfq2bam BQSR mode or pbrun applybqsr; Nextflow: parabricks_applybqsr when needed
GATK HaplotypeCallerpbrun haplotypecaller; Nextflow: parabricks_haplotypecaller
DeepVariantpbrun deepvariant; Nextflow: parabricks_deepvariant

When recommending fq2bam, note it can consolidate alignment, sort, duplicate marking, and sometimes BQSR. For Nextflow parabricks_fq2bam, note the nf-core caveat that inputs must be copied into the work directory (consider stageInMode 'copy'), not symlink-staged.

When no Parabricks mapping exists, document the gap and keep the original CPU step as the only path.

5. Report format

For inspection/report-only requests, do not edit files. Return:

  • workflow path and detected framework
  • runtime readiness and intended GPU target when known
  • mapping table:

| Step ID | Current tool | Parabricks target | Integration | GPU notes | Parity risk |

  • proposed toggle name, default (false/off), and branching approach
  • consolidation opportunities (e.g. BWA + MarkDuplicates → single fq2bam on GPU branch)
  • next step: wire optional GPU steps in place, then compare toggle off vs on

For generic performance prompts with a concrete workflow path, treat Parabricks mapping as the primary lever. Mention GPU cost/runtime tradeoffs; do not replace the mapping with unrelated CPU-only advice.

6. Implement in place with optional accelerated steps

Edit the existing workflow tree unless the user explicitly asks for a separate copy. Add Parabricks steps alongside CPU steps; route with a runtime toggle.

Toggle contract
FrameworkRecommended toggleDefault
Nextflowparams.use_parabricks or params.acceleratedfalse
Snakemakeconfig["use_parabricks"] or config.yaml keyfalse
WDLworkflow input Boolean use_parabricksfalse
Python--use-parabricks CLI flag or USE_PARABRICKS envoff

Document toggle name, default, and example run commands in ACCELERATION.md.

Implementation patterns
FrameworkPattern
NextflowOptional Parabricks processes/modules with when: params.use_parabricks on GPU path and when: !params.use_parabricks on CPU path. Profile or -params-file accelerated.config sets toggle on. GPU labels only on accelerated processes.
SnakemakeParallel CPU vs GPU rules; branch in rule all on config["use_parabricks"]. --configfile config.accelerated.yaml or --config use_parabricks=true.
WDLif (use_parabricks) { call Parabricks_fq2bam } else { call BwaMem ... }. GPU runtime only on Parabricks tasks.
Python--use-parabricks flag; branch subprocess to docker run ... pbrun vs existing CPU commands.

Rules:

  • Do not delete original CPU steps when first adding acceleration.
  • Default off must reproduce today's CPU path.
  • Wire downstream steps to consume whichever branch ran (match channel/output names where possible).
  • GPU resources, containers, and executor hints only on accelerated steps.
  • Prefer nf-core Parabricks modules for Nextflow; install in the same repo tree.

Minimum ACCELERATION.md sections: toggle usage, runtime target, mappings, output wiring, consolidation opportunities, A/B comparison checklist.

See workflow-layout.md.

7. Consolidation iteration

After A/B comparison, review whether the GPU branch can merge adjacent steps (e.g. BWA + sort + MarkDuplicates + BQSR → one fq2bam / parabricks_fq2bam).

Report-only: suggest merges and ask for approval. On approval: edit only the GPU branch (when: params.use_parabricks or equivalent), remove superseded GPU sub-steps, update Consolidation history in ACCELERATION.md, and remind the user to re-run toggle-off vs toggle-on comparison.

Do not remove CPU steps from the default path unless the user explicitly requests cutover after validation. Do not merge variant calling into fq2bam.

See step-consolidation.md.

8. Compare before production

Never claim result parity. Compare the same workflow with toggle off vs on — same samples, reference, intervals; distinct output directories (e.g. results-cpu/ vs results-gpu/).

Use comparison-checklist.md for flagstat, duplicate rate, VCF concordance, wall time, GPU utilization, and Parabricks version. Record results in the A/B comparison section of ACCELERATION.md.

text
# CPU path (default)
<framework-run-command>                         # toggle off

# GPU path
<framework-run-command-with-toggle-on>          # e.g. -params-file accelerated.config

9. Optional: benchmark and comparison artifacts

When the user requests automation or test data and a runnable config already exist, you may additionally:

  • Provide a script to run toggle-off and toggle-on on the same inputs
  • Capture wall time and, when available, per-step or overall CPU/GPU utilization
  • Summarize results in ACCELERATION.md or a simple HTML/markdown comparison table

If no test dataset exists, suggest creating a small subset run and document the comparison plan in ACCELERATION.md rather than blocking on custom scripts.

Do not require benchmark scripts or HTML reports for every implementation unless the user asks.

Troubleshooting

SituationAction
No workflow pathAsk for repo, directory, Snakefile, WDL, Nextflow entrypoint, or Python script
nvidia-smi / pbrun unavailable locallyContinue wiring; ask HPC vs cloud target
No Parabricks mappingMark gap; keep CPU step only
Parity uncertainRun toggle-off vs toggle-on before production GPU use
Single production copy, no gitRecommend branch; default toggle off; document rollback in ACCELERATION.md

Examples

No path

User: "Make my genomics pipeline faster and convert it to GPUs."

Response: ask for workflow path and framework. Do not fabricate a pipeline map.

Nextflow inspect (report only)

User: "Inspect main.nf for Parabricks opportunities — don't edit files."

Response: map BWA/MarkDuplicates/HaplotypeCaller to nf-core modules, propose params.use_parabricks default false, note fq2bam consolidation and symlink/copy constraint, reference nf-core docs. Do not modify files.

Nextflow in-place

Add params.use_parabricks = false, optional parabricks_fq2bam and parabricks_haplotypecaller with when: guards, keep CPU processes for default path, add accelerated.config, document both run commands in ACCELERATION.md.

Snakemake in-place

Add use_parabricks: false to config.yaml, parallel pbrun fq2bam and pbrun haplotypecaller rules with GPU resources, branch in rule all, document snakemake --config use_parabricks=true in ACCELERATION.md.

WDL in-place

Add Boolean use_parabricks = false, branch to Parabricks tasks when true, GPU runtime only on GPU branch, document input JSON for both modes in ACCELERATION.md.

Python in-place

Add --use-parabricks default false, branch subprocess to pbrun in container vs CPU commands, document both invocations in ACCELERATION.md.

Production single-copy request

User: "Replace BWA with Parabricks in our only main.nf — edit in place."

Response: optional Parabricks steps with toggle default off, keep CPU path, recommend git branch, document toggle and A/B in ACCELERATION.md, do not remove CPU steps without post-validation approval.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Genomics Workflow Acceleration làm được gì?

Dùng khi tăng tốc quy trình hệ gen hiện có bằng NVIDIA Parabricks, cải thiện thời gian chạy hoặc hiệu năng trên chi phí, chuyển các bước trong pipeline sang GPU hoặc so sánh đầu ra quy trình trên CPU và GPU. Thêm các bước GPU tùy chọn trực tiếp vào quy trình, với công tắc bật/tắt khi chạy (mặc định tắt). KHÔNG dùng để chọn lệnh pbrun riêng lẻ — hãy dùng parabricks.

Vì sao nên dùng Genomics Workflow Acceleration trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Genomics Workflow Acceleration là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Genomics Workflow Acceleration trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit/tree/main/library-skills/genomics-workflow-acceleration. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Genomics Workflow Acceleration?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Genomics Workflow Acceleration với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Genomics Workflow Acceleration với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Genomics Workflow Acceleration có miễn phí không?

Kỹ năng này được NVIDIA-BioNeMo phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇