I have 7 tetraploid vcf files (generated through gatk Hapotypecaller) that I tried to merge through bcftools but It gave me following error:
Incorrect number of FORMAT/PL values at LK031787:1508, cannot merge. The tag is defined as Number=G, but found 5 values and 2 alleles.
This is what I have in position 1508:
Whereas my comment section includes following information for TAG PL:
##FORMAT=<ID=PL,Number=G,Type=Integer,Description="Normalized, Phred-scaled likelihoods for genotypes as defined in the VCF specification">
I replaced G with . but now got this error:
[W::bcf_hdr_check_sanity] PL should be declared as Number=G
Is it necessary to perform imputation for GBS data ?