Variant QC — Which Samples to Trust¶
In the app: QC & samples › Variant QC
Available on projects with variant (SNP) data, once the pipeline has delivered variant_qc.tsv — DNA and chromosome projects, and RNA projects that also called variants.
Variant QC answers "which samples can I trust for variant calling, which should be flagged, and which excluded?" It lays out per-sample sequencing and calling quality — depth, coverage breadth, heterozygous/homozygous ratio, transition/transversion ratio, missing genotypes, contamination, sex check and relatedness — and flags any sample that stands apart from the others or fails an absolute rule.

Example output from a demonstration project with synthetic data.
Findings¶
The first line counts the flagged samples ("N of M samples have a QC flag: …") or says that none has one. Then, one per sample:
- ⚠️ Sex mismatch — declared sex F but the genotypes suggest M — a sample swap or a labelling error.
- ⚠️ Relatedness flag — the sample carries a relatedness flag such as duplicate or unexpected unrelated (see Sample Relatedness).
- Excluded from the analysis — samples the pipeline marked as not included, with its reason.
Notes that can appear below the findings: that the run did not report coverage breadth; that relatedness could not be assessed for some samples (not a QC flag); that some samples have too few SNPs to compare het/hom, Ti/Tv or allele balance — expected for samples of the reference accession, which carry almost no variants against it; downsampling of the reads; and that contamination and genetic sex are not estimated for non-human genomes.
On an RNA + SNP project, extra notes explain that coverage breadth is not shown (depth follows expression, not the genome) and how depth is judged there.
What raises a flag¶
- Outliers — a value far from the other samples on the bad side only (robust z-score above 3.5, judged across all samples, with at least three samples): lower mean depth, less of the genome at ≥ 10×, a higher het/hom ratio, more missing genotypes, higher contamination, and similar.
- Absolute rules — median depth at called sites, or mean depth, below 10×; contamination above 3%; more than 5% contaminant reads; declared and inferred sex differ; MD5, FASTQ or read-pair checks failed; median het allele balance far from 0.5 on a diploid sample; any relatedness flag other than ok.
Filters¶
Metric¶
Which per-sample measure to chart. The list holds the measures this run reported, for example Mean depth (default), Median depth, % ≥ 10×, % ≥ 20×, % ≥ 30×, Het/hom, Ti/Tv, % missing GT and Contamination.
Per-sample chart¶
One bar per sample for the chosen metric, coloured flagged or ok (flagged for any reason, not only this metric). For depth, a dotted line marks 10×.
Raw data¶
Raw data — Per-sample QC¶
One row per sample with every measure the run reported. Typical columns:
| Column | Meaning |
|---|---|
| Sample | Sample name |
| Mean depth, Median depth | Sequencing depth |
| % ≥ 10×, % ≥ 20×, % ≥ 30× | Share of the genome (or target) covered at that depth |
| Het/hom | Ratio of heterozygous to homozygous-alternate calls |
| Ti/Tv | Transition/transversion ratio of the SNPs |
| % missing GT | Share of sites with no genotype call |
| Contamination | Estimated contamination fraction (0–1) |
| Declared sex, Inferred sex | Sex from the annotation and from the genotypes |
| Relatedness | The sample's relatedness flag |
| Included, Exclude reason | Whether the pipeline kept the sample, and why not |
| QC flag | Every reason the sample was flagged |
Runs that report more (total reads, % mapped, % duplicates, median depth at called sites, SNP and indel counts, allele balance, Q30, adapter) show those columns too.
QC sign-off¶
Below the table, QC sign-off records a decision for every sample — Include, Exclude or Undecided, with a Reason — exactly as in Sample QC: administrators save with Save decisions, an exclusion needs its reason, and the reports still show every sample.
Report settings that apply¶
None of the filter settings in the Report settings panel change this report. Appearance sets the plot styling (see Report Settings).
Reading it¶
- Ti/Tv for human and other mammalian genome or exome calls usually sits between 2.0 and 3.3 (the range the app uses in Variant Summary); plants and many other taxa sit lower. Within a project, a sample well below the others suggests false-positive calls.
- A high het/hom ratio or contamination points to a mixed sample; a low one can mean inbreeding or a homozygous line, which is expected in some organisms.
- A sex mismatch or an unexpected duplicate is usually a sample swap. Confirm in Sample Relatedness before deciding.