vcf-validator
Quick Start
- Command:
vcf-validator [OPTIONS] file.vcf.gz - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/vcf-validator - Full reference: See
references/help.md
When To Use This Tool
- Check whether a VCF is structurally valid before indexing, merging, or handing it to stricter downstream software.
- Detect duplicate positions that may break assumptions in later tools.
- Collapse repeated warning types to a single message when triaging noisy files.
Common Patterns
# 1) Basic validation
vcf-validator file.vcf.gz
# 2) Warn about duplicate positions too
vcf-validator -d file.vcf.gz
# 3) Show each message type only once
vcf-validator -u file.vcf.gz
Recommended Workflow
- Validate the VCF before compression/index regeneration, merging, or cohort comparison.
- Re-run with
-dif positional duplication is a concern in your workflow. - Use
-ufor noisy failure cases so you can see the distinct categories of problems quickly. - Fix the source VCF rather than normalizing around repeated validator failures downstream.
Guardrails
- Use this as a structural sanity check, not as proof that the biological content is correct.
- Input is expected to be a VCF path in the style documented by the tool; compressed VCF is the common case in this workspace.
--versionis not supported in the usual way; use-hfor interface help.- Validation output can be noisy on badly malformed files, so
-uis useful for triage but should not replace a full review.