Skip to content

scVDJ Analysis Output

Single-Cell V(D)J Sequencing Output File Guide


Overview

After single-cell V(D)J analysis is complete, a standardized set of files and subdirectories is generated in the specified output directory for immune receptor repertoire analysis.

Tip: V(D)J analysis requires 5' end RNA sequencing data, and all output files adhere to the AIRR standard and are compatible with mainstream immunoinformatics tools.

Prerequisite: 5' end single-cell RNA sequencing analysis must be completed first.

Output Directory Structure

.
├── airr_annotations.tsv                    # Annotation file in AIRR standard format
├── all_contig_annotations.csv              # Annotation information for all assembled sequences
├── all_contig.fasta                        # FASTA file of all assembled sequences
├── all_contig.fasta.fai                    # Index file for all assembled sequences
├── clonotypes.csv                          # Clonotype analysis results
├── consensus_annotations.csv               # Annotation information for consensus sequences
├── consensus.fasta                         # FASTA file of consensus sequences
├── consensus.fasta.fai                     # Index file for consensus sequences
├── filtered_contig_annotations.csv         # Annotation information for filtered assembled sequences
├── filtered_contig.fasta                   # FASTA file of filtered assembled sequences
├── filtered_contig.fasta.fai               # Index file for filtered assembled sequences
├── metrics_summary.xls                     # Summary of analysis quality metrics
└── *_scVDJ_TR(IG)_report.html              # Analysis report in HTML format




Detailed File Description

V(D)J Assembly and Annotation Files

Core Content: Results of V(D)J contig sequence assembly, precise annotation, and quality assessment, covering the complete information of TCR and BCR rearranged sequences.


V(D)J Transcript Structure and Composition

Diagram of a Typical V(D)J Transcript Structure:

V(D)J Transcript Structure Diagram


Explanation of Important Terms:

Region Abbreviation Biological Function
Untranslated Region UTR Regulates mRNA stability and translation efficiency.
Framework Region FWR Maintains the conserved structural framework of the fold.
CDR CDR The key variable region that directly contacts the antigen.

Technical Advantage: The V(D)J analysis pipeline can accurately identify and provide the amino acid and nucleotide sequences of the framework (FWR) and complementarity determining (CDR) regions.


Explanation of Important Annotation Standards

Full-Length Sequence Determination Criteria (Full Length)

A contig sequence is identified as a full-length sequence if it meets the following strict conditions simultaneously:

  • The contig sequence perfectly matches the 5' start region of an annotated V gene.
  • The contig sequence extends completely to the 3' end region of a J gene.
Productive Sequence Determination Criteria (Productive)

A contig sequence is identified as a productive sequence (i.e., functionally active) if it meets all of the following conditions simultaneously:

  • Meets all the requirements for a full-length sequence as described above.
  • Contains a valid start codon (ATG) at the correct position.
  • No premature stop codons are present within the V-J spanning region.
  • The start codon of the V gene and the stop codon of the J gene are in the same reading frame.
  • A complete CDR3 variable region is successfully identified.
  • The length of the V-J spanning region is within the biologically plausible range for the respective gene.
High-Confidence Sequence Determination (High Confidence)

Expected Receptor Configurations for Different Cell Types:

Cell Type Standard Receptor Configuration Biological Significance
T Cell 1 productive TRA chain + 1 productive TRB chain Normal TCR α/β heterodimer
B Cell 1 productive heavy chain + 1 productive light chain (κ or λ) Normal BCR heavy/light chain pairing

Principles for Marking Low-Confidence Sequences:

Common Causes for Anomalous Receptor Signals:

Anomaly Type Cause Analysis
Ambient Contamination Non-specific capture of free-floating mRNA (e.g., from apoptotic cells).
Doublet Events Droplets containing multiple cells.
Technical Artifacts Artificial sequences from PCR chimeras or incorrect primer binding.

** Basis for Determining Low-Confidence Sequences:**

  • Abnormal receptor configuration patterns that are biologically highly improbable.
  • Suspicious sequences with significantly low UMI support.
  • A number of extra productive chains that clearly exceeds expectations.

