I had run vcftools to merge some vcf files with no success. As mentioned, the *.vcf files was pre-processed with bgzip and tabix.
Here are my commands for (bgzip,tabix and vcftools)
./bgzip fileA.vcf
./bgzip fileB.vcf
./bgzip fileC.vcf
./tabix -p vcf fileA.vcf.gz
./tabix -p vcf fileB.vcf.gz
./tabix -p vcf fileC.vcf.gz
vcf-merge fileA.vcf.gz fileB.vcf.gz fileC.vcf.gz >out.vcf.gz
Here's the error after I run the vcf-merge command :-
The use of -1 for unknown number of values is deprecated, please use '.' instead. FORMAT=<ID=PL,Number=-1,Type=Integer,Description="List of="" Phred-scaled="" genotype="" likelihoods,="" number="" of="" values="" is="" (#ALT+1)*(#ALT+2)="" 2"=""> Can't exec "tabix": No such file or directory at /usr/lib64/perl5/5.8.8/x8664-linux-thread-multi/Vcf.pm line 2155. The command "tabix -l raws51sequenceBWT.vcf.gz" exited with an error. Is the file tabix indexed?
at /usr/lib64/perl5/5.8.8/x8664-linux-thread-multi/Vcf.pm line 171 Vcf::throw('Vcf41=HASH(0xb762650)', 'The command "tabix -l raws51sequenceBWT.vcf.gz" exited w...') called at /usr/lib64/perl5/5.8.8/x8664-linux-thread-multi/Vcf.pm line 2156 VcfReader::getchromosomes('Vcf41=HASH(0xb762650)') called at /illumina/MiniProject/tools/vcftools0.1.7/perl/vcf-merge line 165 main::initcols('HASH(0xb760710)', 'Vcf41=HASH(0xb761ff0)') called at /illumina/MiniProject/tools/vcftools0.1.7/perl/vcf-merge line 245 main::mergevcffiles('HASH(0xb760710)') called at /illumina/MiniProject/tools/vcftools_0.1.7/perl/vcf-merge line 12
I am currently using linux, with tabix-0.2.5 and vcftools_0.1.7 (if this helps)
Thanks in advance.
Joanne
I've checked that it is a vcf file. I'll try joinx, but it seems like its more for ubuntu? I am actually using Fedora and is currently facing this issue with this error,"E: Couldn't Find Package Libboost-all-dev" during the installation,which was after I've build the Boost library. Any idea if Joinx works on Fedora? Many thanks!