Thanks for sharing that. One thing is unclear to me is it necessary to run: plink --bfile output8 --genome --grm-cutoff 0.1 --make-bed --out output9
after I did run this bellow? plink2 --bfile output7 --king-cutoff 0.0884 plink2 --bfile output7 --remove plink2.king.cutoff.out.id --make-bed --out output8