Machine Learning-Assisted Copy Number Variation Analysis

Research
Introduced by
Multiple groups; notable early ML-CNV tools include CNV-RF (Bellos et al., 2014) and CANOES (Backenroth et al., 2014)
Year
2010s–present
Type
Supervised/unsupervised machine learning pipeline for genomic structural variant detection
Family
Bioinformatics / omics

What does it do?

Machine learning-assisted CNV analysis uses supervised, unsupervised, or deep learning models to detect genomic regions that are duplicated or deleted relative to a reference genome.

Instead of applying a fixed depth cut-off, the model learns from read-depth, allele-frequency, and sequence features which combinations separate real events from artifacts in a given dataset. The approach assumes that the training labels are representative of the noise profile and event types in the target data. Whether this gives better accuracy than rule-based callers depends on the training labels and on the benchmark used to judge it.

The intuition behind the method

Traditional CNV callers apply fixed coverage thresholds: if a genomic window has twice the average depth, it is called a duplication. Sequencing artifacts, GC bias, and mappability variation can produce the same depth pattern as a real event, so a fixed cut-off cannot tell them apart. ML-assisted approaches train a model on labeled examples of true and false CNVs and learn which combinations of read depth, B-allele frequency, local GC content, and mapping quality separate real events from noise. The resulting classifier reflects the noise profile of its training data rather than a generic cut-off, which is also why its behavior depends on how representative those labels are.

History

Array-based comparative genomic hybridization enabled genome-wide copy number detection before sequencing-based methods became available. The first sequencing-based CNV callers, including CNVnator and BreakDancer, were largely rule-based, relying on fixed statistical criteria or signal thresholds. Early tools cited in this area include CNV-RF (Bellos et al., 2014) and CANOES (Backenroth et al., 2014); their statistical models differ and should be checked in the original papers before they are compared with learning-based methods. Deep learning approaches to CNV detection have been proposed more recently.

When to use it

Use ML-assisted CNV analysis when you have WGS or WES data from tumor-normal pairs, rare disease patients, or population cohorts, and a rule-based caller is missing events you need to detect. Low-coverage shallow WGS or degraded samples are cases where the approach may help, but only if the training data match that depth and sample quality; when coverage differs from the training set, the model usually needs retraining. It is most appropriate when a set of validated CNVs is available for training, or when a large panel of normals can supply a stable coverage baseline. Do not use it when the labeled training set is too small to fit a model that generalizes, for example when few confirmed events are available; in that case a statistical caller such as CNVnator or GATK gCNV is the safer choice. Avoid black-box models for clinical reports that must state why each call was made, unless explanation tools are used and the model has been validated for that purpose.

Limitations and considerations

  • Performance depends on labeled training data of sufficient size and quality; biased or noisy labels, including calls from the caller being benchmarked, degrade the model.
  • A model trained on one platform or coverage depth may not transfer to another without retraining, because the depth and GC profiles it learned differ.
  • Deep learning models can be hard to audit: it is difficult to say which features drove a given call.
  • Germline and somatic CNV detection differ in their baseline and in the role of aneuploidy; a model tuned for one context often performs poorly in the other.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Can separate depth changes caused by sequencing artifacts from real events when the artifact has a learnable signature, such as a GC-dependent depth bias that survives normalization.
  • Combines read depth, BAF, GC content, and mappability in one classifier, so a segment with ambiguous depth can be judged on its allele-frequency pattern and sequence context.
  • Where a tool provides a pre-trained model, it can be applied to a new cohort without full retraining when platform and coverage match the training conditions.
  • Deep learning models can take several signal types (read depth, BAF, split reads, paired-end discordance) as inputs within one model.
  • Once a model is fitted, new samples are scored with the same feature pipeline, so large cohorts can be processed in batch.

Applications

  • Detecting germline CNVs in exome or genome data from rare disease and developmental disorder patients, where population filtering of calls is needed for interpretation.
  • Calling somatic copy number alterations in tumor-normal pairs, where the matched normal supplies the depth baseline.
  • Population-scale studies that relate CNV burden to the heritability of complex traits, using batch scoring across large cohorts.
  • Screening cell-free DNA for aneuploidies and sub-chromosomal deletions or duplications in prenatal samples.
  • Quality control of structural variant callsets produced by sequencing pipelines.

How it works

How it works

1

Raw sequencing reads are aligned to a reference genome and quality-controlled. Coverage depth is normalized across the genome to remove systematic biases caused by GC content, mappability, and library preparation. For array-based inputs, log R ratios and B-allele frequencies are extracted from signal intensities.

2

Informative features are derived from the normalized coverage profile: per-window read depth, depth ratios between sample and a panel of normals, B-allele frequency (BAF) at heterozygous SNP sites, and local sequence characteristics such as GC percentage and mappability scores. These feature vectors represent candidate CNV segments.

3

