界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

variant-io

variant-io

【数据与研究】Guides agents using pysam VariantFile, VariantHeader, and VariantRecord for VCF/BCF reading, writing, sample subsetting, metadata edits, and coordinate/header troubleshooting.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: variant-io description: "Guides agents using pysam VariantFile, VariantHeader, and VariantRecord for VCF/BCF reading, writing, sample subsetting, metadata edits, and coordinate/header troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: MIT

variant-io

Use this sub-skill when a task involves VCF/BCF variant data through pysam.VariantFile, VariantHeader, VariantRecord, INFO/FORMAT/sample fields, record creation, record translation, or random access with fetch.

Read First

  • references/api-reference.md for the object model, signatures, modes, and mapping-like containers.
  • references/workflows.md for common read/filter/write, header-building, record-editing, sample-subsetting, and translation patterns.
  • references/troubleshooting.md for header declarations, INFO/FORMAT mismatches, genotype/allele errors, indexes, coordinates, and VCF/BCF mode choices.
  • scripts/variant_smoke.py for a source-free VCF round-trip smoke helper that prints JSON assertions.

Scope

This sub-skill owns VCF/BCF I/O and variant object manipulation: VariantFile, VariantHeader, VariantHeaderRecord, VariantRecord, VariantRecordSample, header metadata mappings, fetch, write, subset_samples, new_record, and translate.

Use sibling sub-skills instead for tabix row parsers and BED/GTF/GFF parsing, bcftools command wrappers, or SAM/BAM/CRAM alignment and pileup workflows.

我的收藏