I am trying to merge multiple VCF files using bcftools but it threw an error saying that the file is not compressed.
I want to know if the right command to compress the file would be:
bcftools view -I input.vcf -O z -o output.vcf
Should I index the files too before merging ? If so, which command should I be using ?
Thanks in advance.