Search bioRxiv⌕ Search

Biology subjects

Bolia, A.

Publications and source records attributed to Bolia, A..

2 recordsLinked to original sources

Generative Haplotype Prediction Outperforms Statistical Methods for Small Variant Detection in NGS Data

Detection of germline variants in next-generation sequencing data is an essential component of modern genomics analysis. Variant detection tools typically rely on statistical algorithms such as de Bruijn graphs or Hidden Markov Models, and are often coupled with heuristic techniques and thresholds to maximize accuracy. Here, we introduce a new approach that replaces these handcrafted statistical techniques with a single deep generative model. The models input is the set of reads aligning to a single genomic region, and the model produces two sets of output tokens, each representing the nucleotide sequence of a germline haplotype. Using a standard transformer-based encoder and double-decoder architecture, our model learns to construct germline haplotypes in a generative fashion identical to modern Large Language Models (LLMs). We train our model on 37 Whole Genome Sequences (WGS) from Genome-in-a-Bottle samples, and demonstrate that our method learns to produce accurate haplotypes with correct phase and genotype for all classes of small variants. We compare our method, called Jenever, to FreeBayes, GATK HaplotypeCaller, Clair3 and DeepVariant, and demonstrate that our method has superior overall accuracy compared to other methods. At F1-maximizing quality thresholds, our model delivers the highest sensitivity, precision, and the fewest genotyping errors for insertion and deletion variants. For single nucleotide variants our model demonstrates the highest sensitivity but at somewhat lower precision, and achieves the highest overall F1 score among all callers we tested.

bioinformatics↗

Jovian enables direct inference of germline haplotypes from short reads via sequence-to-sequence modeling

Detection of germline variants in next-generation sequencing data is an essential component of modern genomics analysis. Variant detection tools typically rely on statistical algorithms such as de Bruijn graphs, Hidden Markov Models and regression models, often coupled with heuristic techniques and thresholds to identify variants. Here we describe a new approach that replaces these handcrafted statistical methods with a single, end-to-end deep learning model that directly infers germline haplotypes from short read pileups. Our model, called Jovian, frames variant detection as a sequence-tosequence modeling task, akin to language translation, and employs a transformer-based architecture to translate alignment columns into two predicted haplotype sequences. After training with 17 whole genome sequences from Genome-in-a-Bottle cell lines, we demonstrate that this method learns to realign complex and ambiguous read mappings to produce accurate haplotype predictions, predicts variant genotypes and phase accurately, and leverages the local read context to inform predictions about a given position. We also demonstrate that a 2-dimensional positional encoding significantly improved precision of the detected variants. Compared to other callers, sensitivity and precision is higher than GATK HaplotypeCaller, but lower than DeepVariant and Strelka2.

bioinformatics↗