airr_annotations.tsv

Contains annotated and consensus sequences of V(D)J rearrangements in the AIRR standard format.

  • Purpose:

    • Standardized Data Exchange: Serves as an exchange format compliant with AIRR community standards, facilitating integration with other immune repertoire analysis tools.
    • In-depth Annotation: Provides detailed V, D, J gene call information, CIGAR strings, sequence alignment results, and the nucleotide and amino acid sequences of the CDR3 region.
  • Content and Format:

    • The file is in the AIRR standard TSV format.
    • The fields included in the file are shown in the table below:

      Field Name Detailed Description
      cell_id A unique identifier for the cell to which this rearrangement belongs, used for linking single-cell data.
      clone_id A clonotype ID that identifies the specific clonal group to which this rearrangement belongs, used for clonotype analysis.
      sequence_id The unique name or identifier of the contig (rearranged sequence).
      sequence The complete nucleotide sequence of the V(D)J rearrangement, including all variable, diversity, and joining regions.
      sequence_aa The amino acid sequence translated from the rearranged region, reflecting the functional protein product.
      productive Indicates whether the rearrangement is productive (biologically functional), requiring conditions like in-frame translation and no stop codons.
      rev_comp Indicates if the sequence is a reverse complement (default: false), used for sequence orientation marking.
      v_call The name of the identified V (variable) gene segment.
      v_cigar The CIGAR string for the V gene alignment, recording detailed alignment information (matches, insertions, deletions, etc.).
      d_call The name of the identified D (diversity) gene segment (only for heavy and beta chains).
      d_cigar The CIGAR string for the D gene alignment, detailing the alignment results of the diversity region.
      j_call The name of the identified J (joining) gene segment, a key element for completing V(D)J recombination.
      j_cigar The CIGAR string for the J gene alignment, recording precise alignment information of the joining region.
      c_call The name of the identified C (constant) gene segment, which determines the functional type of the antibody/receptor.
      c_cigar The CIGAR string for the C gene alignment, recording the alignment details of the constant region.
      sequence_alignment Detailed alignment result of the V(D)J rearranged region against the reference germline sequence, showing mutations and variations.
      germline_alignment Inferred full-length germline sequence alignment result, used for somatic hypermutation analysis.
      junction The nucleotide sequence of the V(D)J rearrangement's junction (CDR3 region), which determines antigen-binding specificity.
      junction_aa The amino acid sequence of the junction (CDR3 amino acids), the key domain for antigen recognition.
      junction_length The length of the CDR3 nucleotide sequence (in bp), which affects antigen-binding affinity and specificity.
      junction_aa_length The length of the CDR3 amino acid sequence (in aa), which determines the spatial structure of the antigen-binding loop.
      v_sequence_start The start position of the V region in the rearranged sequence (1-based coordinate system).
      v_sequence_end The end position of the V region in the rearranged sequence (1-based coordinate system).
      d_sequence_start The start position of the D region in the rearranged sequence (1-based coordinate system).
      d_sequence_end The end position of the D region in the rearranged sequence (1-based coordinate system).
      j_sequence_start The start position of the J region in the rearranged sequence (1-based coordinate system).
      j_sequence_end The end position of the J region in the rearranged sequence (1-based coordinate system).
      c_sequence_start The start position of the C region in the rearranged sequence (1-based coordinate system).
      c_sequence_end The end position of the C region in the rearranged sequence (1-based coordinate system).
      consensus_count The total number of reads supporting this rearrangement, reflecting sequencing depth and sequence reliability.
      duplicate_count The number of unique UMI molecules supporting this rearrangement, used for deduplication and quantitative analysis.
      is_cell Indicates whether this rearrangement originates from a real cell (TRUE: cell; FALSE: background/empty droplet).


all_contig_annotations.csv

