Runtime and accuracy metrics for all release models

February 27, 2023 ยท View on GitHub

WGS (Illumina)

Runtime

Runtime is on HG003 (all chromosomes).

StageTime (minutes)
make_examples~103m
call_variants~185m
postprocess_variants (with gVCF)~48m
total~336m = ~5.6 hours

Accuracy

hap.py results on HG003 (all chromosomes, using NIST v4.2.1 truth), which was held out while training.

TypeTRUTH.TPTRUTH.FNQUERY.FPMETRIC.RecallMETRIC.PrecisionMETRIC.F1_Score
INDEL501715278611880.9944780.9977330.996103
SNP33068442065242620.9937940.9987130.996247

See VCF stats report.

WES (Illumina)

Runtime

Runtime is on HG003 (all chromosomes).

StageTime (minutes)
make_examples~6m
call_variants~1m
postprocess_variants (with gVCF)~1m
total~8m

Accuracy

hap.py results on HG003 (all chromosomes, using NIST v4.2.1 truth), which was held out while training.

TypeTRUTH.TPTRUTH.FNQUERY.FPMETRIC.RecallMETRIC.PrecisionMETRIC.F1_Score
INDEL101932100.9695530.9904670.979898
SNP24981298490.9882120.9980430.993103

See VCF stats report.

PacBio (HiFi)

Runtime

Runtime is on HG003 (all chromosomes).

StageTime (minutes)
make_examples~154m
call_variants~201m
postprocess_variants (with gVCF)~56m
total~411m = ~6.85 hours

Accuracy

hap.py results on HG003 (all chromosomes, using NIST v4.2.1 truth), which was held out while training.

Starting from v1.4.0, users don't need to phase the BAMs first, and only need to run DeepVariant once.

TypeTRUTH.TPTRUTH.FNQUERY.FPMETRIC.RecallMETRIC.PrecisionMETRIC.F1_Score
INDEL501629287227710.9943070.9947250.994516
SNP3324633286218520.999140.9994440.999292

See VCF stats report.

ONT_R104

Runtime

Runtime is on HG003 ultra-long reads (all chromosomes).

StageTime (minutes)
make_examples~782m
call_variants~266m
postprocess_variants (with gVCF)~67m
total~1115m = ~18.58 hours

Accuracy

hap.py results on HG003 ultra-long reads (all chromosomes, using NIST v4.2.1 truth), which was held out while training.

TypeTRUTH.TPTRUTH.FNQUERY.FPMETRIC.RecallMETRIC.PrecisionMETRIC.F1_Score
INDEL44420860293426120.880490.9155530.897679
SNP3320812668392940.9979920.997210.997601

See VCF stats report.

Hybrid (Illumina + PacBio HiFi)

Runtime

Runtime is on HG003 (all chromosomes).

StageTime (minutes)
make_examples~150m
call_variants~178m
postprocess_variants (with gVCF)~41m
total~369m = ~6.15 hours

Accuracy

Evaluating on HG003 (all chromosomes, using NIST v4.2.1 truth), which was held out while training the hybrid model.

TypeTRUTH.TPTRUTH.FNQUERY.FPMETRIC.RecallMETRIC.PrecisionMETRIC.F1_Score
INDEL503347115420030.9977130.9962250.996968
SNP3323945355015350.9989330.9995390.999236

See VCF stats report.

How to reproduce the metrics on this page

For simplicity and consistency, we report runtime with a CPU instance with 64 CPUs This is NOT the fastest or cheapest configuration.

Use gcloud compute ssh to log in to the newly created instance.

Download and run any of the following case study scripts:

# Get the script.
curl -O https://raw.githubusercontent.com/google/deepvariant/r1.5/scripts/inference_deepvariant.sh

# WGS
bash inference_deepvariant.sh --model_preset WGS

# WES
bash inference_deepvariant.sh --model_preset WES

# PacBio
bash inference_deepvariant.sh --model_preset PACBIO

# ONT_R104
bash inference_deepvariant.sh --model_preset ONT_R104

# Hybrid
bash inference_deepvariant.sh --model_preset HYBRID_PACBIO_ILLUMINA

Runtime metrics are taken from the resulting log after each stage of DeepVariant. The runtime numbers reported above are the average of 5 runs each. The accuracy metrics come from the hap.py summary.csv output file. The runs are deterministic so all 5 runs produced the same output.