This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to convert bgen data files to PLINK format

I have sequence data which is in .bgen format .

Wanted to convert this into PLINK format. Any suggestion what's the best way to do this?

plink software bgen

1 answer

Why convert? plink accepts bgen format as input, see:

I tried this: plink2 --bgen data.chr22.bgen --make-bed --out ex22 But got this error message:

Error: .bgen file does not contain sample IDs, and no .sample file was specified.

what am i missing in command?

Error message is clear, you are missing sample file --sample [filename].

Log in to answer this question.