AbLang icon

AbLang

(v0.3.1)Code (opens in a new tab)Paper (opens in a new tab)Docs

Restore residues and generate antibody-specific representations or likelihood scores.

Output

Configure inputs to begin

Set options on the left, then click “Submit job”.

What is AbLang?

AbLang is an antibody-specific language model developed at the Oxford Protein Informatics Group. It supports four analysis modes: restoring missing residues, generating one representation per sequence, generating one representation per residue, and returning amino-acid likelihood scores.

The model uses a RoBERTa transformer architecture trained on antibody sequences from the Observed Antibody Space (OAS). Separate models cover heavy and light chains. Each produces 768-dimensional representations, while its prediction head scores the 20 standard amino acids at each token position.

How does AbLang work?

AbLang learned antibody-specific sequence patterns through masked language modeling. During training, 1% to 25% of residues in each sequence were masked and predicted from context. The published models were trained on 14.1 million heavy-chain sequences and 187,000 light-chain sequences.

The available modes correspond directly to the original AbLang API:

ModeResult
Restore missing residuesReplaces each submitted * with the highest-scoring amino acid.
Sequence codingReturns one 768-value vector for each sequence.
Residue codingReturns one 768-value vector for every residue. Optional IMGT alignment also returns aligned residue labels and positions.
Amino-acid likelihood scoresReturns 20 raw, unnormalized scores at every source token position.

Restoration performance

On the published N-terminal restoration benchmark, AbLang achieved approximately 98% accuracy for heavy chains and 96% for light chains. The intended inputs are antibody variable-domain sequences similar to those represented in OAS.

How to use AbLang online

Paste or upload uppercase antibody sequences, choose an analysis mode, and select the matching heavy- or light-chain model. Use * for known missing residues in restoration mode. Multi-sequence input should use FASTA so record names can be preserved in results and file names.

Input

FieldDescription
Antibody sequencesFASTA or plain sequence text using uppercase standard amino-acid codes and optional * masks. Each sequence can contain up to 158 residues.

For example:

FASTA
>heavy_chain_example
EVQLVESGGGLVQP**SLRLSCAASGFTF**SYAMSWVRQAPGKGLEWVSAI

Settings

SettingDefaultDescription
Analysis modeRestore missing residuesSelects restored sequences, sequence codings, residue codings, or amino-acid likelihood scores.
Chain typeHeavy chainSelects the original heavy- or light-chain model. Heavy chains often begin with EVQ or QVQ; light chains often begin with DIQ or EIV.
IMGT alignmentOffIn restoration mode, uses IMGT numbering to infer missing terminal residues. In residue-coding mode, returns aligned embeddings, residue labels, and IMGT positions.

Output

The Results tab summarizes each sequence and shows a downsampled heatmap for representation modes. The Files tab contains the full-precision arrays; the heatmaps are previews only.

ModeDownloaded output
Restore missing residuesablang_restored_sequences.fasta plus a detailed JSON result.
Sequence codingOne .npy float array with shape (768,) per sequence.
Residue coding, unalignedOne .npy float array with shape (sequence length, 768) per sequence.
Residue coding, IMGT alignedOne .npz file per sequence containing embeddings, residues, number_alignment, and sequence_id.
Amino-acid likelihood scoresOne .npz file per sequence containing scores, sequence, amino_acid_order, and sequence_id.

Likelihood arrays preserve the original model output, including start, end, and padding positions. Amino-acid columns use the original order MRHKDESTNQCGPAVIFYWL. Scores are raw and unnormalized; they are not probabilities.

Limitations

AbLang is designed for antibody variable domains represented by its training distribution. Accuracy and representations may be less reliable for unusual antibodies, non-antibody proteins, or species and sequence patterns that are poorly represented in OAS.

IMGT alignment depends on successful antibody numbering. Sequences that cannot be recognized by the numbering model may fail when alignment is enabled. Likelihood output can include padding positions when sequences of different lengths are processed together; use the stored sequence and token-position semantics when interpreting the array.

Table of contents

Related tools

PolyXpert

PolyXpert

Screen paired antibody variable domains for low or high polyreactivity.

ScanNet

ScanNet

Predict protein binding sites using geometric deep learning on 3D structures.

TNP

TNP

Characterize nanobody developability with sequence, structure, and surface-property metrics.

CANYA

CANYA

Predict protein aggregation nucleation propensity from amino acid sequences.

IPC 2.0 (isoelectric point calculator)

IPC 2.0 (isoelectric point calculator)

Calculate protein and peptide pI values using validated pKa scales and sequence models.

ORF Finder

ORF Finder

Identify potential protein-coding regions in DNA across all six reading frames with NCBI ORFfinder.

Protein-Sol

Protein-Sol

Predict protein solubility from sequence with feature-level and windowed profile outputs.

AllMetal3D

AllMetal3D

Predict metal and water binding sites in proteins with 3D CNN models.

DeepSP

DeepSP

Generate 30 sequence-derived spatial descriptors for paired antibody variable domains.

DeepViscosity

DeepViscosity

Screen paired antibody Fv sequences for high-concentration viscosity risk.