Skip to guide

Tool guide

MSA Transformer online

Use MSA Transformer online for alignment-conditioned mutation scoring and protein sequence generation.

On this page

Overview

MSA Transformer, also known as ESM-MSA, learns protein-family constraints from multiple sequence alignments. This service uses the ESM-MSA-1b checkpoint described by Rao et al. (2021). Optional sequence generation uses Sean Johnson’s protein Gibbs sampler, building on Johnson et al. (2021) and its later enzyme generation study.

Method & workflow

Upload an aligned FASTA or A3M file with the query first. At least two distinct sequences are required. Alignments may contain up to 512 columns and 4096 rows. A3M insertions and exact duplicate rows are removed, and up to 31 evenly spaced context sequences are retained.

Choose Mutation Scoring (without Gibbs) to mask each non-gap query residue independently. The CSV reports every canonical substitution, its natural-log likelihood ratio relative to wild type, and a probability normalized over the 20 canonical residues. Query Position counts ungapped residues; Alignment Column counts columns in the insertion-stripped alignment.

Choose Sequence Generation (Gibbs) to resample only the query while holding context rows fixed. Set the number of sequences, complete sampling passes, burn-in passes, and top-k restriction after burn-in. Each pass resamples all query columns in random groups, including gaps. CSV outputs preserve aligned sequences; FASTA outputs remove gaps. Identity to Query is the fraction of non-gap query positions matched by the design. Neither model preferences nor generated sequences establish experimental function.

Research applications

  • Family context: Condition predictions on an uploaded alignment.
  • Two workflows: Score substitutions without Gibbs or generate query variants with Gibbs.
  • Reusable results: Export substitution scores as CSV or designs as CSV and FASTA.

Get started

Run MSA Transformer on Neurosnap

  1. Prepare your inputs

    Check the tool's accepted formats and molecular requirements. Keep a copy of the exact inputs.

  2. Configure the calculation

    Open the tool, supply your inputs, and review the available settings and credit estimate.

  3. Submit and follow the job

    Submit once and save the job ID. Track execution in your workspace.

  4. Review the results

    Inspect the returned outputs in context and preserve the settings needed to reproduce your analysis.

References & citation

Cite the original method when using it in publications or research outputs.

  • Rao, R. M. et al. MSA Transformer. Proceedings of ICML, PMLR 139:8844–8856 (2021). https://proceedings.mlr.press/v139/rao21a.html
  • Johnson, S. R., Monaco, S., Massie, K. & Syed, Z. Generating novel protein sequences using Gibbs sampling of masked language models. bioRxiv (2021). https://doi.org/10.1101/2021.01.26.428322
  • Johnson, S. R. et al. Computational scoring and experimental evaluation of enzymes generated by neural networks. Nature Biotechnology (published online 2024). https://doi.org/10.1038/s41587-024-02214-2

Original publication

Your next calculation

Put the method to work.

Run scientific tools in your browser and keep inputs, jobs, and results together.