Contains detailed annotation information for all contig sequences (from both cellular and background barcodes).

  • Purpose:

    • Data Review: Provides all assembled contig data, including low-quality or background signals, for quality control review.
    • Complete Annotation: Offers full annotation of V(D)J gene segments and CDR/FWR regions.
  • Content and Format:

    • The file is in CSV text format.
    • The fields included in the file are shown in the table below:

      Field Name Description
      sample Sample name of the V(D)J library.
      barcode The cell ID (or barcode) corresponding to this contig.
      is_cell A boolean value indicating if this cell ID was identified as a cell (TRUE for cell, FALSE for background).
      contig_id A unique identifier for this contig.
      high_confidence A boolean value indicating if this contig was marked as high confidence (not likely to be a chimera or other artifact).
      length The nucleotide length of the contig sequence (bp).
      chain The chain type associated with this contig: TRA, TRB, IGK, IGL, or IGH.
      v_gene Top-scoring V gene segment call (e.g., TRAV1-1).
      d_gene Top-scoring D gene segment call (e.g., TRBD1), when applicable.
      j_gene Top-scoring J gene segment call (e.g., TRAJ1-1).
      full_length Boolean flag indicating whether the contig is called full length.
      productive Boolean flag indicating whether the contig is called productive.
      fwr1 Predicted FWR1 amino acid sequence.
      fwr1_nt Predicted FWR1 nucleotide sequence.
      cdr1 Predicted CDR1 amino acid sequence.
      cdr1_nt Predicted CDR1 nucleotide sequence.
      fwr2 Predicted FWR2 amino acid sequence.
      fwr2_nt Predicted FWR2 nucleotide sequence.
      cdr2 Predicted CDR2 amino acid sequence.
      cdr2_nt Predicted CDR2 nucleotide sequence.
      fwr3 Predicted FWR3 amino acid sequence.
      fwr3_nt Predicted FWR3 nucleotide sequence.
      cdr3 Predicted CDR3 amino acid sequence.
      cdr3_nt Predicted CDR3 nucleotide sequence.
      fwr4 Predicted FWR4 amino acid sequence.
      fwr4_nt Predicted FWR4 nucleotide sequence.
      reads Number of reads aligned to this contig.
      umis Number of distinct UMIs aligned to this contig.
      raw_clonotype_id Clonotype ID assigned to this cell barcode.
      raw_consensus_id Consensus sequence ID assigned to this contig.
      exact_subclonotype_id Exact subclonotype ID assigned to this cell barcode.


all_contig.fasta

Contains the nucleotide sequences of all assembled contigs.

  • Purpose:
    • Sequence Database: Serves as a sequence database for all contigs, which can be used for igBLAST alignment or other sequence analyses.
    • Data Integrity: Provides the most original assembly results.
  • Content and Format:
    • Standard FASTA format, where each sequence corresponds to a contig, and the sequence identifier is the unique name of the contig.

filtered_contig_annotations.csv

A high-quality subset of all_contig_annotations.csv, containing only the annotation results for high-confidence contigs derived from cells.

  • Purpose:

    • Core Downstream Analysis: This is the recommended input file for defining clonotypes and for most downstream analyses.
    • High-Quality Data: Contains only contigs identified as from real cells and with high confidence, ensuring the accuracy of the analysis results.
  • Content and Format:

    • The file format is identical to all_contig_annotations.csv.

filtered_contig.fasta

A high-quality subset of all_contig.fasta, containing only high-quality contig sequences that have passed quality filtering and cell calling.

  • Purpose:
    • Trusted Sequence Set: Provides a high-confidence set of rearranged sequences for subsequent functional analysis or experimental validation.
  • Content and Format:
    • Standard FASTA format, with the sequence identifier being the contig ID.

Clonotype Analysis Files

Core Content: Precise identification, frequency statistics, and CDR3-sequence diversity analysis of TCR and BCR clonotypes.


clonotypes.csv

