> For the complete documentation index, see [llms.txt](https://clinical-genomics.gitbook.io/project-mip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clinical-genomics.gitbook.io/project-mip/develop/documentation/api/qc_metrics.md).

# QC metrics

**Version: 1.0.0**

The qc metric data on the case and samples are recorded in a yaml outfile format with the following data structure and keys:

```
recipe: { #Hash of hashes
    [METADATA_KEY] = string,
    version = string,
  },
},
sample: { #Hash of hashes
    [INFILE_PREFIX]: {
      [PROGRAM_NAME]: {
        [HEADER_ID]: {
          [COMPARISON]: {
            [METRIC_KEY]: <data_type>,
          },
        },
        [METRIC_KEY]: <data_type>,
        version = string,
      },
    },
    [METRIC_KEY]: <data_type>,
  },
}
```
