Undrestanding BGEN files
Entering edit mode
5.2 years ago
Mazza ▴ 40

Hi all,

I have worked with Plink format files only and now I am facing some files they are all in .bgen .gen . sample .stats and so on format. I am really confused can anybody tell me how I can find the number of SNPs and Individuals with these files and how to read them? when I less them they are too busy I can not find any thing at all.

BGEN format • 5.8k views
Entering edit mode
5.2 years ago
Sam ★ 4.5k

You can find the detail information of the bgen format here:


Basically, this is a type of dosage data. Unfortunately, the bgen format is in binary. So you will either have to write your own programme or use some external programe to handle them. If all you want is just the number of SNPs and number of individuals and doesn't care much about the dosage, then you can use plink directly https://www.cog-genomics.org/plink/1.9/input#oxford

(If you only want the number of individual, read the .sample file, it will contain all the sample name and their pheontypes)


Login before adding your answer.

Traffic: 1317 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6