Usage: mixcr exportPreset [--no-validation] [--add-step <step>] [--remove-step <step>] [-s
                          <species>] [-b <library>] [--split-by-sample] [--dont-split-by-sample]
                          [--sample-sheet sample_sheet.tsv] [--sample-sheet-strict sample_sheet.
                          tsv] [--dna] [--rna] [--floating-left-alignment-boundary
                          [<anchor_point>]] [--rigid-left-alignment-boundary [<anchor_point>]]
                          [--floating-right-alignment-boundary (<gene_type>|<anchor_point>)]
                          [--rigid-right-alignment-boundary [(<gene_type>|<anchor_point>)]]
                          [--tag-pattern <pattern>] [--keep-non-CDR3-alignments]
                          [--drop-non-CDR3-alignments] [--limit-input <n>]
                          [--assemble-clonotypes-by <gene_features>] [--split-clones-by
                          <gene_type>]... [--dont-split-clones-by <gene_type>]...
                          [--assemble-contigs-by <gene_features>] [--assemble-contigs-by-cells]
                          [--assemble-longest-contigs] [--impute-germline-on-export]
                          [--dont-impute-germline-on-export] [--prepend-export-clones-field <field>
                          [<param>...]]... [--append-export-clones-field <field> [<param>...]]...
                          [--prepend-export-clone-groups-field <field> [<param>...]]...
                          [--append-export-clone-groups-field <field> [<param>...]]...
                          [--prepend-export-alignments-field <field> [<param>...]]...
                          [--append-export-alignments-field <field> [<param>...]]...
                          [--add-export-clone-table-splitting <(geneLabel|tag):key>]
                          [--reset-export-clone-table-splitting] [--add-export-clone-grouping <
                          (geneLabel|tag):key>] [--reset-export-clone-grouping]
                          [--filter-out-group-types (found|undefined|contamination)]...
                          [--reset-group-types-filter] [--export-productive-clones-only]
                          [--export-clone-groups-for-cell-type <cell_type>]...
                          [--export-clone-groups-for-all-cell-types]
                          [--show-secondary-chain-on-export-cell-groups]
                          [--dont-show-secondary-chain-on-export-cell-groups]
                          [--export-clone-groups-sort-chains-by (Read|Molecule|Auto)]
                          [--force-overwrite] [--no-warnings] [--verbose] [--help] (--preset-name
                          <preset> | --mixcr-file <input.(vdjca|clns|clna)>) [-M <key=value>]...
                          [--remove-qc-check <type> [--remove-qc-check <type>]...]... [preset_file.
                          (yaml|yml)]
Export a preset file given the preset name or source file and a set of mix-ins
      [preset_file.(yaml|yml)]
                             Path where to write preset yaml file. Will write to output if omitted.
      --preset-name <preset> Preset name to export.
      --mixcr-file <input.(vdjca|clns|clna)>
                             File that was processed by MiXCR.
      --no-validation        Don't validate preset before export.
      --remove-qc-check <type>
                             Remove qc check with given type. Use `exportPreset` command to see
                               what `qc.checks` are included in the preset.
  -M  <key=value>            Overrides arbitrary preset parameter
  -f, --force-overwrite      Force overwrite of output file(s).
      -nw, --no-warnings     Suppress all warning messages.
      --verbose              Verbose messages.
  -h, --help                 Show this help message and exit.
Params to change pipeline steps:
      --add-step <step>      Add a step to pipeline
      --remove-step <step>   Remove a step from pipeline
      --assemble-contigs-by-cells
                             Assemble contigs separately by cells. It will cancel `assembleCells`
                               step.
Params for align command:
  -s, --species <species>    Species (organism). Possible values: `hsa` (or HomoSapiens), `mmu` (or
                               MusMusculus), `rat`, `spalax`, `alpaca`, `lamaGlama`, `mulatta`
                               (_Macaca Mulatta_), `fascicularis` (_Macaca Fascicularis_) or any
                               species from IMGT ® library.
  -b, --library <library>    V/D/J/C gene library. By default, the `default` MiXCR reference
                               library is used. One can also use external libraries
      --split-by-sample      Split output alignments files by sample.
      --dont-split-by-sample Don't split output alignments files by sample.
      --sample-sheet sample_sheet.tsv
                             Loads sample table from a tab separated file (one substitution will be
                               allowed during matching)
      --sample-sheet-strict sample_sheet.tsv
                             Loads sample table from a tab separated file (strict matching will be
                               used).
      --dna                  For DNA starting material. Setups V gene feature to align to
                               `VGeneWithP` (full intron) and also instructs MiXCR to skip C gene
                               alignment since it is too far from CDR3 in DNA data.
      --rna                  For RNA starting material; setups `VTranscriptWithP` (full exon) gene
                               feature to align for V gene and `CExon1` for C gene.
      --floating-left-alignment-boundary [<anchor_point>]
                             Configures aligners to use semi-local alignment at reads 5'-end.
                               Typically used with V gene single primer / multiplex protocols, or
                               if there are non-trimmed adapter sequences at 5'-end. Optional
                               <anchor_point> may be specified to instruct MiXCR where the primer
                               is located and strip V feature to align accordingly, resulting in a
                               more precise alignments.
      --rigid-left-alignment-boundary [<anchor_point>]
                             Configures aligners to use global alignment at reads 5'-end. Typically
                               used for 5'RACE with template switch oligo or a like protocols.
                               Optional <anchor_point> may be specified to instruct MiXCR how to
                               strip V feature to align.
      --floating-right-alignment-boundary (<gene_type>|<anchor_point>)
                             Configures aligners to use semi-local alignment at reads 3'-end.
                               Typically used with J or C gene single primer / multiplex protocols,
                               or if there are non-trimmed adapter sequences at 3'-end. Requires
                               either gene type (`J` for J primers / `C` for C primers) or
                               <anchor_point> to be specified. In latter case MiXCR will
                               additionally strip feature to align accordingly.
      --rigid-right-alignment-boundary [(<gene_type>|<anchor_point>)]
                             Configures aligners to use global alignment at reads 3'-end. Typically
                               used for J-C intron single primer / multiplex protocols. Optional
                               <gene_type> (`J` for J primers / `C` for C primers) or
                               <anchor_point> may be specified to instruct MiXCR where how to strip
                               J or C feature to align.
      --tag-pattern <pattern>
                             Specify tag pattern for barcoded data.
      --keep-non-CDR3-alignments
                             Preserve alignments that do not cover CDR3 region or cover it only
                               partially in the .vdjca file.
      --drop-non-CDR3-alignments
                             Drop all alignments that do not cover CDR3 region or cover it only
                               partially.
      --limit-input <n>      Maximal number of reads to process on `align`
