Hi, I was trying to QC of my genotype data with plink1.9 and plink2. The objective is to do QC with plink, then phasing and imputation. So, far it works great. For a few batches, during phasing with shaepit2 give error message: "Wrong ordering in physical positions curr_pos=77809318 prev_pos=190915650"
So, I tried to sort variants as follows: "plink2 --bfile chr4.step11 --sort-vars n --make-pgen --out chr4.step12"
and then "plink2 --pfile chr4.step12 --make-bed --out chr4.step13"
But same error persists during phasing. So, still I am unable to phase the plink files.
Attached is the log and error message. Any help?