Scroll to navigation

VCF-SUBSET(1) User Commands VCF-SUBSET(1)

NAME

vcf-subset - create subset of VCF file

SYNOPSIS

vcf-subset [OPTIONS] in.vcf.gz > out.vcf

OPTIONS

File or comma-separated list of columns to keep in the vcf file. If file, one column per row
Exclude rows not containing variants.
Print only rows where only the subset columns carry an alternate allele.
Replace the excluded types with reference allele instead of dot.
Comma-separated list of variant types to include: SNPs,indels.
Do not exclude rows without calls.
This help message.

EXAMPLES

cat in.vcf | vcf-subset -r -t indels -e -c SAMPLE1 > out.vcf
July 2011 vcf-subset 0.1.5