Popformer: Learning general signatures of positive selection with a self-supervised transformer

Leon Zong1,2, Sorelle A Friedler2, Sara Mathieson1,2

  • 1Department of Biology, University of Pennsylvania, Philadelphia, Pennsylvania, United States of America.

Summary

We developed Popformer, a transformer-based model that effectively learns genetic variation patterns. This new method improves the accuracy of detecting natural selection in human populations and generalizes well to diverse evolutionary scenarios.