ARGformer: learning on ancestral recombination graphs with transformers
Bonet, D.; Shanks, C.; Cara, M. C.; Abante, J.; Ioannidis, A. G.
Show abstract
Recent advances in inference of the ancestral recombination graph (ARG), which describes how segments of chromosomes trace back through recombination and shared lineages, have made it possible to reconstruct genome-wide genealogies for large cohorts, but it remains difficult to summarize and use this information for population genetic analyses. We present ARGformer, an encoder-only transformer that learns context-dependent embeddings with a self-supervised masked objective finetuned with contrastive learning for downstream retrieval tasks. We train ARGformer on genealogies from coalescent simulations and on genealogies inferred from ancient and present-day Homo sapiens genomes. Using only these learned embeddings, without access to genotype matrices, ARGformer captures patterns of global population structure and supports ancestry inference through clustering and nearest-neighbor retrieval. On genealogies that include archaic hominins, ARGformer can highlight Denisovan-derived segments in Oceanian genomes and reveals Oceanian-like ancestry in South American Indigenous populations. ARGformer is available at https://github.com/AI-sandbox/ARGformer.
Matching journals
The top 8 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- GGTyper: genotyping complex structural variants using short-read sequencing data 93%
- SAILER: Scalable and Accurate Invariant Representation Learning for Single-Cell ATAC-Seq Processing and Integration 93%
- Generative Haplotype Prediction Outperforms Statistical Methods for Small Variant Detection in NGS Data 93%
Similar papers in this journal
- Three-dimensional genome architecture persists in a 52,000-year-old woolly mammoth skin sample 93%
- Population Structure, Stratification and Introgression of Human Structural Variation. 92%
- Private information leakage from functional genomics data: Quantification with calibration experiments and reduction via data sanitization protocols 92%
Similar papers in this journal
- Sparse haplotype-based fine-scale local ancestry inference at scale reveals recent selection on immune responses 95%
- Deep generative model embedding of single-cell RNA-Seq profiles on hyperspheres and hyperbolic spaces 95%
- Haplotype-based inference of recent effective population size in modern and ancient DNA samples 95%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.