# Imputed genotypes in BGEN format

This page has been last updated for R11.

### Sandbox directory

Imputed genotypes in the [BGEN](https://www.well.ox.ac.uk/~gav/bgen_format/) format (8-bit precision) are available in the following Sandbox directory:

`/finngen/library-red/finngen_R[RELEASE]/bgen`

### Data files

Two sets of BGEN files are available:

* variants per chromosome
* variants per chromosome chunked into smaller sets for parallel analysis (e.g. GWAS)

Both sets come with their `.bgi` and `.sample` files.

Please refer to the readme file in sandbox directory for full details of the available data.

#### **Variants per chromosome**

One BGEN file is available for each chromosome:

`data/chrom/finngen_R[RELEASE]_[CHROM].bgen`

#### **Variants per chromosome** chunked into smaller sets

We usually want to have smaller files to speed up parallel analysis (e.g. GWAS). For this reason, we have chunked the data so that each file contains a fixed smaller number of variants. The number can very between releases and is available in the readme file.

Chunked BGEN files are available for each chromosome:

`data/chunks/finngen_R[RELEASE]_[CHROM].[CHUNK].bgen`

The \[CHUNK] is an integer value that identifies each chunk for the chromosome.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/genotype-data/types-of-genotype-files-available/bgen-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
