Skip to content

mixcr exportAirr

Exports alignments from .vdjca file or clonotypes from .clns/.clna files in AIRR format.

mixcr exportAirr 
    [--target <n>] 
    [--limit <n>] 
    input.(vdjca|clna|clns) [output.tsv]

Command line options:

Path to input file
Path where to write export. Will write to output if omitted.
-t, --target <n>
Target id (use -1 to export from the target containing CDR3).
-g, --imgt-gaps
If this option is specified, alignment fields will be padded with IMGT-style gaps.
-a, --from-alignment
Get fields like fwr1, cdr2, etc.. from alignment.
-n, --limit <n>
Limit number of filtered alignments; no more than N alignments will be outputted
-f, --force-overwrite
Force overwrite of output file(s).
-nw, --no-warnings
Suppress all warning messages.
Verbose warning messages.
-h, --help
Show this help message and exit.

For some downstream analysis tools one also should prepare gapped reference using --imgt option for repseqio:

# from built-in MiXCR reference
> repseqio fasta --imgt \
    --species hs \
    -g 'VRegion' \
    default \

# from IMGT reference
> repseqio fasta --imgt \
    --species hs \
    -g 'VRegion' \
    imgt.202209-1.sv7.json.gz \