vimalinx/bio-agent / .claude/skills/vcf-concat
vcf-concat
VerifiedUse when concatenating VCF files split by chromosome or when merging multiple gzipped VCFs into a single output.
vcf-concat
Quick Start
- Command:
vcf-concat [OPTIONS] A.vcf.gz B.vcf.gz C.vcf.gz > out.vcf - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/vcf-concat - Full reference: See
references/help.md
When To Use This Tool
- Concatenate VCFs that represent adjacent genomic partitions, often by chromosome.
- Check that multiple VCFs share compatible sample columns before joining.
- Allow small overlaps with merge-sort behavior when partition boundaries are slightly messy.
- Pad missing columns with
.when joining sex-chromosome or otherwise asymmetric sample tables.
Common Patterns
# 1) Concatenate chromosome-split VCFs
vcf-concat chr1.vcf.gz chr2.vcf.gz chr3.vcf.gz > cohort.vcf
# 2) Read the file list from disk
vcf-concat -f vcf_files.txt > cohort.vcf
# 3) Check column compatibility without concatenating
vcf-concat -c chr1.vcf.gz chr2.vcf.gz chr3.vcf.gz
Recommended Workflow
- Confirm the files are truly concatenable and not meant for positional merging.
- Use
-conce before large concatenation jobs if there is any doubt about column consistency. - If files have small overlaps, set
-sdeliberately and understand that it is only a partial merge sort. - Recompress and index the result if later tools expect
.vcf.gz.
Guardrails
- This is for concatenation of genomic partitions, not for multi-sample merging at shared loci.
- Input columns should match unless you knowingly use
-p/--pad-missing. -sis not a general-purpose sorter; it is only for limited overlap handling.--versionis not supported in the usual way here; use-hfor interface help.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |