GPN-MSA#

GPN-MSA is a genomic language model trained on a multispecies whole-genome alignment. It is deprecated in favor of GPN-Star: the maintained package supports inference from the published model, but not GPN-MSA training.

Quick start#

from gpn import register_auto_classes
from transformers import AutoModelForMaskedLM

register_auto_classes("msa")
model = AutoModelForMaskedLM.from_pretrained("songlab/gpn-msa-sapiens")

File-backed inference uses gpn msa {vep,logits,embedding} and a compatible local Zarr alignment. The checkpoint and store must agree on target assembly, species count, species order, and preprocessing. See the command-line guide for the input contract.

Published assets#

The GPN-MSA collection accompanies the Nature Biotechnology paper.

Alignment and training inputs#

Model and evaluations#

Genome-wide predictions#

Historical analysis#

The GPN-MSA paper analysis is preserved in the historical archive.