Abstract
Haplotype assembly and viral quasispecies reconstruction are critical tasks in genomics, aimed at identifying individual genetic strains from a mixture of sequencing reads. These problems are computationally NP-hard due to sequencing errors and the short length of reads relative to chromosomes. We present GAEseq, a novel framework that utilizes a Graph Auto-Encoder (GAE) to model sequencing data as a bipartite graph. By learning to reconstruct the underlying genomic matrix, GAEseq effectively filters noise and clusters reads by their origin. Experimental results on polyploid organisms and viral mixtures demonstrate that GAEseq outperforms existing combinatorial methods in accuracy and error resilience.
Introduction
The genetic landscape of many organisms is complex. While humans are diploid, many plants are polyploid, and viral populations often exist as a "quasispecies" of closely related strains. High-throughput sequencing generates millions of short reads, but the challenge lies in "phasing" or assembling these reads to reconstruct the original haplotypes. This task is complicated by limited read lengths, sequencing artifacts, and the inherent complexity of polyploid genomes. Traditional methods often rely on heuristics to optimize the Minimum Error Correction (MEC) score, which can struggle with scalability and accuracy in high-noise environments.
Methodology
GAEseq transforms the assembly problem into a graph-based learning task. The core of the approach is the representation of sequencing data as an undirected bipartite graph.
Graph Representation
In this model, nodes are divided into two sets: sequencing reads and Single Nucleotide Polymorphism (SNP) positions. An edge is drawn between a read node and an SNP node if the read covers that specific position. The edge weights correspond to the observed nucleotides (A, C, G, or T).
Architecture and Training
The GAEseq architecture consists of a stacked graph convolutional encoder and a component decoder.
- Encoder: The encoder performs message passing between read and SNP nodes to capture structural relationships. It outputs a "read origin indicator matrix" via a softmax function, estimating the posterior probability of each read belonging to a specific haplotype or strain.
- Decoder: The decoder uses these estimated origins to find a consensus sequence for each component, effectively reconstructing the haplotypes and imputing missing data.
- Loss Function: The model is trained to minimize the squared Frobenius norm between the original (one-hot encoded) data and the reconstructed matrix, which serves as a differentiable approximation of the MEC score.
Results
The performance of GAEseq was evaluated using semi-experimental polyploid data (Solanum Tuberosum), synthetic triploid datasets, and real experimental HIV-1 data.
Performance on Polyploid Data
On the Solanum Tuberosum dataset, GAEseq consistently achieved lower MEC scores and higher Correct Phasing Rates (CPR) compared to state-of-the-art tools like HapCompass and H-PoP. The model's robustness was particularly evident across varying levels of sequencing coverage.
Viral Quasispecies Reconstruction
In tests on an HIV-1 "5-virus-mix," GAEseq demonstrated superior reconstruction capabilities. It perfectly reconstructed all five strains in 8 out of 13 genes, surpassing the performance of specialized tools like PredictHaplo and TenSQR which only managed perfect reconstruction in 5 or 6 genes.
Conclusion
GAEseq introduces a powerful neural network-based approach to genomic assembly. By leveraging the structural information inherent in bipartite graphs, it provides an end-to-end solution that is resilient to sequencing errors. While performance is sensitive to very low coverage, GAEseq sets a new benchmark for haplotype assembly and viral reconstruction. Future work will focus on integrating long-read data and improving the handling of nucleotide insertions.
Summary updated