Hi Christopher, I have tried using a txt file to contain the file names, which I suppose is what is meant by the documentation. However, I still get the error saying this function is under development, which I suppose this won't happen because I'm already using the latest version.
[zhupy@blg4110 zhupy]$ cat ukb_c.txt
ukb_c1
ukb_c2
ukb_c3
ukb_c4
ukb_c5
ukb_c6
ukb_c7
ukb_c8
ukb_c9
ukb_c10
ukb_c11
ukb_c12
ukb_c13
ukb_c14
ukb_c15
ukb_c16
ukb_c17
ukb_c18
ukb_c19
ukb_c20
ukb_c21
ukb_c22
ukb_cX
ukb_cXY
[zhupy@blg4110 zhupy]$ ./plink2 --pmerge-list ukb_c.txt --pmerge-list-dir . --out ukb_imp_genom --multiallelics-already-joined
PLINK v2.00a3LM 64-bit Intel (28 Mar 2021) www.cog-genomics.org/plink/2.0/
(C) 2005-2021 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to ukb_imp_genom.log.
Options in effect:
--multiallelics-already-joined
--out ukb_imp_genom
--pmerge-list ukb_c.txt
--pmerge-list-dir .
Start time: Mon Apr 5 02:39:07 2021
192029 MiB RAM detected; reserving 96014 MiB for main workspace.
Using up to 40 threads (change this with --threads).
--pmerge-list: 24 filesets specified.
--pmerge-list: 487409 samples present.
--pmerge-list: Merged .psam written to ukb_imp_genom.psam .
--pmerge-list: 24 .pvar files scanned.
Error: --pmerge[-list] is under development.
End time: Mon Apr 5 02:39:40 2021
[zhupy@blg4110 zhupy]$ ./plink2 --pmerge-list ukb_c.txt --pmerge-list-dir . --out ukb_c
PLINK v2.00a3LM 64-bit Intel (28 Mar 2021) www.cog-genomics.org/plink/2.0/
(C) 2005-2021 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to ukb_c.log.
Options in effect:
--out ukb_c
--pmerge-list ukb_c.txt
--pmerge-list-dir .
Start time: Mon Apr 5 13:46:01 2021
192029 MiB RAM detected; reserving 96014 MiB for main workspace.
Using up to 40 threads (change this with --threads).
--pmerge-list: 22 filesets specified.
--pmerge-list: 487409 samples present.
--pmerge-list: Merged .psam written to ukb_c.psam .
Error: The biallelic variants with ID 'rs151120166' at position 1:715142 in
./ukb_c1.pvar appear to be the components of a 'split' multiallelic variant; if
so, it must be 'joined' (with e.g. "bcftools norm -m") before a correct merge
can occur. If you are SURE that your data does not contain any same-position
same-ID variant groups that should be joined, you can suppress this error with
--multiallelics-already-joined.
End time: Mon Apr 5 13:46:29 2021
[zhupy@blg4110 zhupy]$ ./plink2 --pmerge-list ukb_c.txt --pmerge-list-dir . --out ukb_c --multiallelics-already-joined
PLINK v2.00a3LM 64-bit Intel (28 Mar 2021) www.cog-genomics.org/plink/2.0/
(C) 2005-2021 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to ukb_c.log.
Options in effect:
--multiallelics-already-joined
--out ukb_c
--pmerge-list ukb_c.txt
--pmerge-list-dir .
Start time: Mon Apr 5 13:46:42 2021
192029 MiB RAM detected; reserving 96014 MiB for main workspace.
Using up to 40 threads (change this with --threads).
--pmerge-list: 22 filesets specified.
--pmerge-list: 487409 samples present.
--pmerge-list: Merged .psam written to ukb_c.psam .
--pmerge-list: 22 .pvar files scanned.
Concatenation job detected.
Concatenating... 0/92775306 variants complete.Error: --pmerge[-list] multiallelic-variant dosage support is under development.
End time: Mon Apr 5 13:47:17 2021
The ids are duplicated for multialletic variants.
> ukb_c1 %>% filter(ID=="rs151120166")
# A tibble: 2 x 5
`#CHROM` POS ID REF ALT
<dbl> <dbl> <chr> <chr> <chr>
1 1 715142 rs151120166 G A
2 1 715142 rs151120166 G T