How to convert PLINK data files to bgen and bgen.bgi files?
1
0
Entering edit mode
4.5 years ago
rednalf ▴ 90

For a specific script, I need genotyping data in .bgen and .bgen.bgi format. How can I obtain those formats starting from PLINK data files?

SNP genome • 6.1k views
ADD COMMENT
5
Entering edit mode
4.5 years ago

With PLINK 2.0,

plink2 --bfile ... --export bgen-1.2 --out ...

can be used to create the bgen file (replace "1.2" with "1.1" or "1.3" if you want a different format version). bgenix (https://bitbucket.org/gavinband/bgen/wiki/bgenix ) can then be used to construct the .bgen.bgi index.

ADD COMMENT

Login before adding your answer.

Traffic: 2773 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6