Hi
I created bim, fam, and bed files by Plink with the use of these codes.
> shell("plink --file r --maf 0.05 --geno 0.01 --mind 0.1 --hwe 1e-6
> --nonfounders --horse --make-bed --out r")
>
> shell("plink --file r --maf 0.05 --geno 0.01 --mind 0.1 --hwe 1e-6
> --nonfounders --horse --recode --out r")
>
>
> shell("plink --file r --maf 0.05 --geno 0.01 --mind 0.1 --hwe 1e-6
> --nonfounders --horse --recodeA --out rA")
>
> shell("plink --file r --maf 0.05 --geno 0.01 --mind 0.1 --hwe 1e-6
> --nonfounders --horse --recodeAD --out rAD")
Now, I want to create GRM by GCTA software.
> gcta64 --bfile r --autosome --make-grm --out r
But I am faced with an error.
Error: Line 1015 of [file.bim] contains illegal chr number, please check
Line of 1015: 27 M2609 0 913820 1 2
I removed this line but I see again this error in another line.
How can I solve this problem?
Thank you for your time
Maybe find all the rows with "illegal chr number" and fix them.