GRACER: fast, reproducible HMM-based numbering of antibody and T-cell receptor sequences
Motivation: Numbering antibody and T-cell receptor variable domains is the first step of repertoire analysis and of building training data for antibody and TCR language models. Public archives now hold billions of these sequences. Among existing tools, some return no germline calls, none lets its user choose or pin the germline reference, and several return sequences with an out-of-frame J…
A new software tool named GRACER has been developed to accurately number antibody and T-cell receptor variable domains, which is crucial for repertoire analysis and building training data for antibody and TCR language models. This tool is able to handle billions of sequences held in public archives. Unlike existing tools, GRACER provides germline calls, allows users to choose or pin the germline reference, and writes output using AIRR Community standard field names.
The software takes a snapshot of the IMGT/GENE-DB or OGRDB releases to build its germline database, ensuring each run produces identical results. GRACER can process up to 43,500 sequences per second on a 10-core laptop, which is 52 times faster than another tool called ANARCI. It requires only about 1 GB of memory. GRACER can even classify deep J-segment frameshift sequences as complete, while ANARCI only manages to classify 87 to 91% of such sequences.
GRACER is particularly good at handling synthetic domains from 20 species not present in its database, numbering 97.9% of them correctly, compared to ANARCI's 95.1%. The software is available as a pip-installable Python package under the MIT licence. The source code is freely accessible on GitHub at https://github.com/alchemab/gracer.
Rewritten by urgent.news; may contain errors — check the original.
Source: biorxiv.org
Read the original at biorxiv.org →
More from bioRxiv on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up