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.