Params for assemble command:
      --assemble-clonotypes-by <gene_features>
                             Specify gene features used to assemble clonotypes. One may specify any
                               custom gene region (e.g. `FR3+CDR3`); target clonal sequence can
                               even be disjoint. Note that `assemblingFeatures` must cover CDR3
      --split-clones-by <gene_type>
                             Clones with equal clonal sequence but different gene will not be
                               merged.
      --dont-split-clones-by <gene_type>
                             Clones with equal clonal sequence but different gene will be merged
                               into single clone.
Params for assembleContigs command:
      --assemble-contigs-by <gene_features>
                             Selects the region of interest for the action. Clones will be
                               separated if inconsistent nucleotides will be detected in the
                               region, assembling procedure will be limited to the region, and only
                               clonotypes that fully cover the region will be outputted, others
                               will be filtered out.
      --assemble-longest-contigs
                             Contigs with maximum possible length will be assembled.
Params for export commands:
      --impute-germline-on-export
                             Export nucleotide sequences using letters from germline (marked
                               lowercase) for uncovered regions
      --dont-impute-germline-on-export
                             Export nucleotide sequences only from covered region
      --prepend-export-clones-field <field> [<param>...]
                             Add clones export column before other columns. First param is field
                               name as it is in `exportClones` command, left params are params of
                               the field
      --append-export-clones-field <field> [<param>...]
                             Add clones export column after other columns. First param is field
                               name as it is in `exportClones` command, left params are params of
                               the field
      --prepend-export-clone-groups-field <field> [<param>...]
                             Add clone groups export column before other columns. First param is
                               field name as it is in `exportCloneGroups` command, left params are
                               params of the field
      --append-export-clone-groups-field <field> [<param>...]
                             Add clone groups export column after other columns. First param is
                               field name as it is in `exportCloneGroups` command, left params are
                               params of the field
      --prepend-export-alignments-field <field> [<param>...]
                             Add clones export column before other columns. First param is field
                               name as it is in `exportAlignments` command, left params are params
                               of the field
      --append-export-alignments-field <field> [<param>...]
                             Add clones export column after other columns. First param is field
                               name as it is in `exportAlignments` command, left params are params
                               of the field
      --add-export-clone-table-splitting <(geneLabel|tag):key>
                             Add key to split output files with clone tables.
      --reset-export-clone-table-splitting
                             Reset all file splitting for output clone and/or clone group tables.
      --add-export-clone-grouping <(geneLabel|tag):key>
                             Add key to group clones in the output clone tables.
      --reset-export-clone-grouping
                             Reset all clone grouping in the output clone tables.
      --filter-out-group-types (found|undefined|contamination)
                             Filter out clones from groups of particular type.
                             `found` - groups that were found on `assembleCells`.
                             `undefined` - there were not enough info on `assembleCells` to form a
                               group.
                             `contamination` - clones that were marked as contamination on
                               `assembleCells`.
      --reset-group-types-filter
                             Reset filter of clones by group type.
      --export-productive-clones-only
                             Export only productive clonotypes.
      --export-clone-groups-for-cell-type <cell_type>
                             Export clone groups for given cell type.
                             If selected only one cell type, export will be written in one file
                               without prefixes. If several, there will be a file for each type.
                             All cell groups that don't much specified groups will be filtered out.
                             Possible values: IGH-IGK, IGH-IGL, TRB-TRA, TRD-TRG.
      --export-clone-groups-for-all-cell-types
                             Export clone groups for all cell types.
      --show-secondary-chain-on-export-cell-groups
                             Show columns for secondary chains in export for cell groups.
      --dont-show-secondary-chain-on-export-cell-groups
                             Don't show columns for secondary chains in export for cell groups.
      --export-clone-groups-sort-chains-by (Read|Molecule|Auto)
                             How to sort clones for determination of the primary and the secondary
                               chains.
                             Read - by reads count, Molecule - by count of UMI tags, Auto - by UMI
                               if it's available, by Read otherwise
