Dear SEQanswers,
I cannot get the Perl scripts in VCFtools called "vcf-merge" to work and would like to ask for your help.
This is my problem:
I have 5 VCF files I would like to merge, and I have converted each one to VCFv4.0 using the perl script in VCFtools/perl called "vcf-convert".
Then I used bgzip and tabix -p vcf as it is explained in the website.
I also changed the PATH to where the perl scripts are, like this:
"export PERL5LIB='/ugi/home/claudiagiambartolomei/shared/vcftools_0.1.5"
Finally, when I type "perl vcf-merge file1.vcf.gz.tbi file2.vcf.gz.tbi file3.vcf.gz.tbi file4.vcf.gz.tbi file5.vcf.gz.tbi | gzip -c > out_merged.vcf.gz "
First a lot of odd-looking signs and question marks come up, and then an error comes up which says:
], assuming VCFv4.0
Broken VCF header, no column names?
at /vcftools_0.1.5/perl//Vcf.pm line 169
Vcf::throw('Vcf4_0=HASH(0x25672d8)', 'Broken VCF header, no column names?') called at /vcftools_0.1.5/perl//Vcf.pm line 808
VcfReader::_read_column_names('Vcf4_0=HASH(0x25672d8)') called at /vcftools_0.1.5/perl//Vcf.pm line 583
VcfReader:
arse_header('Vcf4_0=HASH(0x25672d8)') called at /vcftools_0.1.5/perl/vcf-merge line 128
main::init_cols('HASH(0x28a5b20)', 'Vcf4_0=HASH(0x2566b40)') called at /vcftools_0.1.5/perl/vcf-merge line 221
main::merge_vcf_files('HASH(0x28a5b20)') called at /vcftools_0.1.5/perl/vcf-merge line 12
Can you please help me figure out what I am doing wrong?
Thank you very much for any advice you could give me,
-f
I cannot get the Perl scripts in VCFtools called "vcf-merge" to work and would like to ask for your help.
This is my problem:
I have 5 VCF files I would like to merge, and I have converted each one to VCFv4.0 using the perl script in VCFtools/perl called "vcf-convert".
Then I used bgzip and tabix -p vcf as it is explained in the website.
I also changed the PATH to where the perl scripts are, like this:
"export PERL5LIB='/ugi/home/claudiagiambartolomei/shared/vcftools_0.1.5"
Finally, when I type "perl vcf-merge file1.vcf.gz.tbi file2.vcf.gz.tbi file3.vcf.gz.tbi file4.vcf.gz.tbi file5.vcf.gz.tbi | gzip -c > out_merged.vcf.gz "
First a lot of odd-looking signs and question marks come up, and then an error comes up which says:
], assuming VCFv4.0
Broken VCF header, no column names?
at /vcftools_0.1.5/perl//Vcf.pm line 169
Vcf::throw('Vcf4_0=HASH(0x25672d8)', 'Broken VCF header, no column names?') called at /vcftools_0.1.5/perl//Vcf.pm line 808
VcfReader::_read_column_names('Vcf4_0=HASH(0x25672d8)') called at /vcftools_0.1.5/perl//Vcf.pm line 583
VcfReader:

main::init_cols('HASH(0x28a5b20)', 'Vcf4_0=HASH(0x2566b40)') called at /vcftools_0.1.5/perl/vcf-merge line 221
main::merge_vcf_files('HASH(0x28a5b20)') called at /vcftools_0.1.5/perl/vcf-merge line 12
Can you please help me figure out what I am doing wrong?
Thank you very much for any advice you could give me,
-f
Comment