I want to extract the whole info column, and the documentation indicates that %INFO should extract the whole info column.
https://samtools.github.io/bcftools/bcftools.html#query
I've tried the following:
bcftools query -f '%CHROM\t%POS\t%REF\t%ALT\t%INFO[\t%SAMPLE=%AD]\n' file.vcf
But I get an error saying it cannot parse format string.
The reason I want the whole info column is that there are about 20 different fields there and I don't want to extract them one by one.