# Genetic relationships (GRM)

This page has been last updated for R13.

### Sandbox directory

Genetic relationships (GRM) are available in the following Sandbox directory:

`/finngen/library-red/finngen_R[RELEASE]/grm_1.0`

### Data files

We use a high-quality LD-pruned subset of the imputed genotype data for genetic relationship matrix (GRM) calculation. The data has been generated using [plink](https://www.cog-genomics.org/plink/2.0/formats) with hard-called genotypes. Population outliers and genetic duplicates are excluded from the imputed genotype data files and this explains the difference in samples between imputed data files and GRM files.

* `R[RELEASE]_GRM_VO_LD_0.2.bed`: GRM file in PLINK binary biallelic genotype table format
* `R[RELEASE]_GRM_VO_LD_0.2.bim`: Extended variant information file accompanying the .bed file
* `R[RELEASE]_GRM_VO_LD_0.2.fam`: Sample information file accompanying the .bed file
* `R[RELEASE]_GRM_VO_LD_0.2.log`: Log from plink
* `R[RELEASE]_variants_info_allbatches_0.90.txt`: Sisu v4.2 panel variants with INFO score >= 0.90 in every batch in format "chr\_pos\_ref\_alt"

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


---

# 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/grm-data.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.
