Skip to content

Read IMGT immunoglobulin germline references

Source code

Description

[Experimental]

V and J genes provide parts of an antibody sequence. To measure mutations in a B-cell clone, we need to compare its sequences with reference versions of those genes before somatic hypermutation.

This function reads nucleotide V and J genes from an IMGT FASTA file for use by annotate_ig_germlines(). It keeps the IMGT gaps (.) in the reference sequences.

Usage

read_germline_references(path)

Arguments

path Character scalar. Path to an IMGT FASTA file.

Value

A tibble with species, locus, segment, allele_id, and sequence columns.

Choosing files

Use IMGT-gapped V and J FASTA files from the same IMGT release used for your IgBlast run. Read each needed file and combine the resulting tables. Do not use the ungapped FASTA from the searchable IgBlast database: this function does not add gaps or convert positions.