variant-datasets
Use Hail VariantDataset sparse sequencing workflows: read, filter, QC, combine GVCFs, convert VDS representations, and reason about local alleles and reference blocks.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- variant-datasets
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use Hail VariantDataset sparse sequencing workflows: read, filter, QC, combine GVCFs, convert VDS representations, and reason about local alleles and reference blocks.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md10.6 KB
- 参考文档references/troubleshooting.md10.4 KB
- 参考文档references/vds-workflows.md12.0 KB
03 SKILL.md 正文
Hail Variant Datasets
Use this sub-skill when a task mentions hail.vds, VariantDataset, VDS, sparse sequencing data, GVCF combining, local allele fields (LGT, LA, LAD, LPL, LPGT), reference blocks (END or LEN), to_dense_mt, to_merged_sparse_mt, interval_coverage, or VDS-native sample_qc.
Route First
- Use
references/vds-workflows.mdto choose between component matrices, dense conversion, merged sparse conversion, sample QC, interval coverage, filtering, split-multi, and GVCF combiner recipes. - Use
references/api-reference.mdfor concisehail.vdssignatures, parameter notes, component field semantics, and combiner API details. - Use
references/troubleshooting.mdfor local allele mistakes, reference blockEND/LENissues, component mismatch, combiner resume/save failures, interval/reference mismatch, and dense conversion surprises. - Start new runnable examples from
scripts/vds_recipe_template.py; it is a self-contained helper that defaults to dry-run/template output and does not depend on repository fixtures.
Scope Boundaries
- Stay here for
hl.vds.VariantDataset,hl.vds.read_vds,hl.vds.filter_samples,hl.vds.filter_variants,hl.vds.filter_intervals,hl.vds.filter_chromosomes,hl.vds.sample_qc,hl.vds.split_multi,hl.vds.interval_coverage,hl.vds.to_dense_mt,hl.vds.to_merged_sparse_mt,hl.vds.new_combiner, andhl.vds.load_combiner. - Route ordinary dense
MatrixTableGWAS, VCF/PLINK/BGEN analysis, row/column/entry transformations, and dense QC after VDS conversion to../genomics-analysis/SKILL.md. - Route backend sizing,
hl.init, Spark/local/Batch backend selection, cloud filesystem credentials, requester-pays, and cluster planning to../setup-and-backends/SKILL.md. - Route
hailctl, Hail Batch DAG orchestration, Batch Service jobs, and CLI monitoring to../batch-and-cli/SKILL.mdunless the task is specifically about VDS API calls.
Default Mental Model
A hl.vds.VariantDataset is a wrapper around two sparse component MatrixTables, not a single MatrixTable:
vds.reference_datais keyed bylocus, has the sample column key, and stores reference blocks. Each entry coverslocus.positionthrough inclusiveEND, or equivalentLEN; calls are implicitly homozygous reference.vds.variant_datais keyed bylocus, alleles, has the same sample columns, and stores sparse non-reference or variant rows. Entries commonly use local allele fields such asLA,LGT,LAD,LPL, andLPGT.
Choose representation deliberately: use components for sparse variant or coverage work, use hl.vds.sample_qc and hl.vds.interval_coverage before considering densification, use hl.vds.to_dense_mt(vds) only for downstream dense-only methods, and use hl.vds.to_merged_sparse_mt(vds) when a single sparse MatrixTable is needed.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.