A statistical analysis file for clonotypes, providing detailed descriptive information for each unique clonotype.

  • Purpose:

    • Clonotype Abundance Analysis: Statistics on the cell count (frequency) and proportion of each clonotype, used to assess the degree of clonal expansion.
    • Immune Diversity Assessment: Analysis of clonotype distribution to study the diversity of the immune repertoire.
    • CDR3 Sequence Analysis: Provides the precise amino acid and nucleotide sequences of the CDR3 for each clonotype.
  • Content and Format:

    • The file is in CSV format.
    • The fields included in the file are shown in the table below:

      Field Name Detailed Description
      clonotype_id A unique identifier for the clonotype assigned to this consensus sequence, used to link and track all related cells of a specific clonal group.
      frequency The absolute number of cells observed with this clonotype, reflecting the degree of clonal expansion and the strength of the immune response.
      proportion The relative proportion of cells of this clonotype within the total cell population, used to assess clonal dominance and diversity distribution.
      cdr3s_aa A semicolon-separated list of chain:sequence pairs, formatted as "chain_name:CDR3_amino_acid_sequence".
      cdr3s_nt A semicolon-separated list of chain:sequence pairs, formatted as "chain_name:CDR3_nucleotide_sequence".


consensus_annotations.csv

Provides detailed annotation information for each clonotype consensus sequence.

  • Purpose:
    • Representative Sequence Annotation: Provides complete V(D)J gene and CDR/FWR region annotation for one representative sequence per clonotype.
    • Clonotype-level Analysis: Supports sequence feature analysis at the clonotype level.
  • Content and Format:
    • The file is in CSV format.
    • The fields included are shown in the table below:
      Field Name Description
      clonotype_id Clonotype ID assigned to this consensus sequence, corresponding to the clonotype identifier in clonotypes.csv.
      consensus_id Unique identifier for the consensus sequence, used to link sequence records in FASTA files.
      sample Sample name of the V(D)J library.
      length Nucleotide length of the consensus sequence.
      chain Chain type associated with this consensus sequence: TRA, TRB, IGK, IGL, or IGH.
      v_gene Top-scoring V gene call.
      d_gene Top-scoring D gene call (if applicable).
      j_gene Top-scoring J gene call.
      c_gene Top-scoring C gene call.
      full_length Boolean flag indicating whether this consensus sequence is full length.
      productive Boolean flag indicating whether this consensus sequence is productive.
      cdr3 Predicted CDR3 amino acid sequence.
      cdr3_nt Predicted CDR3 nucleotide sequence.
      reads Total number of reads supporting this consensus sequence.
      umis Number of distinct UMIs supporting this consensus sequence.

consensus.fasta

A FASTA file containing the consensus sequence for each clonotype.

  • Purpose:

    • Representative Sequence Library: Provides a representative sequence for each clonotype, which can be used for functional prediction or comparison with other datasets.
    • High-Quality Sequence: The consensus sequence is generated by a clonotype grouping algorithm and is ideally a full-length sequence (from the 5’ UTR start to the C-gene primer binding site).
  • Content and Format:

    • Standard FASTA format, with the sequence identifier being the consensus_id.

Analysis Metrics Summary

Core Content: A comprehensive evaluation and summary of statistical metrics for V(D)J assembly quality, providing complete data quality control information.


metrics_summary.xls

A summary table of key analysis metrics in Excel format, providing a structured assessment of the overall experiment quality.

  • Purpose:

    • Quality Assessment: Quickly evaluate core metrics such as sequencing quality, cell identification, gene mapping, and assembly effectiveness.
    • Results Overview: Provides a summary view of the analysis results without inspecting all files.
  • Content and Format:

    • Includes five main categories of key metrics:

      Metric Category Content Included
      Basic Statistics Total reads, valid barcode ratio, UMI quality, Q30 base quality, etc.
      Cell Identification Estimated number of cells, fraction of reads in cells, mean reads per cell, etc.
      Gene Mapping V(D)J gene mapping ratio, chain-specific mapping statistics, gene usage analysis.
      Assembly Quality Full-length sequence ratio, productive sequence ratio, CDR3 identification Success.
      Clonotype Analysis Clonotype diversity, pairing success rate, major clonotype frequencies.

    • Built-in recommended quality control standards for user convenience:

      Recommended Quality Thresholds:
      • Valid Barcode Rate: >70%
      • Q30 Base Quality: >75% (for barcodes and UMIs)
      • V(D)J Gene Mapping Rate: >30%
      • Productive Pairing Rate: >20%
      • Mean Reads per Cell: >5,000


*_scVDJ_TR(IG)_report.html

