Skip to content

BCR Sequencing

B cell receptor sequencing reads the immunoglobulin genes of a sample and turns them into a catalogue of antibodies. The catalogue answers questions that flow cytometry and serology cannot: which V genes the response recruited, how much the sequences have mutated from their germline templates, and whether individual clones expanded in response to the antigen you care about. This section works through the method from both ends, the wet lab that shapes what you can measure, and the analyses that turn annotated sequences into biology.

The examples use committed synthetic AIRR tables shaped like the output of nf-core/airrflow, plus published sequences for the lineage tree. The displayed results come from the section container. The companion repository holds the runners and the fixtures. It is private, so the repository links below require access.

Page What it covers
What is BCR sequencing antibody structure, V(D)J recombination, somatic hypermutation and clonotypes
Library Prep & Sequencing amplicon PCR versus 5’RACE, UMIs, bulk versus single-cell, sequencing platforms
Repertoire Analysis V(D)J assignment, CDR3 properties, SHM, clonal and diversity analysis
Running nf-core/airrflow the pipeline from FASTQ to annotated clonotypes, and what to compute downstream

One small table stands in for airrflow output in the worked example: an immunoglobulin heavy-chain table for one sample, with IMGT gene calls, CDR3 sequences, isotypes, mutation frequencies and clone identifiers. It is synthetic and deterministic, so the page rebuilds bit for bit, but its columns are the columns a real run writes. When a page quotes a number, the container run beside the code produced it.

The lineage tree uses real sequences from alakazam’s ExampleDb, drawn from the vaccine study of Laserson and Vigneault and colleagues. The lineage example follows one clone across related sequences. Keep that clonal definition separate from the exact sequence counts in the synthetic repertoire example.

These examples teach repertoire summaries within a sample. They do not estimate a treatment effect across donors. For a study comparison, retain donor, timepoint, library protocol and the definition of abundance alongside each sample table.

With companion access, use the BCR setup notes and the AIRR build script. Build the image with bash containers/airr/build.sh from the repository root, then run bash guides/bcr-sequencing/repertoire-analysis/run.sh from the repository root. The runner uses the committed AIRR table and the packaged lineage data, then writes results and figures under guides/bcr-sequencing/repertoire-analysis/outputs/. ExampleDb is publicly available through the source link above.

The alakazam ExampleDb documentation identifies the published vaccine-response sequences and their fields. The synthetic repertoire and published lineage have separate origins.