Dear PLINK2 team,
I am trying to convert dosage (from TOPMED imputation server and stored in vcf.gz files) to hardcall genotype using plink2 and have observed inconsistent result between dosage and hardcall.
Here are the code I used to test:
plink2 --vcf myvcf.dose.vcf.gz dosage=DS \
--hard-call-threshold 0.499 \
--double-id \
--make-bed \
--out test
plink1.9 --bfile test \
--allow-no-sex \
--keep-allele-order \
--recode A \
--out test_callbyplink2
Then I used one SNP to see if the dosage information is consistent with hardcall, and here is a screenshot for the inconsistent example. I also did a boxplot and find this inconsistent is common for all 0,1,2 hardball genotype. Could you help me see if there is something wrong with my usage of converting dosage to hardcall?
thanks,
Zixuan