This is the official development repository for BCFtools. See installation instructions and other documentation here http://samtools.github.io/bcftools/howtos/install.html
Error: with bcftools merge, "could not load index"
This is an old issue that had a mixture of solutions.
The simplest solution that worked for me was
BGZIP > new directory
bgzip file.vcf > merge/file.vcf
In a merge directory with bgzip .vcf.gz files
REMOVE bgzip index .gzi
Remove *.vcf.gz.gzi, which was created by bpzip.
Error: with bcftools merge, "could not load index" This is an old issue that had a mixture of solutions.
The simplest solution that worked for me was BGZIP > new directory bgzip file.vcf > merge/file.vcf In a merge directory with bgzip .vcf.gz files REMOVE bgzip index .gzi Remove *.vcf.gz.gzi, which was created by bpzip.
INDEX bcftools index -t *.vcf.gz
MERGE bcftools merge 1.vcf.gz 2.vcf.gz 3.vcf.gz -Oz -o 1_2_3_merged_vcf.gz