AntiFold

Design antibody sequences from structure with AI-powered inverse folding

30
Configure input settings on the left, then click "Submit"

Related tools

IgDesign

IgDesign

Design antibody CDR sequences via inverse folding. Generates complementarity-determining region (CDR) sequences for antibodies targeting therapeutic antigens using deep learning. Optimizes CDR loops (HCDR1, HCDR2, HCDR3) based on antibody-antigen complex structures.

HyperMPNN

HyperMPNN

Design thermostable protein sequences using ProteinMPNN trained on hyperthermophilic organism structures. Generates sequences optimized for improved thermal stability without requiring ligands or additional context.

LigandMPNN

LigandMPNN

Design protein sequences with atomic context from ligands, metals, and nucleotides. Achieves 63.3% sequence recovery at binding sites, significantly outperforming ProteinMPNN (50.5%).

ProteinMPNN

ProteinMPNN

Design protein sequences for given backbone structures using deep learning. Fast and accurate inverse folding with state-of-the-art sequence recovery (52.4%).

SolubleMPNN

SolubleMPNN

Specialized model for soluble protein sequence design. Trained exclusively on soluble proteins for optimized performance on cytoplasmic and extracellular proteins.

Humatch

Humatch

Humatch is an antibody humanization tool that transforms non-human antibody sequences into humanized variants. Uses three lightweight CNNs to identify optimal human V-genes and generate paired heavy and light chain sequences with minimal edits while maintaining functionality.

IgGM

IgGM

IgGM is a generative foundation model for antibody and nanobody design against a target antigen. Supports CDR design, affinity maturation, inverse design, and framework design. Requires an antigen structure (PDB) and antibody sequences with "X" marking positions to design.

mBER

mBER

Design VHH nanobody binders using AlphaFold-Multimer with structure templates and sequence conditioning. mBER (Manifold Binder Engineering and Refinement) generates novel VHH antibody sequences that bind to user-specified target proteins.

RFantibody

RFantibody

Structure-based de novo antibody and nanobody design pipeline combining antibody-tuned RFdiffusion, ProteinMPNN sequence design, and antibody-tuned RoseTTAFold2 filtering.

BioPhi

BioPhi

Antibody humanization and humanness evaluation platform from Merck. Sapiens mode uses deep learning trained on the Observed Antibody Space (OAS) to humanize antibody sequences, while OASis mode evaluates humanness using 9-mer peptide search against human antibody databases.

What is AntiFold?

AntiFold is an inverse folding model specialized for antibody variable domains. Given an antibody structure, it predicts amino acid sequences that would fold into that structure—the reverse of traditional structure prediction.

Developed by the Oxford Protein Informatics Group, AntiFold builds on Meta's ESM-IF1 model but is fine-tuned specifically on antibody structures from SAbDab (Structural Antibody Database) and predicted structures from OAS (Observed Antibody Space). This antibody-specific training dramatically improves sequence recovery for antibody CDR loops compared to general-purpose inverse folding tools.

The model uses IMGT numbering, the international standard for immunoglobulin sequences, enabling precise targeting of specific antibody regions during design.

How does AntiFold work?

AntiFold takes a 3D antibody structure and predicts the probability distribution of amino acids at each position. The model learns structural constraints—which residues are compatible with a given backbone geometry—from millions of antibody structures.

During fine-tuning from ESM-IF1, several strategies improved CDR3 recovery: span masking to learn regional context, weighted masking that emphasizes CDR residues (3:1 ratio over frameworks), layer-wise learning rate decay, and augmentation with OAS predicted structures. These modifications increased CDRH3 amino acid recovery from 43% (ESM-IF1 baseline) to 60%.

For each position, the model outputs:

  • Log-likelihood scores: Probabilities for each of the 20 amino acids
  • Perplexity: A measure of structural tolerance to mutations at that position (higher values indicate more acceptable substitutions)

From these probabilities, AntiFold samples sequences using temperature-controlled multinomial sampling. Lower temperatures produce conservative sequences closer to the probability maximum; higher temperatures explore more diverse sequence space.

How to use AntiFold online

ProteinIQ provides GPU-accelerated AntiFold without installation. The wrapper keeps AntiFold's upstream chain-handling behavior: paired VH/VL structures can use any valid chain IDs, and nanobody/VHH inputs run in a dedicated nanobody mode.

