Skip to content

combine

Téo Lemane edited this page Apr 9, 2023 · 2 revisions

kmtricks combine

kmtricks combine allows to combine several k-mer matrices (presence/absence or abundance) that share the same partitioning scheme.

Usage

kmtricks combine v1.4.0

DESCRIPTION
  Combine kmtricks's matrices (support kmer/hash matrices).

USAGE
  kmtricks combine --fof <FILE> --output <FILE> [-t/--threads <INT>] [-v/--verbose <STR>] [--cpr] [-h/--help] 
                   [--version] 

OPTIONS
  [global]
     --fof    - input fof, one kmtricks run per line. 
     --output - output directory. 
     --cpr    - compress output. [⚑]

  [common]
    -t --threads - number of threads. {12}
    -h --help    - show this message and exit. [⚑]
       --version - show version and exit. [⚑]
    -v --verbose - verbosity level [debug|info|warning|error]. {info}

Example

kmtricks pipeline --file fof1.txt --run-dir matrix1
kmtricks pipeline --file fof2.txt --run-dir matrix2 --repart-from matrix1
kmtricks pipeline --file fof3.txt --run-dir matrix3 --repart-from matrix1


kmtricks combine --fof fof.txt --output matrix123

With fof.txt:

matrix1
matrix2
matrix3