I'm getting an error when i attempt to merge 3 vcfs with VCFtools' vcf-merge function. See below:
COMMAND:
/ifshome/vcftools_0.1.10/bin/vcf-merge *.vcf > combinedVCF.vcf
OUTPUT:
Can't locate Vcf.pm in @INC (@INC contains: /usr/local/mni/lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /ifshome/vcftools_0.1.10/bin/vcf-merge line 9.
BEGIN failed--compilation aborted at /ifshome/pbhatt/vcftools_0.1.10/bin/vcf-merge line 9.
What is the problem here?
Thanks! I'm getting a different error now:
Not sure what this is either... sorry I'm very new to this.
Your vcf file doesn't contain headers. How did you get it? If you downloaded it using tabix, remember to add the -h option, to include the headers as well.
I received these VCFs straight from Illumina and when I open the file itself in my favorite text editor I see the headers.
Check the files again. At least one file in your folder is missing the column headers. The last line before the data must begin with #CHROM, followed by 9 columns, and then one column per individual.
I've looked and both have the header column. Could it be a size issue? My VCF files are very large.