Undrestanding BGEN files
1
3
Entering edit mode
7.0 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 • 6.9k views
ADD COMMENT
2
Entering edit mode
7.0 years ago
Sam ★ 4.7k

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

http://www.well.ox.ac.uk/~gav/bgen_format/

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)

ADD COMMENT

Login before adding your answer.

Traffic: 2544 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