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
-fFILTER,QUAL=10:200,INFO/INDEL=False-pout/
-
# Calculate stats for all samples vcf-stats file.vcf.gz
-fFORMAT/DP=10:200-pout/
-
# Calculate stats only for the sample NA00001 vcf-stats file.vcf.gz
-fSAMPLE/NA00001/DP=1:200-pout/
-
vcf-stats file.vcf.gz > perl.dump
Releases
Unchanged in 7 releases since Debian 7 (Wheezy).