Error while running vcf2maf tool
0
0
Entering edit mode
3.9 years ago
Jordan ★ 1.3k

Hi,

I'm running vcf2maf.pl on about 100 VCF files. But some files (about 10) do not report any MAF, and they report the below error:

Can't exec "/bin/sh": Argument list too long at /home/.conda/envs/variant_calling/bin/vcf2maf.pl line 376.
Use of uninitialized value in concatenation (.) or string at /home/.conda/envs/variant_calling/bin/vcf2maf.pl line 376.
Can't exec "/bin/sh": Argument list too long at /home/.conda/envs/variant_calling/bin/vcf2maf.pl line 376.
Use of uninitialized value in concatenation (.) or string at /home/.conda/envs/variant_calling/bin/vcf2maf.pl line 376.
ERROR: You're either using an outdated samtools, or --ref-fasta is not the same genome build as your --input-vcf. at /home/.conda/envs/variant_calling/bin/vcf2maf.pl line 390.

Here is the code I used for running:

vcf2maf.pl --input-vcf $somatic_vcfs/${file_base%.vcf.gz}.somatic.vcf\
                --output-maf $maf_out/${sample}.maf \
                --tumor-id $tumor_id \
                --normal-id $normal_id \
                --species homo_sapiens \
                --ncbi-build GRCh38 \
                --cache-version 96 \
                --ref-fasta $ref \
                --vep-forks 14 \
                --vep-path $vep_path \
                --vep-data $vep_data

I'm unsure why this error happens only for a select VCF files.

Any help is appreciated!

vep vcf2maf variant-calling vcfs maf • 2.0k views
ADD COMMENT
0
Entering edit mode

use the ${variable} syntax in all your variables to avoid expansion.

ADD REPLY
0
Entering edit mode

Can you search for the error and try some of the suggested solutions? - it has been reported previously. The error is:

ERROR: You're either using an outdated samtools, or --ref-fasta is not the same genome build as your --input-vcf.

ADD REPLY

Login before adding your answer.

Traffic: 2717 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