Hello,
I have a vcf file and I extract only some columns like FILTER, and GT and DP values.
bcftools query -f '%FILTER[\t%GT\t%DP]\n' {input} > {output}
This gives me an output without a header, is it possible to add a tab delimited header like FILTER GT DP
?
FILTER GT DP
PASS 1/1 89
PASS 0/1 78
Should be
This includes header but, for me, also numbers before the names: