Interlacing Personal and Reference Genomes for Machine Learning Disease-Variant Detection

Luke R. Harries, Suyi Zhang, Geoffroy Dubourg-Felonneau, James H. R. Farmery, Jonathan Sinai, Belle Taylor, Nirmesh Patel, John W. Cassidy, John Shawe-Taylor, Harry W. CliffordarXiv 2018

Abstract

Identifying genetic variants is critical for precision medicine. While deep learning models have significantly improved variant calling, standard genomic "pile-up" images often isolate the reference genome at the top of the image, limiting the local context available to convolutional neural networks (CNNs). This paper introduces "spliced pile-ups"—an architectural modification that interlaces the reference sequence throughout the input image—and SomaticNET, a Siamese network for somatic variant detection. Our results demonstrate that interlacing the reference genome improves F1 scores for both germline and somatic variants when using ResNet architectures and significantly accelerates training convergence.

Introduction

The detection of genetic mutations, including heritable (germline) and cancer-related (somatic) variants, is a fundamental task in genomics. Traditional methods rely on Bayesian heuristics, but recent deep learning approaches have demonstrated superior performance by treating genomic data as images. However, standard "pile-up" representations place the human reference genome as a single line at the top, far from many sequenced reads. Because CNN kernels have small, local receptive fields, they struggle to compare distant reads to the reference, which can lead to the misidentification of sequencing errors as true mutations.

Methods

To address the limitations of spatial locality in genomic images, the authors propose two primary innovations:

  1. Spliced Pile-ups: Instead of placing the reference genome only at the top, it is interlaced every s rows, where s corresponds to the vertical stride of the CNN kernel. This ensures that every convolutional operation includes the reference sequence as local context, allowing the network to learn weights for direct comparison.
  2. SomaticNET (Siamese Networks): For somatic variant calling—a "spot the difference" task between tumor and normal tissue—the authors employed a Siamese CNN architecture. This model maps both images into a latent space and calculates the Euclidean distance between their vectors to identify mutations; a small distance indicates identical sequences, while a large distance suggests a somatic mutation.

The models were evaluated using ResNet34 and InceptionV4 architectures on the "Platinum Genomes" dataset for germline variants and a synthetic dataset created with BAMsurgeon for somatic variants.

Results and Discussion

The interlacing technique significantly improved performance for ResNet34 architectures. For germline variants, the F1 score increased from 93.7% to 95.3%. Beyond accuracy, the spliced images enabled faster convergence during the training phase compared to standard pile-ups.

Comparison of normal and spliced pile-up images and their impact on validation accuracy.

In somatic variant detection, the Siamese ResNet34 achieved an F1 score of 93.6%. The model effectively separated normal and tumor sequences based on the Siamese distance metric, as shown in the distribution of distances and the resulting classification accuracy.

Siamese distance distribution and classification accuracy for somatic variant detection.

Interestingly, the "spliced" approach was sensitive to the underlying architecture. While it provided clear benefits for ResNet, it hindered InceptionV4. The authors hypothesize that Inception's complex, multi-branch structure may lead to ineffective backpropagation when the input structure is altered in this manner.

Conclusion

By physically moving reference data closer to sequenced reads within the input image, the authors transformed a global comparison problem into a local feature extraction task. This spatial modification improves both accuracy and training efficiency for genomic deep learning. Future work will focus on the robustness of these techniques in real-world tumor samples, which often present challenges such as tissue impurity and genetic heterogeneity.

Summary updated

BibTeX
@misc{harries2018interlacing,
  author = {Luke R. Harries and Suyi Zhang and Geoffroy Dubourg-Felonneau and James H. R. Farmery and Jonathan Sinai and Belle Taylor and Nirmesh Patel and John W. Cassidy and John Shawe-Taylor and Harry W. Clifford},
  title = {{Interlacing Personal and Reference Genomes for Machine Learning Disease-Variant Detection}},
  year = {2018},
  eprint = {1811.11674},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.11674},
}
Figure