Hello,
I got the following error when trying to convert VCF files to BED. I can't share the data. I should note that I have tens of thousands of such files, and it worked for all except one. Log is below. Thanks!
Best, Oliver
PLINK v2.00a3.7LM 64-bit Intel (24 Oct 2022)
Options in effect:
--debug
--maf 0.05
--make-bed
--max-alleles 2
--memory 12000
--out bed_file_53
--vcf input_53.vcf.gz
Hostname: job-GQVXQX8JjVFPFGXYvXQzp0jJ
Working directory: /home/dnanexus
Start time: Tue Mar 28 18:54:53 2023
Random number seed: 1680029693
15713 MiB RAM detected; reserving 12000 MiB for main workspace.
Using up to 4 compute threads.
--vcf: 650 variants scanned.
--vcf: bed_file_53-temporary.pgen + bed_file_53-temporary.pvar.zst +
bed_file_53-temporary.psam written.
150119 samples (0 females, 0 males, 150119 ambiguous; 150119 founders) loaded
from bed_file_53-temporary.psam.
626 out of 650 variants loaded from bed_file_53-temporary.pvar.zst.
Note: No phenotype data present.
Calculating allele frequencies...
Error: Failed to unpack (0-based) variant #536 in .pgen file.
You can use --validate to check whether it is malformed.
* If it is malformed, you probably need to either re-download the file, or
address an error in the command that generated the input .pgen.
* If it appears to be valid, you have probably encountered a plink2 bug. If
you report the error on GitHub or the plink2-users Google group (make sure to
include the full .log file in your report), we'll try to address it.
End time: Tue Mar 28 18:54:57 2023