Input

InputDescription
Antibody StructurePDB or mmCIF file containing the antibody variable domains. Structures can be uploaded directly or fetched by PDB ID.

The structure should contain paired heavy and light chains (VH/VL) or a single-domain antibody (VHH/nanobody). Chain IDs do not need to be literal H and L; AntiFold accepts any valid structure chain labels when the correct chains are specified. An optional antigen chain may be included but should be kept small for optimal performance.

AntiFold is not a general-purpose inverse folding tool for arbitrary proteins. For non-antibody proteins, use ProteinMPNN or LigandMPNN instead.

Settings

Core settings

SettingDescription
Input modeChoose Paired antibody (VH/VL) for standard antibodies or Nanobody / VHH for single-domain antibodies.
Heavy chain IDOptional paired-antibody heavy chain. Can be any valid chain label such as A, B, H, or L. Leave blank to infer the first chain.
Light chain IDOptional paired-antibody light chain. Can be any valid chain label such as A, B, H, or L. Leave blank to infer the second chain.
Nanobody chain IDChain ID for nanobody/VHH inputs. If the uploaded structure contains a single chain, AntiFold can infer it automatically.
Number of sequencesSequence variants to generate per structure (1–100, default: 10).
Sampling temperatureControls sequence diversity (0.0–1.5, default: 0.2). Values 0.1–0.3 produce conservative designs; 0.7–1.5 explores diverse sequence space.

Region selection

SettingDescription
IMGT regions to designTarget specific regions: All regions, CDRs only, individual CDRs (CDR1, CDR2, CDR3), or Frameworks only.

Complementarity-determining regions (CDRs) form the antigen binding site. CDR1, CDR2, and CDR3 loops on both heavy and light chains determine specificity. Framework regions provide structural scaffolding. Nanobody mode applies the same region controls to the single VHH chain.

Advanced options

SettingDescription
Random seedFor reproducible results (default: 42).
Include per-residue scoresOutput log-likelihoods and perplexity at each position.

Output

Results include designed sequences in FASTA format with associated metrics:

ColumnDescription
scoreAverage log-likelihood over the designed region
global_scoreAverage log-likelihood over all residues
seq_recoveryFraction of positions matching the original sequence

When per-residue scoring is enabled, a CSV file provides position-by-position analysis including perplexity values and individual amino acid log-likelihoods.

Interpreting perplexity

Perplexity reflects how many amino acids are structurally compatible at a position:

PerplexityInterpretation
1–3Highly constrained; few substitutions tolerated
4–8Moderately flexible; several alternatives possible
10–14Structurally tolerant; typical for exposed CDR positions
> 14Very permissive; likely surface-exposed or disordered

Lower perplexity at a position suggests that the backbone geometry strongly constrains the amino acid identity—useful for identifying structurally critical residues.

Applications

  • CDR optimization: Redesign binding loops while preserving framework stability
  • Humanization: Generate human-compatible sequences for therapeutic antibodies
  • Affinity maturation: Explore sequence variants that maintain structural integrity
  • Developability improvement: Design out problematic residues while keeping the fold
  • Library design: Generate diverse yet structurally sound sequences for screening

AntiFold vs ProteinMPNN for antibodies

ProteinMPNN is a general-purpose inverse folding model trained on diverse protein structures. While powerful, it occasionally produces artifacts problematic for antibodies: chain reordering, gaps in IMGT-numbered structures, and suboptimal CDR3 predictions.

AntiFold addresses these issues with antibody-specific training. On experimental structures, it achieves 60% CDRH3 amino acid recovery versus 43% for ESM-IF1 and 56% for the antibody-adapted AbMPNN. For the notoriously variable CDRH3 loop, AntiFold constrains perplexity to 4–8 amino acids (versus 6–10 for AbMPNN), producing more focused designs that better preserve backbone geometry.

Limitations

  • Requires IMGT numbering (applied automatically, but unusual numbering may cause issues)
  • Optimized for variable domains (IMGT positions 1–128); not designed for constant regions
  • Large antigens may slow processing; keep antigen chains minimal when possible
  • Does not model backbone flexibility—generated sequences assume the input backbone is fixed