You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the command works for most of the SNVs, but it failed for some SNVs as it flipped the ref and alt. For example, the SNV rs12404190 has bim record: 1 rs12404190 0 105020628 G A, and from dbSNP, it shows the reference allele should be G, and the alt should be A. However, when I used the following command to rename the SNPs, it gives me 1-105020628-A-G.
CHR <- as.numeric(seqGetData(genofile, "chromosome")) position <- as.integer(seqGetData(genofile, "position")) REF <- as.character(seqGetData(genofile, "$ref")) ALT <- as.character(seqGetData(genofile, "$alt")) VarInfo_genome <- paste0(CHR,"-",position,"-",REF,"-",ALT)
In the early version of PLINK, the allele columns in BIM are defined as the minor and major.
The recent version of PLINK has allowed users to use the ref and alt in the BIM file.
No description provided.
The text was updated successfully, but these errors were encountered: