ANARCI
v2026.2.13.2Number antibody and T cell receptor sequences with multiple numbering schemes
Paste the heavy chain of the 2E8 Fab (PDB 12E8) into ANARCI and it comes back as a mouse VH domain covering the first 120 of its 133 residues, numbered from IMGT position 1 to 128, with the closest germline genes IGHV14-4*02 and IGHJ3*01. The 13 constant-region residues after the domain stay unnumbered.
That is the job ANARCI (Antigen Receptor Numbering And Receptor Classification) does for every antibody and T cell receptor (TCR) variable domain: find it, classify its chain type, and give each residue a position that means the same thing in every other antibody.
ProteinIQ runs ANARCI 2026.2.13.2 from the Oxford Protein Informatics Group, published by Dunbar and Deane in 2016. Sequence jobs number one or many protein sequences in IMGT, Chothia, Kabat, Martin, AHo or Wolfguy and return a results table plus ANARCI's own numbering, CSV and hit files. Structure jobs renumber an antibody or TCR PDB file in place with ImmunoPDB, the structure script in ANARCI's repository.
Jobs start at 3 credits. The quote is calculated before submission from the total number of residues in the job, so a batch costs less per sequence as it grows. For structure jobs every protein residue in the PDB file counts, including antigen chains.
| Sequences in one job | Fv domain, 120 aa each | scFv, 240 aa each | Full heavy chain, 450 aa each |
|---|---|---|---|
| 1 | 3 | 3 | 4 |
| 10 | 6 | 8 | 11 |
| 100 | 20 | 31 | 49 |
| 1,000 | 99 | 165 | 263 |
| 10,000 | 546 | 917 | 1,468 |
| Structure | Protein residues | Credits |
|---|---|---|
| 1X9Q, single-chain Fv | 231 | 3 |
| 12E8, Fab | 870 | 5 |
| 1HZH, intact IgG1 | 1,331 | 6 |
| 7FAE, spike glycoprotein with bound antibodies | 4,318 | 10 |
These cells come from the current calculator with FASTA input of equal-length records and with the RCSB PDB files. The numbering scheme, species, chain types, bit score threshold, germline assignment and every structure option leave the quote unchanged.
| Input | Accepted | Limits |
|---|---|---|
Sequences | One raw protein sequence, or one or more FASTA records as text or a .fasta, .fa, .fas or .txt file. Gzip-compressed FASTA (.fasta.gz, .fa.gz, .fas.gz, .gz) is accepted from the browser, the API and MCP. | Free: 10 records and 10,000 residues per job. Paid plans: 10,000 records. Files and decompressed gzip content up to 50 MB. |
Structure (PDB) | One PDB-format file (.pdb, .ent), uploaded or fetched from the RCSB in PDB format | 50 MB |
A raw sequence must use the 20 standard one-letter amino acid codes, without spaces or line breaks inside it, and have at most 9,999 residues. FASTA records go to ANARCI's own parser instead, which keeps full headers and residue case and has no length limit. Characters HMMER cannot read, such as the alignment gap - or digits, stop the job with a message naming the records that contain them, so upload unaligned sequences (how to make a FASTA file).
A record with no variable domain, such as lysozyme, does not fail the job. It appears in the results with domain 0 and the note No antibody or TCR domains found.
| Parameter | Type | Default | Description |
|---|---|---|---|
Numbering scheme | enum | IMGT (recommended) | IMGT, Chothia, Kabat, Martin (Extended Chothia), AHo or Wolfguy. |
Preferred species | enum, multiple | Human, Mouse | Any of Human, Mouse, Rat, Rabbit, Rhesus monkey, Pig, Alpaca and Cow; used for HMM matching and germline assignment. |
Allowed chain types | enum, multiple | all seven | Heavy chain (H), Kappa light chain (K), Lambda light chain (L), TCR alpha (A), TCR beta (B), TCR gamma (G) and TCR delta (D). |
Preferred species are a preference, not a filter. If none of the preferred-species HMM hits clears the bit score threshold, ANARCI falls back to every species and the job reports which records fell back. An empty selection searches all species without preference, but combined with germline assignment it makes ANARCI stop with an error.
Chothia, Kabat, Martin and Wolfguy number immunoglobulin chains only. With one of these schemes, selected TCR chain types are ignored, as the ANARCI command line does, so a TCR-only selection returns no numbered domains. Choose IMGT or AHo for TCRs.
| Parameter | Type | Default | Description |
|---|---|---|---|
Bit score threshold | number | 80 | Minimum HMM alignment score for a domain to be numbered; fractional values are accepted. |
Assign germline genes | boolean | false | Report the most sequence-identical V and J germline genes for each domain. |
| Parameter | Type | Default | Description |
|---|---|---|---|
Numbering scheme | enum | IMGT (recommended) | The six schemes above, or Keep original numbering, which leaves residue numbers unchanged and only adds the annotations. |
Receptor | enum | Antibody | Number antibody (H, K, L) or T-cell receptor (A, B, G, D) variable domains. TCRs accept IMGT, AHo and Keep original numbering. |
Rename receptor chains | boolean | false | Rename the first paired receptor chains to H and L (B and A for TCRs) and remove every other chain. |
Only output Fv regions | boolean | false | Write only the numbered variable-domain residues of receptor chains. |
Split single-chain Fvs | boolean | false | Write each single-chain Fv as two chains, the original ID for its first domain and the lowercase ID for its second; implies Only output Fv regions. |
Report missing residues | boolean | false | For files without SEQRES records, report variable-domain residues that appear to be missing from the coordinates. |
A sequence job opens on the Results table, one row per numbered domain. Each run also returns ANARCI's native files:
| File | Contents |
|---|---|
anarci_numbering.txt | ANARCI's vertical numbering: one line per residue with chain class, position, insertion code and amino acid, under a header for each domain. |
anarci_H.csv, anarci_KL.csv, anarci_A.csv and the other chain files | One row per domain and one column per scheme position. Kappa and lambda share anarci_KL.csv. |
anarci_hits.txt | The HMMER hit table for each sequence, every hit above the threshold with its E-value, bit score and range. |
anarci_diagnostics.txt | ANARCI's own messages, including species fallback notices. |
A structure job opens the renumbered structure, anarci_renumbered.pdb, in the viewer, where it can also be sent to other structure tools. The Chains table lists each numbered domain from the file's REMARK 6 records: Chain, Domain, Domain Type, Paired Chain, Paired Domain, the V and J gene species, genes and identities. anarci_diagnostics.txt keeps ImmunoPDB's messages.
Chain Type is the domain class of the best-scoring HMM: H, K or L for antibodies, A, B, G or D for TCRs. Species is the species of that HMM, which only says which germline set the sequence resembles most. The 12E8 heavy chain scores 175.7 bits against the mouse VH model and 163.1 against the human one, so it is called mouse by 12.6 bits, but a smaller margin would be just as decisive in the table.
Species calls are least reliable for engineered antibodies. In the single-chain Fv below, both domains match the human HMMs best, yet their closest germline genes are mouse, the pattern a humanized antibody with mouse-derived CDRs produces. Treat Species as a similarity result, not the molecule's origin, and use BioPhi when humanness is the real question.
Bit Score is the HMMER alignment score and decides whether a domain is numbered at all: hits below Bit score threshold are dropped. The domains on this page score 171 to 186 bits, far above the default of 80; 12E8's heavy chain scores 175.7 with an E-value of 6.7e-55. The ANARCI paper used 100 to keep other Ig-like proteins out, so a hit between 80 and 100 deserves a second look before you trust it, and lowering the threshold to number an unusual engineered domain also lets more false positives through.
With Assign germline genes on, V Gene and J Gene are the germline genes with the highest sequence identity among the preferred species, and Germline Species is the species of the V gene, which also decides where the J gene is searched. V Identity and J Identity are fractions from 0 to 1: the share of the germline gene's IMGT positions where the query has the same residue, with positions missing from the query counted as mismatches.
Because the V gene ends inside CDR3 and the J gene starts after it, neither identity covers the CDR3 junction, the most variable part of a heavy chain. A V identity of 0.95, as 12E8 has to IGHV14-4*02, means few mutations in frameworks, CDR1 and CDR2 only. ANARCI assigns no D genes and works on protein sequence; IgBLAST assigns V, D and J segments from nucleotide sequences and analyzes the junction.
A domain without a germline call shows N/A and the job warns about it. It usually means a preferred species has no germlines for that chain type. ANARCI has rat heavy-chain V genes but no rat heavy-chain J genes, so a heavy chain whose closest V gene is rat stops the job with an error. Leave Rat out, or germline assignment off, when the input contains heavy chains.
Domain Start (0-based, inclusive) and Domain End (0-based, inclusive) are positions in the submitted sequence, not scheme positions. 12E8's heavy chain has start 0 and end 119, which selects input residues 1 to 120. To find a mutation under a scheme, use Numbered Sequence instead, written as position:residue with insertion codes attached, such as 100A:G.
Insertion codes are where the schemes differ most. The same 12E8 CDR-H3 is 105 to 117 under IMGT without insertions, but in Kabat it reads 95:G, 96:H, 97:D, 98:Y, 99:D, 100:R, 100A:G, 100B:R, 100C:F, 101:P, 102:Y, because Kabat places every extra loop residue at 100 with letters. Long CDR3s get IMGT insertions too, at positions 111 and 112.
A sequence with several domains gets one row per domain, numbered 1, 2 and so on in the Domain column. The single-chain Fv used in the examples is a kappa domain at residues 0 to 106 and a heavy domain at residues 129 to 247; the linker between them and the His tag after them are not numbered.
The schemes disagree on what counts as the same position, and so on where CDRs start and end.
| Scheme | Basis | Positions | Best suited for |
|---|---|---|---|
IMGT | Germline gene alignment | 128 fixed positions | Cross-species comparison, standardized reporting |
Chothia | Structural alignment | Variable | Structure-focused analysis, canonical loop classification |
Kabat | Sequence variability | Variable | Legacy datasets, sequence-based CDR definitions |
Martin | Extended Chothia corrections | Variable | Structural engineering with improved indel handling |
AHo | Unified structural scheme | 149 fixed positions | Broad structural comparison across domain types |
Wolfguy | Alternative unified scheme | Variable | Specialized analyses |
IMGT is the most widely used for new work. It gives every position one integer from 1 to 128 and skips unused positions, so IMGT-numbered sequences are easy to store and compare, and it defines CDRs the same way for every chain: CDR1 at 27 to 38, CDR2 at 56 to 65 and CDR3 at 105 to 117.
Chothia and Martin suit structural work because their CDR boundaries follow the loops seen in crystal structures. Kabat remains the reference for older literature, where CDRs were defined by sequence variability. AHo's fixed 149 positions cover antibodies and TCRs under one numbering.
The same residue can therefore be CDR in one scheme and framework in another. Kabat starts heavy-chain CDR1 at position 31, while Chothia starts it at 26 to include structurally variable residues Kabat counts as framework. That difference changes humanization scores and paratope predictions, so report the scheme with any CDR you quote. Antibody variable regions explains how VH and VL frameworks and CDRs build the binding site.
In anarci_renumbered.pdb, residues in a variable domain carry the chosen scheme's numbers and insertion codes. Residues before a domain are numbered 0, with reverse insertion codes when there are fewer than 28 of them, and residues after it are numbered from 1001. A chain with two variable domains, such as a single-chain Fv, is numbered for its first domain unless Split single-chain Fvs is on.
Paired Chain and Paired Domain come from the distance between the conserved interface cysteines of two domains, so a heavy chain paired with a light chain in the crystal shows that light chain. ImmunoPDB numbers each chain's full SEQRES sequence and maps the numbering onto the residues with coordinates, which keeps numbering correct across residues missing from the model.
ImmunoPDB does not run as published on current Python and BioPython, so ProteinIQ applies three small compatibility fixes to the script at ANARCI commit 79f6c57. Unfixed, it silently ignores SEQRES records, so a residue missing from the coordinates can shift the numbering after it, and it stops on single-chain Fvs.
The fixes restore the script's documented behavior without changing how ANARCI numbers domains: SEQRES records are read again, the MUSCLE alignment that places missing residues runs (with MUSCLE 3.8.31, the version the repository bundles), and residues are renumbered without the BioPython error.
ANARCI keeps one profile hidden Markov model per species and chain type, built from IMGT germline V and J gene segments: every V and J combination forms a putative germline domain, the domains are aligned with MUSCLE, and HMMER turns the alignment into an HMM whose match states are the 128 IMGT positions. The hosted version uses ANARCI's packaged models for human, mouse, rat, rabbit, rhesus monkey, pig, alpaca and cow.
For each query, ANARCI runs HMMER's hmmscan against all models. The best hit above the bit score threshold sets the chain type and species, and its alignment maps directly to IMGT positions. Other schemes are derived from the IMGT alignment with the insertion and deletion rules each scheme defines. When a long CDR3 hides the J region from the first alignment, ANARCI searches the rest of the sequence for a J region and joins the two.
In the original paper, ANARCI numbered 1,936,119 VH sequences from a vaccination study in about three hours on 32 cores and failed on 9,560 of them, all with unusual insertions or deletions likely caused by sequencing errors.
string index out of range; IMGT and AHo number them.Analyze antibody and T cell receptor variable domain sequences
Search PDB and AlphaFold structures, compare structures, or cluster by 3D similarity
Language-model numbering for antibodies, T cell receptors, and VNAR/VHH domains
Sensitive sequence homology search using profile hidden Markov models
Align protein or nucleotide sequences with selectable accuracy and speed trade-offs.
Search and cluster protein or nucleotide sequences for homology discovery at large scale.
Align multiple protein or nucleotide sequences with high-accuracy PPP refinement.
Hardware-accelerated edit distances and global or local sequence scores
Universal structure alignment for proteins, RNA, and DNA molecules
Align and compare whole genomes to detect SNPs, indels, and structural variants.