An interactive HTML report for reviewing analysis results.

  • Purpose:

    • Results Visualization: Intuitively displays key results such as QC, rearrangement analysis, and clonotype analysis in the form of interactive charts.
    • Results Interpretation: Provides the biological significance and technical explanation of each metric.
    • Easy Sharing: A single HTML file that is easy to circulate and share.
  • Content and Format:

    • Can be opened in any modern browser without an internet connection.


Web Report Interpretation

Overview: The HTML web report provides visual summaries and metric explanations for single-cell V(D)J sequencing results, including key performance indicators for experimental quality and immune receptor analysis.

The HTML web report is the main entry point for reviewing single-cell V(D)J sequencing results. It covers cell calling, sequencing quality, V(D)J enrichment, productive pairing, and clonotype abundance, and helps users identify metrics that require further review.

Usage Notes: Review metrics in the order presented in the report.

Note: The following standards are for reference only. Actual quality assessment should consider tissue type, cell state, experimental objectives, and sample-specific context.

Main Report Content and Structure

scVDJ Web Report


Detailed Explanation of Core Analysis Metrics

V(D)J Analysis Metrics

Core Function: Cell identification, quality assessment, and immune receptor assembly statistics.

Quality Control Standards:

Metric Name Recommended Acceptable Needs Improvement
Mean reads per cell ≥ 10,000 5,000–10,000 < 5,000
Fraction of Reads in Cells ≥ 50% 20–50% < 20%

Detailed Metric Explanations:

Metric Name Detailed Explanation and Technical Requirements
Estimated number of cells Estimated number of barcodes associated with cells expressing target V(D)J transcripts. Interpret this value together with loaded cell number, target B/T-cell proportion, sample integrity, enrichment efficiency, and sequencing depth.
Mean reads per cell Ratio of total sequencing read pairs to estimated valid cells. A depth of ≥ 5,000 read pairs per cell is recommended; insufficient depth may reduce cell calling accuracy, contig assembly completeness, and clonotype identification stability.
Fraction of Reads in Cells Ratio of reads with cell-associated barcodes to total valid-barcode reads. Higher values usually indicate better cell capture and lower background; low values may suggest poor sample quality, inappropriate cell concentration, library issues, or elevated background reads.
Median UMIs per cell Median UMI count assigned to specific receptor chains such as IGH, TRA, TRB, IGK, and IGL. Used to assess receptor transcript capture and expression strength per cell.
Productive contig metrics Statistics for cells with productive V-J spanning rearrangements. These metrics indicate the fraction of cells suitable for functional TCR/BCR analysis and clonotype interpretation.

Sequencing Metrics

Core Function: Basic quality assessment of sequencing data.

Quality Control Standards:

Metric Name Recommended Acceptable Needs Improvement
Valid barcodes ≥ 80% 70–80% < 70%
Valid UMIs ≥ 80% 70–80% < 70%
Q30 Base Quality ≥ 85% 75–85% < 75%

Detailed Metric Explanations:

Metric Name Detailed Explanation and Significance
Valid barcodes Proportion of reads whose cell barcode matches the whitelist. This metric assesses barcode recognition stability and whether reads can be assigned to cells correctly.
Valid UMIs Proportion of UMIs without `N` bases and not homopolymers. This metric assesses whether UMI sequences can support reliable molecular deduplication and counting.
Q30 Base Quality Proportion of bases with quality score Q30 or higher. Q30 corresponds to a sequencing error rate below 0.1% and supports accurate barcode recognition, UMI counting, and V(D)J sequence assembly.

Enrichment Metrics

Core Function: Evaluation of V(D)J gene enrichment efficiency, reflecting the capture performance of immune receptor sequences.

Quality Control Standards:

Note: The following standards are for reference only. Actual quality assessment should consider tissue type, cell state, and experimental objectives.

Metric Category Recommended Acceptable Needs Improvement
Reads mapped to any V(D)J gene ≥ 50% 30–50% < 30%

Detailed Metric Explanations:

