> For the complete documentation index, see [llms.txt](https://help.connected.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/reviewing_a_case/lab_tab/sample-quality-section/ngs-sample-quality-metrics/contamination.md).

# Contamination

The **Contamination** column reports whether a sample shows signs of DNA contamination, helping ensure data reliability before interpretation.

{% hint style="info" %}
Be mindful that **when contamination is suspected in sequencing data, it could stem from various sources**, including true contamination, sample mix-up, library preparation issues, or technical artifacts.

Always confirm the issue with other quality checks.
{% endhint %}

Contamination is detected using [Peddy](https://pubmed.ncbi.nlm.nih.gov/28190455/) calculations, which estimate the proportion of reads that do not match the expected genotype. This estimate is based on the `idr_baf` score.

`idr_baf` stands for the interdecile range of the B-allele frequency—calculated as the difference between the 90th and 10th percentiles of the distribution of alt / (ref + alt) ratios across all variant sites.

A larger `idr_baf` value indicates greater variability in allele balance, which may suggest sample contamination, particularly from another human DNA sample.

## Results

### No

No contamination detected: `idr_baf` < 0.200.

### Unlikely

Possible contamination, but evidence is weak: 0.200 ≤ `idr_baf` < 0.241.

### Likely

Contamination suspected: 0.241 ≤ `idr_baf` < 0.300.

### Yes

Contamination confirmed: `idr_baf` ≥ 0.300.

### N/A

No data is available:

* v100.41+: The sample contains fewer than 10000 variants. Below this threshold, there are too few variants to validate contamination reliably.
* `idr_baf` = 0.000.
* The case is an older case.

{% hint style="success" %}
Hover over the value to display a tooltip showing the **HET ratio** (proportion of sites that are heterozygous) and the **HET count** (number of heterozygote calls in sampled sites).
{% endhint %}

{% hint style="success" %}
**Tips:**

* Always review contamination results before starting interpretation to rule out technical issues that could explain unexpected variant calls.
* Cross-check contamination results with other QC metrics (e.g., depth, ploidy, sex validation) for a more complete picture of sample quality.
* For family cases, check that no contamination is flagged before relying on inheritance-based filters.
  {% endhint %}

{% hint style="danger" %}
**Warnings:**

* **Panels:**
  * **v100.41+:** Contamination is not performed for samples with fewer than 10000 variants and shows **N/A**.
  * **v100.40 and earlier:** Contamination estimates may be less reliable because fewer variants are available. Cross-check with other QC metrics when interpreting these results.
* **Do not use in isolation**: A "Likely" or "Yes" result should not immediately be considered diagnostic — review case setup, sequencing quality, and sample handling first.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/reviewing_a_case/lab_tab/sample-quality-section/ngs-sample-quality-metrics/contamination.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
