Hello,
I encountered the following errors while installing vcftools. I have my tabix folder inside vcf tools folder. I also changed the path to the path of tabix. I am unable to figure out how to verify bgzip installation. please help me in this regards
Thanks
Prathyusha
sh: 1: bgzip: not found
not ok 1 - Is bgzip OK? .. cat /media/wkstn/Data/vcftools_0.1.13/perl/../examples/merge-test-a.vcf | bgzip -c > /media/wkstn/Data/vcftools_0.1.13/perl/../examples/merge-test-a.vcf.gz
Can't exec "tabix": No such file or directory at test.t line 69.
not ok 2 - Is tabix OK? .. tabix /media/wkstn/Data/vcftools_0.1.13/perl/../examples/merge-test-a.vcf.gz
not ok 14 - Testing vcf-stats .. perl -I/media/wkstn/Data/vcftools_0.1.13/perl -MVcf /media/wkstn/Data/vcftools_0.1.13/perl/vcf-stats /media/wkstn/Data/vcftools_0.1.13/perl/../examples/valid-4.0.vcf
ok 15 - Testing add_columns with genotypes full, 4.0.
ok 16 - Testing add_columns with genotypes brief, 4.0.
ok 17 - Testing add_columns brief, 4.0.
ok 18 - Testing add_columns no gtypes, 4.0.
sh: 1: bgzip: not found
sh: 1: tabix: not found
sh: 1: bgzip: not found
sh: 1: tabix: not found
sh: 1: bgzip: not found
sh: 1: tabix: not found
not ok 19 - Testing vcf-merge .. perl -I../perl/ -MVcf ../perl/vcf-merge merge-test-a.vcf.gz merge-test-b.vcf.gz merge-test-c.vcf.gz
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 218.
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 218.
gzip: cmp-test-a.vcf.gz: unexpected end of file
Broken VCF header, no column names?
at ../perl/Vcf.pm line 172.
Vcf::throw(Vcf4_2=HASH(0x2257840), "Broken VCF header, no column names?") called at ../perl/Vcf.pm line 866
VcfReader::_read_column_names(Vcf4_2=HASH(0x2257840)) called at ../perl/Vcf.pm line 601
VcfReader::parse_header(Vcf4_2=HASH(0x2257840)) called at ../perl/vcf-compare line 198
main::compare_vcfs(HASH(0x21ab360)) called at ../perl/vcf-compare line 19
not ok 20 - Testing vcf-compare .. perl -I../perl/ -MVcf ../perl/vcf-compare -g cmp-test-a.vcf.gz cmp-test-b.vcf.gz | grep -v '^# The command'
grep ^VN | cut -f 2- to extract this part.sh: 1: bgzip: not found
sh: 1: tabix: not found
sh: 1: bgzip: not found
sh: 1: tabix: not found
sh: 1: bgzip: not found
sh: 1: tabix: not found
not ok 21 - Testing vcf-isec .. perl -I../perl/ -MVcf ../perl/vcf-isec -f -n +2 merge-test-a.vcf.gz merge-test-b.vcf.gz merge-test-c.vcf.gz
ok 23 - Testing vcf-shuffle-cols .. perl -I../perl/ -MVcf ../perl/vcf-shuffle-cols -t cmp-test-a.vcf shuffle-test.vcf
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 328.
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 328.
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 328.
not ok 24 - Testing vcf-concat .. perl -I../perl/ -MVcf ../perl/vcf-concat -s 3 concat-a.vcf.gz concat-b.vcf.gz concat-c.vcf.gz
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 355.
not ok 25 - Testing vcf-annotate .. perl -I../perl/ -MVcf ../perl/vcf-annotate -c FROM,TO,CHROM,-,-,-,INFO/HM2,INFO/GN,INFO/DP -d key=INFO,ID=HM2,Number=0,Type=Flag,Description="HapMap2 membership" -d key=INFO,ID=GN,Number=1,Type=String,Description="Gene Name" -d key=INFO,ID=DP,Number=0,Type=Integer,Description="Depth,etc" concat-a.vcf -a annotate.txt.gz
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 355.
not ok 26 - Testing vcf-annotate .. perl -I../perl/ -MVcf ../perl/vcf-annotate -c FROM,TO,CHROM,ID,REF,ALT,INFO/HM2,INFO/GN,INFO/DP -d key=INFO,ID=HM2,Number=0,Type=Flag,Description="HapMap2 membership" -d key=INFO,ID=GN,Number=1,Type=String,Description="Gene Name" -d key=INFO,ID=DP,Number=0,Type=Integer,Description="Depth,etc" concat-a.vcf -a annotate.txt.gz
not ok 27 - Testing vcf-annotate .. perl -I../perl/ -MVcf ../perl/vcf-annotate -f +/D=34/c=2,3 annotate-test.vcf
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 412.
gzip: consensus.vcf.gz: unexpected end of file
Broken VCF header, no column names?
at ../perl/Vcf.pm line 172.
Vcf::throw(Vcf4_2=HASH(0x1ceca00), "Broken VCF header, no column names?") called at ../perl/Vcf.pm line 866
VcfReader::_read_column_names(Vcf4_2=HASH(0x1ceca00)) called at ../perl/Vcf.pm line 601
VcfReader::parse_header(Vcf4_2=HASH(0x1ceca00)) called at ../perl/vcf-consensus line 80
main::do_consensus(HASH(0x1cc0f30)) called at ../perl/vcf-consensus line 9
not ok 30 - Testing vcf-consensus .. perl -I../perl/ -MVcf ../perl/vcf-consensus consensus.vcf.gz < consensus.fa
sh: 1: bgzip: not found
Can't exec "tabix": No such file or directory at test.t line 412.
gzip: consensus.vcf.gz: unexpected end of file
Broken VCF header, no column names?
at ../perl/Vcf.pm line 172.
Vcf::throw(Vcf4_2=HASH(0x272fa58), "Broken VCF header, no column names?") called at ../perl/Vcf.pm line 866
VcfReader::_read_column_names(Vcf4_2=HASH(0x272fa58)) called at ../perl/Vcf.pm line 601
VcfReader::parse_header(Vcf4_2=HASH(0x272fa58)) called at ../perl/vcf-consensus line 80
main::do_consensus(HASH(0x2703f30)) called at ../perl/vcf-consensus line 9
not ok 31 - Testing vcf-consensus .. perl -I../perl/ -MVcf ../perl/vcf-consensus -s NA001 consensus.vcf.gz < consensus.fa
not ok 32 - Testing vcf-contrast .. perl -I../perl/ -MVcf ../perl/vcf-contrast -n +D -A,B,C -d 10 contrast.vcf | grep -v ^##source
not ok 33 - Testing vcf-fix-ploidy .. cat fix-ploidy.vcf | perl -I../perl/ -MVcf ../perl/vcf-fix-ploidy -s fix-ploidy.samples -p fix-ploidy.txt 2>/dev/null | vcf-query -f '%POS[\t%SAMPLE %GTR %PL]\n'