Hi,
I would like to convert a bgen v2 file to bgen v1 (or bed) format to run in Plink1.9.
I used bgenix to do this. The resulting v1-format file runs OK with snptest. But it does not work with Plink1.9. I get an error message "Error: File read failure."
I also used bgenix to convert bgen v2 to vcf format. Running the vcf genotype file with Plilnk1.9, I get "Error: No #CHROM header line in --vcf file."
Does anyone know how to do get bgen v2 into a format that will run with Plink1.9?
Is there another way to convert bgen v2 to bgen v1 format?
Is there some way to get Plink1.9 to use the bgen v1 format constructed by bgenix?
I can convert bgen v2 to pgen. Is there a way to convert pgen to bed? Plink 1.9 will use bed, so converting pgen to bed will also solve the problem.
thanks.
Stuart