On Oct 2, 2023, at 4:26 PM, Peiyuan Zhu <gary...@gmail.com> wrote:
Is it possible to remove duplicate SNPs with PLINK2?I don't know why UKBiobank dataset could have duplicate rsids.
--
You received this message because you are subscribed to the Google Groups "plink2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plink2-users/45d7acac-cf4e-4a7c-8645-6859798074abn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "plink2-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/plink2-users/m-5yRlrylHE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to plink2-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plink2-users/a96469a1-2071-4da3-91a3-78ed6d93e16en%40googlegroups.com.
Using the above command gives error "Error: 9 duplicate IDs with inconsistent genotype data or variant information"
./plink2 --pfile ukb22828_c1_b0_v3_xxx --export bgen-1.2 bits=8 --rm-dup --out ukb22828_c1_b0_v3_xxx
PLINK v2.00a3LM 64-bit Intel (11 Oct 2021) www.cog-genomics.org/plink/2.0/
(C) 2005-2021 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to ukb22828_c1_b0_v3_xxx.log.
Options in effect:
--export bgen-1.2 bits=8
--out ukb22828_c1_b0_v3_xxx
--pfile ukb22828_c1_b0_v3_xxx
--rm-dup
Start time: Mon Oct 2 22:19:14 2023
257860 MiB RAM detected; reserving 128930 MiB for main workspace.
Allocated 7259 MiB successfully, after larger attempt(s) failed.
Using up to 64 threads (change this with --threads).
487409 samples (264251 females, 222957 males, 201 ambiguous; 487409 founders)
loaded from ukb22828_c1_b0_v3_xxx.psam.
2789 variants loaded from ukb22828_c1_b0_v3_xxx.pvar.
Note: No phenotype data present.
Error: 9 duplicate IDs with inconsistent genotype data or variant information
detected by --rm-dup; see ukb22828_c1_b0_v3_xxx.rmdup.mismatch .
End time: Mon Oct 2 22:19:14 2023