SNPRelate icon indicating copy to clipboard operation
SNPRelate copied to clipboard

Ids in plink bed are not unique

Open zillurbmb51 opened this issue 5 years ago • 2 comments

Hello, I am using SNPRelate to investigate my variants. When I run: snpgdsBED2GDS(bed_r1321,bim_r1321,fam_r1321,'r1321.gds',cvt.snpid = 'auto') I am getting this:

Start file conversion from PLINK BED to SNP GDS ...
    BED file: '1321.maf5.indep0.1.bed'
        SNP-major mode (Sample X SNP), 2.4M
Error in snpgdsBED2GDS(bed_r1321, bim_r1321, fam_r1321, "r1321.gds", cvt.snpid = "auto") : 
  IDs in PLINK BED are not unique!

Any Help? Best, Zillur

zillurbmb51 avatar Sep 21 '19 03:09 zillurbmb51

Please check and modify your fam file. It says "family ID + individual ID" is not unique.

zhengxwen avatar Sep 26 '19 17:09 zhengxwen

Ok. Thank you very much. Here is my fam file and how can I edit this? Best, Zillur 1321.maf5.indep0.1.fam.txt

zillurbmb51 avatar Sep 28 '19 16:09 zillurbmb51