merging individuals vcf.gz files to one vcf file in linux
1
0
Entering edit mode
2.2 years ago
mozduri • 0

Hello everyone I have animals imputed sequence wide genotypes from SkimSEEK (Low pass). I want merge all individuals together in VCF. I run bellow code but I get error: bcftools merge file1.vcf.gz file2.vcf.gz file3.vcf.gz .... -Oz -o merged4.vcf.gz

failed to open:could not load index

then I generate index with bellow code and I get this error: bcftools index *.vcf.gz failed to open:could not load index

What is the problem?

Regards Zohre

GWAS • 706 views
ADD COMMENT
0
Entering edit mode
2.2 years ago

Bcftools index doesnt work with multiple files. You ll have to invoke bcftools index for each individual vcf

ADD COMMENT

Login before adding your answer.

Traffic: 3014 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6