A machine learning model, commonly a random forest, support vector machine, gradient boosting classifier, or convolutional neural network, is trained on a labeled dataset of known true and false CNV calls. Where a tool provides a model pre-trained on a reference cohort, transfer learning can fine-tune it on a new sample set; whether a pre-trained model exists for a given tool must be checked in that tool's documentation.

4

The trained model scores each candidate segment, producing a score for being a real CNV. Segments above a chosen decision threshold are reported as calls, annotated with their type (deletion or duplication), genomic coordinates, copy number state, and model confidence. Model scores are not calibrated probabilities by default; calibration should be checked on held-out data before a score is read as the probability of a real event.

5

High-confidence calls are checked against independent evidence: population databases (DGV, ClinVar, gnomAD-SV), the consistency of BAF and split-read signals with the depth change, and, where possible, experimental confirmation by array CGH, FISH, or long-read sequencing. Precision-recall curves against a gold-standard callset guide threshold choice, and the threshold should be set on held-out data rather than on the training set.

Common pitfalls

  • Training labels taken from the caller being benchmarked create circular validation; evaluate against an independent gold-standard callset.
  • Mixing samples from different sequencing runs without normalizing coverage within each batch can inflate apparent performance through batch effects.
  • A model trained on diploid germline samples is likely to miscall aneuploid tumor genomes; use tumor-appropriate training data.
  • Choosing the decision threshold on the training set gives overconfident precision-recall estimates; hold out a validation set.
  • Reporting every model output without filtering against population databases flags many common benign variants as candidates.

Frequently asked questions

Do I need a paired normal sample to run ML-CNV analysis?

Not always. Tumor-normal paired designs are standard in somatic CNV calling and improve specificity. For germline CNV detection, a panel of normals (PoN) from the same sequencing batch serves as the reference baseline. Some tools support single-sample calling using population-level priors, but sensitivity and specificity may be lower without a matched reference.

How is this different from standard CNV calling tools like CNVnator?

Classical tools like CNVnator apply fixed statistical criteria (for example, fixed read-depth criteria) that do not adapt to dataset-specific noise. ML-assisted methods learn a decision boundary from labeled data. When the labeled data are representative, this can improve the precision-recall trade-off, particularly for small CNVs (under 10 kb) and in samples with high technical variability. The gain is not guaranteed and should be checked on a benchmark that matches your data.

Can I use a pre-trained model, or must I train my own?

Some tools provide pre-trained models or population priors derived from large reference cohorts, but whether a given tool does so should be checked in its own documentation. Pre-trained models work best if your data match the training conditions (same platform, similar coverage depth). For novel platforms or unusual sample types, fine-tuning or retraining on a cohort-specific labeled set is likely to perform better.

What sample size do I need for training?

The labeled set needed depends on the data and the model class, and no general rule fixes it. A practical approach is a learning curve: train on increasing subsets of labeled calls and check held-out performance until it stops improving. If the labeled set is small, use a pre-trained model with transfer learning where one exists, or revert to a statistical caller.

How do I validate my ML-CNV calls?

Standard practice involves: (1) comparing calls against population CNV databases (DGV, gnomAD-SV) to filter common benign variants; (2) checking concordance between the ML caller and at least one independent tool; (3) experimental validation of high-priority calls by array CGH or long-read sequencing; and (4) reporting precision-recall benchmarking against a gold-standard callset such as the Genome in a Bottle structural variant truth set.

What do the model confidence scores mean, and how should I choose a threshold?

A confidence score ranks candidate segments. It is not a calibrated probability unless calibration has been checked on held-out data. Choose the decision threshold on a validation set rather than the training set, by plotting precision against recall and selecting the operating point that fits your use: a higher threshold where false positives are costly, such as clinical reporting, and a lower one for discovery where follow-up validation is planned. Report the false-positive rate at the chosen threshold alongside the callset.

What should I do when the ML caller and a statistical caller disagree on a call?

Agreement between models is not proof of a real event, and disagreement is not proof of an artifact. Resolve discordant calls with independent evidence: whether the BAF pattern matches the depth change, whether split-read or discordant-pair signals support the breakpoints, whether the call appears in population databases, and, where needed, orthogonal validation by array CGH, FISH, or long-read sequencing.

Related methods

Sources

  1. Aganezov, S., Goodwin, S., Sherman, R. M., Sedlazeck, F. J., Mehta, G., Rushbrook, S., ... & Schatz, M. C. (2020). Comprehensive analysis of structural variants in breast cancer genomes using single-molecule sequencing. Genome Research, 30(9), 1258-1273.

    Open publication reference
  2. Zare, F., Dow, M., Monteleone, N., Bhatt, A., & Bhatt, D. L. (2017). An evaluation of copy number variation detection tools for cancer using whole exome sequencing data. BMC Bioinformatics, 18(1), 286.

    Open publication reference