bcftools error on freebayes vcfs
1
0
Entering edit mode
2.5 years ago
mark.rose ▴ 50

Hi

When attempting to run bcftools merge (v1.9) on freebayes (v1.3.4) vcfs I get the following error:

Incorrect number of FORMAT/AD values at <fasta>:1325, cannot merge. The tag is defined as Number=R, but found 3 values and 2 alleles.

Posted on the freebayes Google Group but no response.

Help would be appreciated.

Thanks
Mark

vcf freebayes bcftools • 687 views
ADD COMMENT
1
Entering edit mode
2.5 years ago
iraun 6.2k

Hi!

I had this problem in the past and I solved it by replacing VCF header for AD field from Number=R to Number=.

Fyi, in my case the source of the error was having more AD fields than REF and ALT alleles due to some VCF pre-processing.

ADD COMMENT

Login before adding your answer.

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