Metric Name Detailed Explanation and Significance
Reads mapped to any V(D)J gene
Fraction of reads mapped to V(D)J genes
  • Definition: Fraction of reads with valid barcodes that partially or fully map to any germline V(D)J gene segment.
  • Interpretation (<30%): May indicate low B/T-cell proportion, degraded sample quality, insufficient enrichment efficiency, or reference mismatch.
Reads mapped to TRA/TRB/IGH/IGK/IGL
Chain-specific mapping fractions
  • TRA vs TRB: TRA expression is often lower than TRB; this ratio helps assess whether TCR chain capture is consistent with expectations.
  • IGH vs IGK/IGL: Heavy and light chain mapping fractions jointly reflect BCR chain usage and relative expression abundance.
  • Calculation baseline: All enrichment fractions use total valid-barcode reads as denominator.

V(D)J Annotation Metrics

Core Function: Productive rearrangement pairing analysis to evaluate functional immune receptor expression.

Quality Control Standards:

Metric Name Recommended Acceptable Needs Improvement
Cells with productive V-J spanning pair ≥ 40% 20–40% < 20%

Detailed Metric Explanations:

Metric Name Detailed Explanation and Technical Requirements
Number of Cells with Productive V-J Spanning Pair Absolute number of cells with at least one productive paired receptor (TRA/TRB or heavy/light chain pair). This metric indicates the number of cells available for functional TCR/BCR pairing analysis.
Cells with productive V-J spanning pair Percentage of cell-associated barcodes with at least one complete receptor pair where both chains are productive. This metric indicates the fraction of cells suitable for reliable clonotype analysis and functional receptor interpretation. Productive contigs require a full V-to-J span, valid start codon, complete in-frame CDR3, and no premature stop codon.
Cells with productive V-J spanning (IGK, IGH) pair BCR-specific metric showing the fraction of cells with productive IGK/IGH pairing. It depends on the proportion of kappa-chain expressing B-cell subpopulations and should be interpreted together with IGL/IGH pairing.
Cells with productive V-J spanning (IGL, IGH) pair BCR-specific metric showing the fraction of cells with productive IGL/IGH pairing. It complements the IGK/IGH metric and helps characterize B-cell light-chain usage.
Cells with productive V-J spanning (TRA, TRB) pair TCR-specific metric showing the fraction of cells with productive TRA/TRB pairing. Higher values generally indicate more cells available for functional alpha-beta TCR analysis.

Visualization Chart 1

Core Function: Multi-dimensional visualization for V(D)J cell QC, UMI analysis, and receptor expression assessment.

V(D)J Barcode Rank Plot

Chart Function: Visualizes per-cell UMI distribution (productive contigs only), showing cell-calling quality and background level.

V(D)J Barcode Rank Plot

How to Interpret:

  • Axes: X-axis (Barcode Rank) shows cell barcodes ranked by total UMI counts (log scale); Y-axis (UMI Counts) shows total UMIs per cell (log scale).
  • Visual encoding: Blue line indicates called valid cells; gray line indicates background/noise; blue gradient zone indicates a transitional mixed region.
  • Quality assessment: A steeper drop typically indicates clearer separation between called cells and background. In BCR datasets, a subgroup with very high UMIs may appear and often represents plasma cells or plasmablasts with high immunoglobulin expression.

Visualization Chart 2

Core Function: Visualization of clonotype abundance and immune receptor diversity.

Clonotype Abundance Analysis

Chart Function: Shows the relative abundance distribution of clonotypes and helps assess whether the immune response is dominated by a small number of expanded clones.

scVDJ clonotype analysis charts

How to Interpret:

  • Top panel (Top 10 Clonotypes): Bar chart of cell percentages for the top 10 clonotypes. More concentrated proportions usually indicate stronger clonal expansion.
  • Bottom table (Detail table): Detailed information for the top 10 clonotypes, including clonotype ID, CDR3 amino acid/nucleotide sequences, absolute frequency, and relative proportion.
Document Description
scVDJ Pipeline Detailed scVDJ analysis workflow
scVDJ Parameters Command parameter reference
Output Files Return to output documentation index

Feedback & Support

This document is continuously updated. If you find any errors or need additional information, please provide feedback.

Document Version: 3.1 | Last Updated: May 15, 2026