Whether you should index your compressed vcf file or not, depends on what tool you like to run afterwards on that file. Some require it, some not. But the tools that don't need an index file, also doesn't make use of the advantage to have random access to the positions in the vcf file.
There are two indexing format: tbiand csi. Unfortunately I cannot tell what's the difference between them (maybe other can tell something about it). tbiis the standard index format if you use tabix input.vcf.gzand csiis the standard format if you use bcftools index input.vcf.gz. tabix and bcftoolsprovide both an option to use the other indexing format. At least bcftools can work with both index format.
Depending on the size of your vcf file it might be useful to convert them to compressed bcf instead of compressed vcf. bcftools is designed for working with bcf. So in every step it converts vcf to bcf for calculation and back vcf afterwards. This produces a massive overhead. If you have bcf from the beginning it is much faster (In my last test 2-4 times).
i faced a pb and it showed this error msg
what should i do?
Is your VCF file
bgzip
compressed?