Hi Christopher,
Thank you for pointing out where the problem is!
FYI, I have explored and noticed that the dosage formats become inconstant after reading vcf with dosages using PLINK2 and then export to vcf. The command is just like:
plink2 --vcf file.vcf dosage=HDS --export vcf vcf-dosage=HDS --out output_name
my original dosage vcf files have a same format like GT:DS:HDS:GP 0|0:0:0,0:1,0,0 After converting, both 0|0 and .|. formats exist in the new vcf file, and there're also some with the problem you just pointed out, which I am not sure how it happened, since I have seen in another post that you mentioned that all genotypes should be either "0|0" or ".|." Is this expected?
Thanks!