DOKK / manpages / debian 10 / vcftools / vcf-stats.1.en
VCF-STATS(1) User Commands VCF-STATS(1)

vcf-stats - statistic of VCF file

vcf-stats [OPTIONS] file.vcf.gz

Take an existing dump file and recreate the files (works with -p)
List of filters such as column/field (any value), column/field=bin:max (cluster in bins),column/field=value (exact value)
Prefix of output files. If slashes are present, directories will be created.
Process only the listed samples, - for none. Excluding unwanted samples may increase performance considerably.
This help message.

# Calculate stats separately for the filter field, quality and non-indels vcf-stats file.vcf.gz -f FILTER,QUAL=10:200,INFO/INDEL=False -p out/
# Calculate stats for all samples vcf-stats file.vcf.gz -f FORMAT/DP=10:200 -p out/
# Calculate stats only for the sample NA00001 vcf-stats file.vcf.gz -f SAMPLE/NA00001/DP=1:200 -p out/
vcf-stats file.vcf.gz > perl.dump
July 2011 vcf-stats 0.1.5