Hi Chris, I am using PLINK2 to merge heavy files (binary filesets) and then exporting them into bgen format. One of the file caused problem, if i remove that file - merging works. I tried to investigate whether it is problem with that specific input fileset, but if i only attempt exporting that input fileset to bgen format- it works. However, if that fileset is part in merge list, it throws following error:
' filenameXYZ.bim could not be scanned twice'
logfile:
plink2 --pmerge-list chr16.binaryfileset --pmerge-output-vzs --export bgen-1.2 bits=8 ref-first --delete-pmerge-result --out chr16merged
Logging to chr16merged.log.
Options in effect:
--delete-pmerge-result
--export bgen-1.2 bits=8 ref-first
--out chr16merged
--pmerge-list chr16.binaryfileset
--pmerge-output-vzs
Start time: xxxxxxxxxx
257911 MiB RAM detected; reserving 128955 MiB for main workspace.
Using up to 64 threads (change this with --threads).
--pmerge-list: 47 filesets specified.
--pmerge-list: xxxxxxxx samples and xxx phenotype present.
--pmerge-list: Merged .psam written to chr16merged.psam .
--pmerge-list: 47 .pvar files scanned.
Concatenation job detected.
Error: filenameXYZ.bim could not be scanned twice.
Concatenating... 0/1262610 variants complete.
Concatenating... 10000/1262610 variants complete.
Concatenating... 20000/1262610 variants complete.
Concatenating... 30000/1262610 variants complete.
Concatenating... 40000/1262610 variants complete.
Concatenating... 50000/1262610 variants complete.
Concatenating... 60000/1262610 variants complete.
(Process-substitution/named-pipe input is not permitted in this use case.)
End time: xxxxxxxxx
Looking forward to the support,
Summaira