remove variants with "." IDs

24 views
Skip to first unread message

Georg Otto

unread,
Jun 27, 2024, 10:11:33 AMJun 27
to plink2-users
Hi,
I have data in bed file format and would like to remove all variants with missing ID or ID "." using plink2. Neither --exclude-snp . nor --exclude-snps . seem to work.
Thanks a lot!
Georg

Chris Chang

unread,
Jun 27, 2024, 10:26:09 AMJun 27
to Georg Otto, plink2-users
Please post full .log file(s) when asking for troubleshooting help.

--
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/483d8385-cbb2-4020-8708-68a01843cbcfn%40googlegroups.com.

zorngibel

unread,
Jun 27, 2024, 3:00:59 PMJun 27
to Chris Chang, plink2-users

sorry for that here is the log:

PLINK v2.00a5.2LM 64-bit Intel (11 Oct 2023)
Options in effect:
  --exclude-snp .
  --make-bed
  --out test/affymetrix.chr22.1kg.1
  --vcf imputed-1kg/affymetrix/vcf/affymetrix.chr22.vcf.gz

Hostname: login-a
Working directory: /rds/general/project/airwave/live/imputed_orig_merged
Start time: Thu Jun 27 19:55:38 2024

Random number seed: 1719514538
1031883 MiB RAM detected, ~873451 available; reserving 515941 MiB for main
workspace.
Using up to 256 threads (change this with --threads).
--vcf: 652226 variants scanned.
--vcf: test/affymetrix.chr22.1kg.1-temporary.pgen +
test/affymetrix.chr22.1kg.1-temporary.pvar.zst +
test/affymetrix.chr22.1kg.1-temporary.psam written.
3907 samples (0 females, 0 males, 3907 ambiguous; 3907 founders) loaded from
test/affymetrix.chr22.1kg.1-temporary.psam.
652226 variants loaded from test/affymetrix.chr22.1kg.1-temporary.pvar.zst.
Note: No phenotype data present.
Error: --exclude-snp variant '.' not found.

End time: Thu Jun 27 19:56:17 2024

Chris Chang

unread,
Jun 27, 2024, 3:19:33 PMJun 27
to zorngibel, plink2-users
Please show that there is actually a variant named '.' in that file.
Reply all
Reply to author
Forward
0 new messages