vcf-stats(1)

vcf-stats1

Statistic of vcf file

Usage

vcf-stats [OPTIONS] file.vcf.gz

Options

-d, --dump <file>

Take an existing dump file and recreate the files (works with -p)

-f, --filters <filter1,filter2>

List of filters such as column/field (any value), column/field=bin:max (cluster in bins),column/field=value (exact value)

-p, --prefix <dir/string>

Prefix of output files. If slashes are present, directories will be created.

-s, --samples <list>

Process only the listed samples, - for none. Excluding unwanted samples may increase performance considerably.

-h, -?, --help

This help message.

Examples

# 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

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

From vcftools 0.1.16-3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.