esm

Compute protein embeddings and PLL scores using the ESM2 language model.

151|20|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/adaptyvbio/protein-design-skills --skill esm-adaptyvbio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: esm
Source: https://github.com/adaptyvbio/protein-design-skills/tree/main/skills/esm
Command: npx skills add https://github.com/adaptyvbio/protein-design-skills --skill esm-adaptyvbio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides fast access to protein embeddings and sequence evaluation by applying the ESM2 language model, enabling data-driven analysis for design and evaluation.

Core Features & Use Cases

  • Compute embeddings: generate protein embeddings for clustering, similarity analyses, and downstream modeling.
  • PLL scoring: obtain pseudo-log-likelihood scores to assess sequence plausibility and naturalness.
  • Sequence filtering: rank and filter designs by plausibility and analyze sequence-function relationships.
  • Variant effect insights: enable zero-shot predictions of mutation impacts across design datasets.
  • Structure and QC prep: complementary guidance for using with structure predictors and QC workflows.

Use Case: design a batch of sequences, generate embeddings, rank by PLL, and filter for plausibility before downstream analysis.

Quick Start

Use the ESM2 skill to generate embeddings and PLL for input sequences. Run the modal workflow: modal run modal_esm2_predict_masked.py --input-faa sequences.fasta --out-dir embeddings/ Or load esm2 via Python API to process batches in your own script.

Frequently Asked Questions about esm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute ESM2 embeddings for protein sequences?

Compute ESM2 embeddings for protein sequences by running the biomodals modal workflow via the modal_esm2_predict_masked.py script, passing your input FASTA file to generate vector representations for downstream clustering and similarity analysis.

Can I score protein sequence plausibility using pseudo-log-likelihood?

Score protein sequence plausibility using pseudo-log-likelihood (PLL) by running the ESM2 language model workflow, which evaluates sequence naturalness to help rank and filter design batches before downstream analysis.

How does zero-shot variant effect prediction work with ESM2?

Zero-shot variant effect prediction with ESM2 leverages the pre-trained language model to evaluate mutation impacts across design datasets without requiring additional training, using pseudo-log-likelihood scores to assess sequence changes.

Do I need PyTorch and Python 3.8 to run ESM2 sequence scoring?

Running ESM2 sequence scoring requires Python 3.8 or higher and PyTorch, along with the biomodals modal workflow environment, to execute the modal_esm2_predict_masked.py script end-to-end.

What is the best way to rank protein designs by sequence plausibility?

Rank protein designs by sequence plausibility by computing pseudo-log-likelihood scores via the ESM2 language model, allowing you to filter designed sequences based on their naturalness before functional analysis.

Can I use ESM2 embeddings for clustering protein sequences?

ESM2 embeddings can be used for clustering protein sequences by generating vector representations through the modal workflow, enabling similarity analyses and downstream modeling for your design datasets.