ESM-2 Protein Embeddings

•
2.5k
•

Extracts high-dimensional protein representations, scores mutations, and predicts residue contacts using Meta AI's ESM-2 models.

The ESM-2 skill provides domain-specific workflows and code patterns for working with Meta AI's state-of-the-art ESM-2 protein language models via the `fair-esm` package. It guides users through extracting per-token and per-sequence representations for downstream machine learning, calculating masked-LM likelihood scores for variant effect prediction, and inferring inter-residue contacts directly from primary sequences. With support for models ranging from 8M to 3B parameters and guidance for both local GPU and remote compute environments, this skill streamlines computational biology workflows for researchers and bioinformaticians.

主要功能

01Extract per-residue and pooled per-sequence embeddings across multiple ESM-2 architectures
022,494 GitHub stars
03Perform sequence-based residue contact prediction using internal model attention maps
04Integrate seamlessly with remote GPU orchestration and cached checkpoint loading
05Calculate masked language model log-likelihoods for variant and mutation effect scoring
06Scale from lightweight smoke tests (8M) to large-scale representations (650M/3B parameters)

使用场景

01Screening single-nucleotide or amino acid variant libraries for fitness and mutational effects
02Generating protein feature vectors for training downstream classification or regression models
03Predicting residue-residue contact matrices directly from unaligned amino acid sequences