Germline Copy Number Variant Calling for Whole-Genome-Sequencing with CNVscope

Download the CNVscope PDF:

Introduction

This document describes the capabilities of CNVscope for germline copy number variation (CNV) calling for whole-genome sequencing (WGS). If you have any additional questions, please contact the technical support at Sentieon® Inc. at support@sentieon.com.

Germline CNV calling with CNVscope

Basic usage of CNVscope

Two individual commands are run to call CNV and to apply the machine learning model. The input BAM file should come from a pipeline where alignment and deduplication have been performed.

sentieon driver [--interval INTERVAL_BED] -t NUMBER_THREADS \
  -r REFERENCE -i DEDUPED_BAM --algo CNVscope \
  --model ML_MODEL/cnv.model TMP_VARIANT_VCF

sentieon driver -t NUMBER_THREADS -r REFERENCE --algo CNVModelApply \
  --model ML_MODEL/cnv.model -v TMP_VARIANT_VCF VARIANT_VCF

Reminder

It is important to use the same model for CNVscope and CNVModelApply. If different models are used, CNVModelApply will give an error.

The following inputs are required for the command:

  • NUMBER_THREADS: the number of computer threads that will be used in the calculation. We recommend that the number does not exceed the number of computing cores available in your system.

  • REFERENCE: the location of the reference FASTA file. You should make sure that the reference is the same as the one used in the mapping stage.

  • DEDUPED_BAM: the location of the input BAM file.

  • TMP_VARIANT_VCF: the location and filename of the variant calling output of CNVscope. This is a temporary file.

  • VARIANT_VCF: the location and filename of the variant calling output. A corresponding index file will be created. The tool will output a compressed file by using .gz extension.

  • ML_MODEL: the location of the machine learning model file. In the CNVscope command the model will be used to determine the settings used in variant calling.

The following inputs are optional for the command:

  • INTERVAL_BED: the location of a BED file containing intervals for variant calling.

The final output VCF file uses CN annotation for the copy-number state for each region called by CNVscope machine-learning model. Possible copy-number states called by CNVscope are from 0 to 4, with CN=4 representing copy number states equal to or larger than 4.

Sex-aware CNV calling

Starting with release 202503.04, CNVscope calls the sex chromosomes according to the sample sex. The --sex argument of CNVscope gives the sample sex, and for male samples, the --par argument gives a BED file of the pseudo-autosomal regions (PAR). For a male sample, CNVscope calls the X and Y chromosomes as haploid outside the PAR. CNVModelApply takes no sex-specific arguments.

# Male sample
sentieon driver [--interval INTERVAL_BED] -t NUMBER_THREADS \
  -r REFERENCE -i DEDUPED_BAM --algo CNVscope \
  --model ML_MODEL/cnv.model --sex M --par PAR_BED TMP_VARIANT_VCF

# Female sample
sentieon driver [--interval INTERVAL_BED] -t NUMBER_THREADS \
  -r REFERENCE -i DEDUPED_BAM --algo CNVscope \
  --model ML_MODEL/cnv.model --sex F TMP_VARIANT_VCF

sentieon driver -t NUMBER_THREADS -r REFERENCE --algo CNVModelApply \
  --model ML_MODEL/cnv.model -v TMP_VARIANT_VCF VARIANT_VCF

The following inputs are used for sex-aware calling:

  • --sex M|F: the sample sex, M for male or F for female.

  • PAR_BED: the location of a BED file containing the pseudo-autosomal regions on the X and Y chromosomes of the reference genome. Required with --sex M. For the GRCh38 reference genome, the file contains the following tab-separated lines:

    chrX     10000   2781479 PAR1
    chrY     10000   2781479 PAR1
    chrX     155701382       156030895       PAR2
    chrY     56887902        57217415        PAR2
    

Without --sex, CNVscope calls the whole genome, or the regions in the --interval file, as diploid, as in earlier releases.

The sentieon-cli pipelines that call CNVs (dnascope-hybrid, dnascope-pangenome and hybrid-pangenome) estimate the sample sex from the read coverage and pass the matching --sex, and --par for male samples, to CNVscope.

Limitations of CNVscope machine learning model

Currently, CNVscope is trained on diploid WGS samples with CNV event size above 5000 base pairs and it should not be used to identify smaller CNVs. When calling the X and Y chromosomes of a male sample without --sex M, CNVscope calls them as diploid, and intermediate copy-number states (CN=1 and CN=3) are undefined there.