DOKK / manpages / debian 12 / vcftools / vcf-query.1.en
VCF-QUERY(1) User Commands VCF-QUERY(1)

vcf-query - query VCF files

query-vcf [OPTIONS] file.vcf.gz

List of comma-separated column names.
The default is '%CHROM:%POS\t%REF[\t%SAMPLE=%GT]\n'
List columns.
Retrieve the region. (Runs tabix.)
This help message.

query-vcf file.vcf.gz 1:1000-2000 -c NA001,NA002,NA003 query-vcf file.vcf.gz -r 1:1000-2000 -f '%CHROM:%POS\t%REF[\t%SAMPLE:%*=,]\n' query-vcf file.vcf.gz -f '[%GT\t]%LINE\n' query-vcf file.vcf.gz -f '%CHROM\t%POS\t%INFO/DP\t%FILTER\n'
July 2011 vcf-query 0.1.5