Question: How to convert PLINK data files to bgen and bgen.bgi files?
0
gravatar for rednalf
7 months ago by
rednalf60
rednalf60 wrote:

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 • 486 views
ADD COMMENTlink modified 7 months ago by chrchang5236.9k • written 7 months ago by rednalf60
2
gravatar for chrchang523
7 months ago by
chrchang5236.9k
United States
chrchang5236.9k wrote:

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 COMMENTlink written 7 months ago by chrchang5236.9k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 993 users visited in the last hour